Class XmlEntityConsumer
- java.lang.Object
-
- org.apache.olingo.odata2.core.ep.consumer.XmlEntityConsumer
-
public class XmlEntityConsumer extends Object
Xml entity (content type dependent) consumer for reading input (fromcontent).
-
-
Constructor Summary
Constructors Constructor Description XmlEntityConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectreadCollection(EntityPropertyInfo info, InputStream content, EntityProviderReadProperties properties)ODataEntryreadEntry(EdmEntitySet entitySet, InputStream content, EntityProviderReadProperties properties)ODataDeltaFeedreadFeed(EdmEntitySet entitySet, InputStream content, EntityProviderReadProperties properties)StringreadLink(EdmEntitySet entitySet, Object content)List<String>readLinks(EdmEntitySet entitySet, Object content)Map<String,Object>readProperty(EdmProperty edmProperty, InputStream content, EntityProviderReadProperties properties)Map<String,Object>readProperty(EntityPropertyInfo propertyInfo, InputStream content, EntityProviderReadProperties readProperties)ObjectreadPropertyValue(EdmProperty edmProperty, InputStream content)ObjectreadPropertyValue(EdmProperty edmProperty, InputStream content, Class<?> typeMapping)
-
-
-
Constructor Detail
-
XmlEntityConsumer
public XmlEntityConsumer() throws EntityProviderException- Throws:
EntityProviderException
-
-
Method Detail
-
readFeed
public ODataDeltaFeed readFeed(EdmEntitySet entitySet, InputStream content, EntityProviderReadProperties properties) throws EntityProviderException
- Throws:
EntityProviderException
-
readEntry
public ODataEntry readEntry(EdmEntitySet entitySet, InputStream content, EntityProviderReadProperties properties) throws EntityProviderException
- Throws:
EntityProviderException
-
readProperty
public Map<String,Object> readProperty(EdmProperty edmProperty, InputStream content, EntityProviderReadProperties properties) throws EntityProviderException
- Throws:
EntityProviderException
-
readProperty
public Map<String,Object> readProperty(EntityPropertyInfo propertyInfo, InputStream content, EntityProviderReadProperties readProperties) throws EntityProviderException
- Throws:
EntityProviderException
-
readPropertyValue
public Object readPropertyValue(EdmProperty edmProperty, InputStream content) throws EntityProviderException
- Throws:
EntityProviderException
-
readPropertyValue
public Object readPropertyValue(EdmProperty edmProperty, InputStream content, Class<?> typeMapping) throws EntityProviderException
- Throws:
EntityProviderException
-
readCollection
public Object readCollection(EntityPropertyInfo info, InputStream content, EntityProviderReadProperties properties) throws EntityProviderException
- Throws:
EntityProviderException
-
readLink
public String readLink(EdmEntitySet entitySet, Object content) throws EntityProviderException
- Throws:
EntityProviderException
-
readLinks
public List<String> readLinks(EdmEntitySet entitySet, Object content) throws EntityProviderException
- Throws:
EntityProviderException
-
-