Class PrimitiveSerializerOptions

java.lang.Object
org.apache.olingo.server.api.serializer.PrimitiveSerializerOptions

public final class PrimitiveSerializerOptions extends Object
Options for the OData serializer.
  • Method Details

    • getContextURL

      public ContextURL getContextURL()
      Gets the ContextURL.
    • isNullable

      public Boolean isNullable()
      Gets the nullable facet.
    • getMaxLength

      public Integer getMaxLength()
      Gets the maxLength facet.
    • getPrecision

      public Integer getPrecision()
      Gets the precision facet.
    • getScale

      public Integer getScale()
      Gets the scale facet.
    • isUnicode

      public Boolean isUnicode()
      Gets the unicode facet.
    • xml10InvalidCharReplacement

      public String xml10InvalidCharReplacement()
      Gets the replacement string for unicode characters, that is not allowed in XML 1.0
    • with

      public static PrimitiveSerializerOptions.Builder with()
      Initializes the options builder.