Package org.dom4j
Class QName
java.lang.Object
org.dom4j.QName
- All Implemented Interfaces:
Serializable
QName
represents a qualified name value of an XML element or
attribute. It consists of a local name and a Namespace
instance. This
object is immutable.- Author:
- James Strachan , Filip Jirsák
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static QName
static QName
static QName
static QName
static QName
DOCUMENT ME!getName()
DOCUMENT ME!DOCUMENT ME!DOCUMENT ME!DOCUMENT ME!DOCUMENT ME!int
hashCode()
DOCUMENT ME!void
setDocumentFactory
(DocumentFactory documentFactory) toString()
protected static void
validateNCName
(String ncname)
-
Constructor Details
-
QName
-
QName
-
QName
-
-
Method Details
-
get
-
get
-
get
-
get
-
get
-
getName
DOCUMENT ME!- Returns:
- the local name
-
getQualifiedName
DOCUMENT ME!- Returns:
- the qualified name in the format
prefix:localName
-
getNamespace
DOCUMENT ME!- Returns:
- the namespace of this QName
-
getNamespacePrefix
DOCUMENT ME!- Returns:
- the namespace URI of this QName
-
getNamespaceURI
DOCUMENT ME!- Returns:
- the namespace URI of this QName
-
hashCode
public int hashCode()DOCUMENT ME! -
equals
-
toString
-
getDocumentFactory
DOCUMENT ME!- Returns:
- the factory that should be used for Elements of this QName
-
setDocumentFactory
-
validateNCName
-