public class EdmAssistedJsonSerializer extends Object implements EdmAssistedSerializer
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isIEEE754Compatible |
protected boolean |
isODataMetadataFull |
protected boolean |
isODataMetadataNone |
| Constructor and Description |
|---|
EdmAssistedJsonSerializer(ContentType contentType) |
EdmAssistedJsonSerializer(ContentType contentType,
IConstants constants) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doSerialize(EdmEntityType entityType,
AbstractEntityCollection entityCollection,
String contextURLString,
String metadataETag,
com.fasterxml.jackson.core.JsonGenerator json) |
protected void |
doSerialize(EdmEntityType entityType,
Entity entity,
String contextURLString,
String metadataETag,
com.fasterxml.jackson.core.JsonGenerator json) |
SerializerResult |
entity(ServiceMetadata metadata,
EdmEntityType entityType,
Entity entity,
EdmAssistedSerializerOptions options) |
SerializerResult |
entityCollection(ServiceMetadata metadata,
EdmEntityType entityType,
AbstractEntityCollection entityCollection,
EdmAssistedSerializerOptions options)
Writes entity-collection data into an InputStream.
|
protected void |
primitiveValue(com.fasterxml.jackson.core.JsonGenerator json,
EdmPrimitiveType valueType,
String typeName,
EdmProperty edmProperty,
Object value) |
protected SerializerResult |
serialize(ServiceMetadata metadata,
EdmEntityType entityType,
AbstractODataObject obj,
ContextURL contextURL) |
protected void |
valuable(com.fasterxml.jackson.core.JsonGenerator json,
Valuable valuable,
String name,
EdmType type,
EdmProperty edmProperty) |
protected final boolean isIEEE754Compatible
protected final boolean isODataMetadataNone
protected final boolean isODataMetadataFull
public EdmAssistedJsonSerializer(ContentType contentType)
public EdmAssistedJsonSerializer(ContentType contentType, IConstants constants)
public SerializerResult entityCollection(ServiceMetadata metadata, EdmEntityType entityType, AbstractEntityCollection entityCollection, EdmAssistedSerializerOptions options) throws SerializerException
EdmAssistedSerializerentityCollection in interface EdmAssistedSerializermetadata - metadata for the serviceentityType - the EdmEntityType or null if not availableentityCollection - the data of the entity collectionoptions - options for the serializerSerializerExceptionpublic SerializerResult entity(ServiceMetadata metadata, EdmEntityType entityType, Entity entity, EdmAssistedSerializerOptions options) throws SerializerException
SerializerExceptionprotected SerializerResult serialize(ServiceMetadata metadata, EdmEntityType entityType, AbstractODataObject obj, ContextURL contextURL) throws SerializerException
SerializerExceptionprotected void doSerialize(EdmEntityType entityType, AbstractEntityCollection entityCollection, String contextURLString, String metadataETag, com.fasterxml.jackson.core.JsonGenerator json) throws IOException, SerializerException
IOExceptionSerializerExceptionprotected void doSerialize(EdmEntityType entityType, Entity entity, String contextURLString, String metadataETag, com.fasterxml.jackson.core.JsonGenerator json) throws IOException, SerializerException
IOExceptionSerializerExceptionprotected void primitiveValue(com.fasterxml.jackson.core.JsonGenerator json,
EdmPrimitiveType valueType,
String typeName,
EdmProperty edmProperty,
Object value)
throws IOException,
SerializerException
IOExceptionSerializerExceptionprotected void valuable(com.fasterxml.jackson.core.JsonGenerator json,
Valuable valuable,
String name,
EdmType type,
EdmProperty edmProperty)
throws IOException,
SerializerException
IOExceptionSerializerExceptionCopyright © 2023. All rights reserved.