Class EntityCollectionSerializerOptions
java.lang.Object
org.apache.olingo.server.api.serializer.EntityCollectionSerializerOptions
Options for the OData serializer.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builder of OData serializer options. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theContextURL
.getCount()
Gets the $count system query option.Gets the $expand system query option.getId()
Gets the id of the entity collectionGets the callback which is used in case of an exception during write of the content (in case the content will be written/streamed in the future)Gets the $select system query option.boolean
only writes the references of the entitiesboolean
Inline entries will not have @delta if representation is fullwith()
Initializes the options builder.Gets the replacement string for unicode characters, that is not allowed in XML 1.0
-
Constructor Details
-
EntityCollectionSerializerOptions
public EntityCollectionSerializerOptions()
-
-
Method Details
-
getContextURL
Gets theContextURL
. -
getCount
Gets the $count system query option. -
getExpand
Gets the $expand system query option. -
getSelect
Gets the $select system query option. -
getWriteOnlyReferences
public boolean getWriteOnlyReferences()only writes the references of the entities -
getId
Gets the id of the entity collection -
getODataContentWriteErrorCallback
Gets the callback which is used in case of an exception during write of the content (in case the content will be written/streamed in the future)- Returns:
- callback which is used in case of an exception during write of the content
-
xml10InvalidCharReplacement
Gets the replacement string for unicode characters, that is not allowed in XML 1.0 -
isFullRepresentation
public boolean isFullRepresentation()Inline entries will not have @delta if representation is full -
with
Initializes the options builder.
-