Class JsonLinkEntityProducer
- java.lang.Object
-
- org.apache.olingo.odata2.core.ep.producer.JsonLinkEntityProducer
-
public class JsonLinkEntityProducer extends Object
Producer for writing a link in JSON.
-
-
Constructor Summary
Constructors Constructor Description JsonLinkEntityProducer(EntityProviderWriteProperties properties)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(Writer writer, EntityInfoAggregator entityInfo, Map<String,Object> data)protected static voidappendUri(JsonStreamWriter jsonStreamWriter, String uri)
-
-
-
Constructor Detail
-
JsonLinkEntityProducer
public JsonLinkEntityProducer(EntityProviderWriteProperties properties) throws EntityProviderException
- Throws:
EntityProviderException
-
-
Method Detail
-
append
public void append(Writer writer, EntityInfoAggregator entityInfo, Map<String,Object> data) throws EntityProviderException
- Throws:
EntityProviderException
-
appendUri
protected static void appendUri(JsonStreamWriter jsonStreamWriter, String uri) throws IOException
- Throws:
IOException
-
-