|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.bind.v2.runtime.Name
public final class Name
The internal representation of an XML name.
This class keeps indicies for URI and local name for enabling faster processing.
Names are ordered lexicographically (nsUri first, local name next.)
This is the same order required by canonical XML.
| Field Summary | |
|---|---|
boolean |
isAttribute
Specifies if the Name is associated with an EII or AII |
String |
localName
Local name. |
short |
localNameIndex
|
String |
nsUri
Namespace URI. |
short |
nsUriIndex
Index -1 is reserved for representing the empty namespace URI of attributes. |
short |
qNameIndex
Index of the Name for an EII or AII |
| Method Summary | |
|---|---|
int |
compareTo(Name that)
|
boolean |
equals(String nsUri,
String localName)
|
QName |
toQName()
Creates a QName from this. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String nsUri
public final String localName
public final short nsUriIndex
public final short localNameIndex
public final short qNameIndex
public final boolean isAttribute
| Method Detail |
|---|
public String toString()
toString in class Objectpublic QName toQName()
QName from this.
public boolean equals(String nsUri,
String localName)
public int compareTo(Name that)
compareTo in interface Comparable<Name>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||