Class JsonEntryEntityProducer
- java.lang.Object
-
- org.apache.olingo.odata2.core.ep.producer.JsonEntryEntityProducer
-
public class JsonEntryEntityProducer extends Object
Producer for writing an entity in JSON, also usable for function imports returning a single instance of an entity type.
-
-
Constructor Summary
Constructors Constructor Description JsonEntryEntityProducer(EntityProviderWriteProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(Writer writer, EntityInfoAggregator entityInfo, Map<String,Object> data, boolean isRootElement)StringgetETag()StringgetLocation()
-
-
-
Constructor Detail
-
JsonEntryEntityProducer
public JsonEntryEntityProducer(EntityProviderWriteProperties properties) throws EntityProviderException
- Throws:
EntityProviderException
-
-
Method Detail
-
append
public void append(Writer writer, EntityInfoAggregator entityInfo, Map<String,Object> data, boolean isRootElement) throws EntityProviderException
- Throws:
EntityProviderException
-
getETag
public String getETag()
-
getLocation
public String getLocation()
-
-