Package com.sun.xml.bind.v2.runtime
Class Name
java.lang.Object
com.sun.xml.bind.v2.runtime.Name
- All Implemented Interfaces:
Comparable<Name>
The internal representation of an XML name.
This class keeps indicies for URI and local name for enabling faster processing.
Name
s are ordered lexicographically (nsUri first, local name next.)
This is the same order required by canonical XML.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
Specifies if the Name is associated with an EII or AIIfinal String
Local name.final short
final String
Namespace URI.final short
Index -1 is reserved for representing the empty namespace URI of attributes.final short
Index of the Name for an EII or AII -
Method Summary
-
Field Details
-
nsUri
Namespace URI. interned. -
localName
Local name. interned. -
nsUriIndex
public final short nsUriIndexIndex -1 is reserved for representing the empty namespace URI of attributes. -
localNameIndex
public final short localNameIndex -
qNameIndex
public final short qNameIndexIndex of the Name for an EII or AII -
isAttribute
public final boolean isAttributeSpecifies if the Name is associated with an EII or AII
-
-
Method Details