Class JsonPropertyEntityProducer
- java.lang.Object
-
- org.apache.olingo.odata2.core.ep.producer.JsonPropertyEntityProducer
-
public class JsonPropertyEntityProducer extends Object
Producer for writing a single simple or complex property in JSON, also usable for function imports returning a single instance of a simple or complex type.
-
-
Constructor Summary
Constructors Constructor Description JsonPropertyEntityProducer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(Writer writer, EntityPropertyInfo propertyInfo, Object value)protected static voidappendPropertyMetadata(JsonStreamWriter jsonStreamWriter, EdmType type)protected static voidappendPropertyValue(JsonStreamWriter jsonStreamWriter, EntityPropertyInfo propertyInfo, Object value, boolean validatingFacets, boolean isDataBasedPropertySerialization)
-
-
-
Method Detail
-
append
public void append(Writer writer, EntityPropertyInfo propertyInfo, Object value) throws EntityProviderException
- Throws:
EntityProviderException
-
appendPropertyValue
protected static void appendPropertyValue(JsonStreamWriter jsonStreamWriter, EntityPropertyInfo propertyInfo, Object value, boolean validatingFacets, boolean isDataBasedPropertySerialization) throws IOException, EdmException, EntityProviderException
-
appendPropertyMetadata
protected static void appendPropertyMetadata(JsonStreamWriter jsonStreamWriter, EdmType type) throws IOException, EdmException
- Throws:
IOExceptionEdmException
-
-