org.dom4j
Interface QName

All Known Implementing Classes:
DefaultQName, DefaultQName

public interface QName

$Id: $


Method Summary
 boolean equals(java.lang.Object object)
           
 DocumentFactory getDocumentFactory()
          Deprecated. Use getNodeFactory() instead
 java.lang.String getName()
           
 Namespace getNamespace()
           
 java.lang.String getNamespacePrefix()
           
 java.lang.String getNamespaceURI()
           
 NodeFactory getNodeFactory()
           
 java.lang.String getQualifiedName()
           
 int hashCode()
           
 void setDocumentFactory(DocumentFactory documentFactory)
          Deprecated. Use setNodeFactory(NodeFactory) instead
 void setNodeFactory(NodeFactory nodeFactory)
           
 java.lang.String toString()
           
 

Method Detail

getName

public java.lang.String getName()
Returns:
the local name

getQualifiedName

public java.lang.String getQualifiedName()
Returns:
the qualified name in the format prefix:localName

getNamespace

public Namespace getNamespace()
Returns:
the namespace of this QName

getNamespacePrefix

public java.lang.String getNamespacePrefix()
Returns:
the namespace URI of this QName

getNamespaceURI

public java.lang.String getNamespaceURI()
Returns:
the namespace URI of this QName

hashCode

public int hashCode()
Returns:
the hash code based on the qualified name and the URI of the namespace.

equals

public boolean equals(java.lang.Object object)

toString

public java.lang.String toString()

getDocumentFactory

public DocumentFactory getDocumentFactory()
Deprecated. Use getNodeFactory() instead

Returns:
the factory that should be used for Elements of this QName

getNodeFactory

public NodeFactory getNodeFactory()

setDocumentFactory

public void setDocumentFactory(DocumentFactory documentFactory)
Deprecated. Use setNodeFactory(NodeFactory) instead


setNodeFactory

public void setNodeFactory(NodeFactory nodeFactory)


Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.