Class PrimitiveSerializerOptions.Builder
java.lang.Object
org.apache.olingo.server.api.serializer.PrimitiveSerializerOptions.Builder
- Enclosing class:
- PrimitiveSerializerOptions
Builder of OData serializer options.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the OData serializer options.contextURL
(ContextURL contextURL) Sets theContextURL
.facetsFrom
(EdmProperty property) Sets all facets from an EDM property.Sets the maxLength facet.Sets the nullable facet.Sets the precision facet.Sets the scale facet.Sets the unicode facet.xml10InvalidCharReplacement
(String replacement) set the replacement string for xml 1.0 unicode controlled characters that are not allowed
-
Method Details
-
contextURL
Sets theContextURL
. -
nullable
Sets the nullable facet. -
maxLength
Sets the maxLength facet. -
precision
Sets the precision facet. -
scale
Sets the scale facet. -
unicode
Sets the unicode facet. -
facetsFrom
Sets all facets from an EDM property. -
xml10InvalidCharReplacement
set the replacement string for xml 1.0 unicode controlled characters that are not allowed -
build
Builds the OData serializer options.
-