Class JsonFeedEntitySerializer
- java.lang.Object
-
- org.apache.olingo.odata2.client.core.ep.serializer.JsonFeedEntitySerializer
-
public class JsonFeedEntitySerializer extends Object
Producer for writing an entity collection (a feed) in JSON.
-
-
Constructor Summary
Constructors Constructor Description JsonFeedEntitySerializer(EntityCollectionSerializerProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendAsArray(Writer writer, EntityInfoAggregator entityInfo, EntityCollection data)This serializes the json payload feedvoidappendAsObject(Writer writer, EntityInfoAggregator entityInfo, EntityCollection data)This serializes the json payload feed
-
-
-
Constructor Detail
-
JsonFeedEntitySerializer
public JsonFeedEntitySerializer(EntityCollectionSerializerProperties properties)
- Parameters:
properties- EntityCollectionSerializerProperties
-
-
Method Detail
-
appendAsArray
public void appendAsArray(Writer writer, EntityInfoAggregator entityInfo, EntityCollection data) throws org.apache.olingo.odata2.api.ep.EntityProviderException
This serializes the json payload feed- Parameters:
writer- WriterentityInfo- EntityInfoAggregatordata- EntityCollection- Throws:
org.apache.olingo.odata2.api.ep.EntityProviderException- Caso ocorra exceção
-
appendAsObject
public void appendAsObject(Writer writer, EntityInfoAggregator entityInfo, EntityCollection data) throws org.apache.olingo.odata2.api.ep.EntityProviderException
This serializes the json payload feed- Parameters:
writer- WriterentityInfo- EntityInfoAggregatordata- EntityCollection- Throws:
org.apache.olingo.odata2.api.ep.EntityProviderException- Caso ocorra exceção
-
-