public class XmlPropertyDeserializer extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
FALSE |
protected static String |
TRUE |
Constructor and Description |
---|
XmlPropertyDeserializer() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
readCollection(XMLStreamReader reader,
org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo info,
DeserializerProperties properties)
Deserializes a collection of entities
|
Map<String,Object> |
readProperty(XMLStreamReader reader,
EdmProperty property,
DeserializerProperties readProperties)
Read property of every entry in a payload
|
Map<String,Object> |
readProperty(XMLStreamReader reader,
org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo,
DeserializerProperties readProperties)
Read property of every entry in a payload
|
protected Object |
readStartedElement(XMLStreamReader reader,
String name,
org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo,
org.apache.olingo.odata2.core.ep.aggregator.EntityTypeMapping typeMappings,
DeserializerProperties readProperties) |
protected static final String TRUE
protected static final String FALSE
public Map<String,Object> readProperty(XMLStreamReader reader, EdmProperty property, DeserializerProperties readProperties) throws EntityProviderException
reader
- property
- readProperties
- EntityProviderException
public Map<String,Object> readProperty(XMLStreamReader reader, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo, DeserializerProperties readProperties) throws EntityProviderException
reader
- propertyInfo
- readProperties
- EntityProviderException
public List<Object> readCollection(XMLStreamReader reader, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo info, DeserializerProperties properties) throws EntityProviderException
reader
- info
- properties
- EntityProviderException
protected Object readStartedElement(XMLStreamReader reader, String name, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo, org.apache.olingo.odata2.core.ep.aggregator.EntityTypeMapping typeMappings, DeserializerProperties readProperties) throws EntityProviderException, EdmException
EntityProviderException
EdmException
Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.