Class QName
java.lang.Object
org.htmlunit.cyberneko.xerces.xni.QName
- All Implemented Interfaces:
Cloneable
A structure that holds the components of an XML Namespaces qualified name.
To be used correctly, the strings must be identical references for equal
strings. Within the parser, these values are considered symbols and should
always be retrieved from the SymbolTable.
- Author:
- Andy Clark, IBM
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QName
public QName()Default constructor. -
QName
-
QName
-
-
Method Details
-
getPrefix
-
setPrefix
-
getLocalpart
-
getRawname
-
setRawname
-
getUri
-
setUri
-
setValues
Convenience method to set the values of the qname components.- Parameters:
qname- The qualified name to be copied.
-
setValues
Convenience method to set the values of the qname components.- Parameters:
prefix- The qname prefix. (e.g. "a")localpart- The qname localpart. (e.g. "foo")rawname- The qname rawname. (e.g. "a:foo")uri- The URI binding. (e.g. "http://foo.com/mybinding")
-
splitQName
-
clone
-
hashCode
public int hashCode() -
equals
-
toString
-