public class JsonFeedEntitySerializer extends Object
Constructor and Description |
---|
JsonFeedEntitySerializer(EntityCollectionSerializerProperties properties) |
Modifier and Type | Method and Description |
---|---|
void |
appendAsArray(Writer writer,
org.apache.olingo.odata2.core.ep.aggregator.EntityInfoAggregator entityInfo,
EntityCollection data)
This serializes the json payload feed
|
void |
appendAsObject(Writer writer,
org.apache.olingo.odata2.core.ep.aggregator.EntityInfoAggregator entityInfo,
EntityCollection data)
This serializes the json payload feed
|
public JsonFeedEntitySerializer(EntityCollectionSerializerProperties properties)
properties
- EntityProviderException
public void appendAsArray(Writer writer, org.apache.olingo.odata2.core.ep.aggregator.EntityInfoAggregator entityInfo, EntityCollection data) throws EntityProviderException
writer
- entityInfo
- data
- EntityProviderException
public void appendAsObject(Writer writer, org.apache.olingo.odata2.core.ep.aggregator.EntityInfoAggregator entityInfo, EntityCollection data) throws EntityProviderException
writer
- entityInfo
- data
- isRootElement
- EntityProviderException
Copyright © 2013-2019 The Apache Software Foundation. All Rights Reserved.