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
- EntityProviderException
public void appendCustomProperty(XMLStreamWriter writer, String name, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo, Object value) throws EntityProviderException
writer
- name
- propertyInfo
- value
- EntityProviderException
Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.