Class JsonPropertyEntityProducer
java.lang.Object
org.apache.olingo.odata2.core.ep.producer.JsonPropertyEntityProducer
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(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)
-
Constructor Details
-
JsonPropertyEntityProducer
public JsonPropertyEntityProducer()
-
-
Method Details
-
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
-