Package com.ctc.wstx.sw
Class SimpleOutputElement.Attribute
java.lang.Object
com.ctc.wstx.sw.SimpleOutputElement.Attribute
- All Implemented Interfaces:
Comparable<SimpleOutputElement.Attribute>
- Enclosing class:
SimpleOutputElement
static final class SimpleOutputElement.Attribute
extends Object
implements Comparable<SimpleOutputElement.Attribute>
Simple key class used to represent two-piece (attribute) names;
first part being optional (URI), and second non-optional (local name).
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final intLet'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.(package private) final int(package private) final String(package private) final String(package private) final String(package private) final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mNsURI
-
mLocalName
-
mPrefix
-
mValue
-
mIndex
final int mIndex -
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
-
Attribute
-
-
Method Details
-
equals
-
toString
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<SimpleOutputElement.Attribute>
-