org.dom4j
public class QName extends Object implements Serializable
QName represents a qualified name value of an XML element or
attribute. It consists of a local name and a Namespaceinstance. This
object is immutable.
| Constructor Summary | |
|---|---|
| QName(String name) | |
| QName(String name, Namespace namespace) | |
| QName(String name, Namespace namespace, String qualifiedName) | |
| Method Summary | |
|---|---|
| boolean | equals(Object object) |
| static QName | get(String name) |
| static QName | get(String name, Namespace namespace) |
| static QName | get(String name, String prefix, String uri) |
| static QName | get(String qualifiedName, String uri) |
| static QName | get(String localName, Namespace namespace, String qualifiedName) |
| DocumentFactory | getDocumentFactory()
DOCUMENT ME!
|
| String | getName()
DOCUMENT ME!
|
| Namespace | getNamespace()
DOCUMENT ME!
|
| String | getNamespacePrefix()
DOCUMENT ME!
|
| String | getNamespaceURI()
DOCUMENT ME!
|
| String | getQualifiedName()
DOCUMENT ME!
|
| int | hashCode()
DOCUMENT ME!
|
| void | setDocumentFactory(DocumentFactory documentFactory) |
| String | toString() |
Returns: the factory that should be used for Elements of this QName
Returns: the local name
Returns: the namespace of this QName
Returns: the namespace URI of this QName
Returns: the namespace URI of this QName
Returns: the qualified name in the format prefix:localName
Returns: the hash code based on the qualified name and the URI of the namespace.