public class XmlPropertyEntityProducer extends Object
EntityPropertyInfo.| Constructor and Description |
|---|
XmlPropertyEntityProducer(boolean includeSimplePropertyType,
boolean validateFacets) |
XmlPropertyEntityProducer(EntityProviderWriteProperties writeProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(XMLStreamWriter writer,
EntityPropertyInfo propertyInfo,
Object value)
Append
Object value based on EntityPropertyInfo to XMLStreamWriter as a
stand-alone XML structure, including writing of default namespace declarations. |
void |
append(XMLStreamWriter writer,
String name,
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,
EntityPropertyInfo propertyInfo,
Object value) |
public XmlPropertyEntityProducer(EntityProviderWriteProperties writeProperties)
public XmlPropertyEntityProducer(boolean includeSimplePropertyType,
boolean validateFacets)
public void append(XMLStreamWriter writer, String name, 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, EntityPropertyInfo propertyInfo, Object value) throws EntityProviderException
EntityProviderExceptionpublic void append(XMLStreamWriter writer, EntityPropertyInfo propertyInfo, Object value) throws EntityProviderException
Object value based on EntityPropertyInfo to XMLStreamWriter as a
stand-alone XML structure, including writing of default namespace declarations.
The name of the outermost XML element comes from the EntityPropertyInfo.writer - propertyInfo - value - EntityProviderExceptionCopyright © 2020. All rights reserved.