public class ODataJsonInstanceAnnotationSerializer extends Object
| Constructor and Description |
|---|
ODataJsonInstanceAnnotationSerializer(ContentType contentType,
IConstants constants) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeInstanceAnnotationsOnEntity(List<Annotation> annotations,
com.fasterxml.jackson.core.JsonGenerator json)
Write the instance annotation of an entity
|
void |
writeInstanceAnnotationsOnProperties(EdmProperty edmProperty,
Property property,
com.fasterxml.jackson.core.JsonGenerator json)
Write instance annotation of a property
|
protected void |
writePrimitiveValue(String name,
EdmPrimitiveType type,
Object primitiveValue,
Boolean isNullable,
Integer maxLength,
Integer precision,
Integer scale,
Boolean isUnicode,
com.fasterxml.jackson.core.JsonGenerator json) |
public ODataJsonInstanceAnnotationSerializer(ContentType contentType, IConstants constants)
public void writeInstanceAnnotationsOnEntity(List<Annotation> annotations, com.fasterxml.jackson.core.JsonGenerator json) throws IOException, SerializerException, org.apache.commons.codec.DecoderException
annotations - List of annotationsjson - JsonGeneratorIOExceptionSerializerExceptionorg.apache.commons.codec.DecoderExceptionpublic void writeInstanceAnnotationsOnProperties(EdmProperty edmProperty, Property property, com.fasterxml.jackson.core.JsonGenerator json) throws IOException, SerializerException, org.apache.commons.codec.DecoderException
edmProperty - EdmPropertyproperty - Propertyjson - JsonGeneratorIOExceptionSerializerExceptionorg.apache.commons.codec.DecoderExceptionprotected void writePrimitiveValue(String name, EdmPrimitiveType type, Object primitiveValue, Boolean isNullable, Integer maxLength, Integer precision, Integer scale, Boolean isUnicode, com.fasterxml.jackson.core.JsonGenerator json) throws EdmPrimitiveTypeException, IOException
EdmPrimitiveTypeExceptionIOExceptionCopyright © 2023. All rights reserved.