public class DecoratedQName extends java.lang.Object implements java.lang.Comparable<DecoratedQName>, DecorableValue<javax.xml.namespace.QName>
Constructor and Description |
---|
DecoratedQName(java.lang.String text)
Creates a new DecoratedQName whose text representation will
be the value of the text parameter and will contain no value
for the QName.
|
DecoratedQName(java.lang.String text,
javax.xml.namespace.QName concept)
This is the normal constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DecoratedQName o)
Compare to.
|
boolean |
equals(DecorableValue<?> other)
Equals.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
javax.xml.namespace.QName |
getQname()
Access to the qname value.
|
java.lang.String |
getText()
Gets the text.
|
javax.xml.namespace.QName |
getValue()
Gets the value.
|
int |
hashCode()
Hash code.
|
java.lang.String |
toString()
To string.
|
public DecoratedQName(java.lang.String text)
text
- the textpublic DecoratedQName(java.lang.String text, javax.xml.namespace.QName concept)
text
- the textconcept
- the conceptpublic javax.xml.namespace.QName getQname()
public java.lang.String getText()
getText
in interface DecorableValue<javax.xml.namespace.QName>
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic int compareTo(DecoratedQName o)
compareTo
in interface java.lang.Comparable<DecoratedQName>
o
- the opublic javax.xml.namespace.QName getValue()
getValue
in interface DecorableValue<javax.xml.namespace.QName>
public boolean equals(DecorableValue<?> other)
equals
in interface DecorableValue<javax.xml.namespace.QName>
other
- the otherCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa