org.dom4j
Class QName
- Serializable
public class QName
extends java.lang.Object
implements 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.
QName
public QName(String name)
QName
public QName(String name,
Namespace namespace)
QName
public QName(String name,
Namespace namespace,
String qualifiedName)
equals
public boolean equals(Object object)
get
public static QName get(String name)
get
public static QName get(String qualifiedName,
String uri)
get
public static QName get(String name,
String prefix,
String uri)
get
public static QName get(String localName,
Namespace namespace,
String qualifiedName)
getDocumentFactory
public DocumentFactory getDocumentFactory()
DOCUMENT ME!
- the factory that should be used for Elements of this QName
getName
public String getName()
DOCUMENT ME!
getNamespace
public Namespace getNamespace()
DOCUMENT ME!
- the namespace of this QName
getNamespacePrefix
public String getNamespacePrefix()
DOCUMENT ME!
- the namespace URI of this QName
getNamespaceURI
public String getNamespaceURI()
DOCUMENT ME!
- the namespace URI of this QName
getQualifiedName
public String getQualifiedName()
DOCUMENT ME!
- the qualified name in the format
prefix:localName
hashCode
public int hashCode()
DOCUMENT ME!
- the hash code based on the qualified name and the URI of the
namespace.
setDocumentFactory
public void setDocumentFactory(DocumentFactory documentFactory)
toString
public String toString()
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by 