Comparable<Name>
public final class Name extends Object implements Comparable<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.
Modifier and Type | Field | Description |
---|---|---|
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
|
public final String nsUri
public final String localName
public final short nsUriIndex
public final short localNameIndex
public final short qNameIndex
public final boolean isAttribute
public int compareTo(Name that)
compareTo
in interface Comparable<Name>
Copyright © 2018 Oracle Corporation. All rights reserved.