Class XmlEntityConsumer
java.lang.Object
org.apache.olingo.odata2.core.ep.consumer.XmlEntityConsumer
Xml entity (content type dependent) consumer for reading input (from
content).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadCollection(EntityPropertyInfo info, InputStream content, EntityProviderReadProperties properties) readEntry(EdmEntitySet entitySet, InputStream content, EntityProviderReadProperties properties) readFeed(EdmEntitySet entitySet, InputStream content, EntityProviderReadProperties properties) readLink(EdmEntitySet entitySet, Object content) readLinks(EdmEntitySet entitySet, Object content) readProperty(EdmProperty edmProperty, InputStream content, EntityProviderReadProperties properties) readProperty(EntityPropertyInfo propertyInfo, InputStream content, EntityProviderReadProperties readProperties) readPropertyValue(EdmProperty edmProperty, InputStream content) readPropertyValue(EdmProperty edmProperty, InputStream content, Class<?> typeMapping)
-
Constructor Details
-
XmlEntityConsumer
- Throws:
EntityProviderException
-
-
Method Details
-
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
- Throws:
EntityProviderException
-
readLinks
public List<String> readLinks(EdmEntitySet entitySet, Object content) throws EntityProviderException - Throws:
EntityProviderException
-