java.lang.Object | |
↳ | org.apache.xerces.xni.QName |
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
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
localpart | The qname localpart. | ||||||||||
prefix | The qname prefix. | ||||||||||
rawname | The qname rawname. | ||||||||||
uri | The URI to which the qname prefix is bound. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
| |||||||||||
Constructs a QName with the specified values.
| |||||||||||
Constructs a copy of the specified QName.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clears the values of the qname components.
| |||||||||||
Returns a clone of this object.
| |||||||||||
Returns true if the two objects are equal.
| |||||||||||
Returns the hashcode for this object.
| |||||||||||
Convenience method to set the values of the qname components.
| |||||||||||
Convenience method to set the values of the qname components.
| |||||||||||
Returns a string representation of this object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The qname localpart. For example, the localpart for the qname "a:foo" is "foo".
The URI to which the qname prefix is bound. This binding must be performed by a XML Namespaces aware processor.
Default constructor.
Constructs a QName with the specified values.
Clears the values of the qname components.
Returns the hashcode for this object.
Convenience method to set the values of the qname components.
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") |
Convenience method to set the values of the qname components.
qname | The qualified name to be copied. |
---|