public class XmlPropertyEntitySerializer extends Object
EntityPropertyInfo.| Constructor and Description |
|---|
XmlPropertyEntitySerializer(boolean validateFacets) |
XmlPropertyEntitySerializer(EntitySerializerProperties writeProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(XMLStreamWriter writer,
String name,
org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo,
Object value)
Append
Object value based on EntityPropertyInfo to XMLStreamWriter in an
already existing XML structure inside the d namespace. |
void |
appendCustomProperty(XMLStreamWriter writer,
String name,
org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo,
Object value)
Serializes custom properties
|
public XmlPropertyEntitySerializer(EntitySerializerProperties writeProperties)
writeProperties - public XmlPropertyEntitySerializer(boolean validateFacets)
validateFacets - public void append(XMLStreamWriter writer, String name, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo, Object value) throws EntityProviderException
Object value based on EntityPropertyInfo to XMLStreamWriter in an
already existing XML structure inside the d namespace.writer - name - Name of the outer XML tagpropertyInfo - value - EntityProviderExceptionpublic void appendCustomProperty(XMLStreamWriter writer, String name, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo, Object value) throws EntityProviderException
writer - name - propertyInfo - value - EntityProviderExceptionCopyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.