com.altova.xml.meta.Attribute
This class enables you to access schema information about classes generated from attributes. Note that this class is not meant to provide dynamic information about particular instances of an attribute in an XML document. Instead, it enables you to obtain programmatically information about a particular attribute defined in the XML schema.
Methods
Name | Description | |
---|---|---|
SimpleType getDataType() | Returns the type of the attribute content. | |
String getLocalName() | Returns the local name of the attribute. | |
String getNamespaceURI() | Returns the namespace URI of the attribute. | |
boolean isRequired() | Returns true if the attribute is required. |