Class XmlizationInfo
- java.lang.Object
-
- org.apache.uima.resource.metadata.impl.XmlizationInfo
-
public class XmlizationInfo extends Object
A simple class used to describe how to render this object as XML.
-
-
Field Summary
Fields Modifier and Type Field Description String
elementTagName
The tag name of the XML element that represents this object.String
namespace
The namespace of the XML element, null if none.PropertyXmlInfo[]
propertyInfo
Information about how this object's properties are represented in XML.
-
Constructor Summary
Constructors Constructor Description XmlizationInfo(String aElementTagName, String aNamespace, PropertyXmlInfo[] aPropInfo)
Creates an XmlizationInfo.XmlizationInfo(String aElementTagName, PropertyXmlInfo[] aPropInfo)
Creates an XmlizationInfo.
-
-
-
Field Detail
-
elementTagName
public String elementTagName
The tag name of the XML element that represents this object.
-
namespace
public String namespace
The namespace of the XML element, null if none.
-
propertyInfo
public PropertyXmlInfo[] propertyInfo
Information about how this object's properties are represented in XML. The order of the properties in this array defines the order in which they will be written to the XML.
-
-
Constructor Detail
-
XmlizationInfo
public XmlizationInfo(String aElementTagName, String aNamespace, PropertyXmlInfo[] aPropInfo)
Creates an XmlizationInfo.- Parameters:
aElementTagName
- tag name of XML element that represents this objectaNamespace
- the namespace of the XML element, null if noneaPropInfo
- information about how to represent this object's properties
-
XmlizationInfo
public XmlizationInfo(String aElementTagName, PropertyXmlInfo[] aPropInfo)
Creates an XmlizationInfo. Namespace defaults to XMLParser_impl.RESOURCE_SPECIFIER_NAMESPACE.- Parameters:
aElementTagName
- tag name of XML element that represents this objectaPropInfo
- information about how to represent this object's properties
-
-