Package com.ctc.wstx.sw
Class SimpleOutputElement.AttrName
java.lang.Object
com.ctc.wstx.sw.SimpleOutputElement.AttrName
- All Implemented Interfaces:
Comparable<SimpleOutputElement.AttrName>
- Enclosing class:
SimpleOutputElement
static final class SimpleOutputElement.AttrName
extends Object
implements Comparable<SimpleOutputElement.AttrName>
Simple key class used to represent two-piece (attribute) names;
first part being optional (URI), and second non-optional (local name).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mNsURI
-
mLocalName
-
mHashCode
final int mHashCodeLet's cache the hash code, since although hash calculation is fast, hash code is needed a lot as this is always used as a HashSet/TreeMap key.
-
-
Constructor Details
-
AttrName
-
-
Method Details
-
equals
-
toString
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<SimpleOutputElement.AttrName>
-