org.dom4j.tree
public class DefaultNamespace extends Namespace
DefaultNamespace implements a doubly linked node which
supports the parent relationship and is mutable. It is useful when returning
results from XPath expressions.
Version: $Revision: 1.16 $
| Constructor Summary | |
|---|---|
| DefaultNamespace(String prefix, String uri)
DOCUMENT ME!
| |
| DefaultNamespace(Element parent, String prefix, String uri)
DOCUMENT ME!
| |
| Method Summary | |
|---|---|
| protected int | createHashCode()
DOCUMENT ME!
|
| boolean | equals(Object object)
Implements an identity based comparsion using the parent element as well
as the prefix and URI
|
| Element | getParent() |
| int | hashCode() |
| boolean | isReadOnly() |
| void | setParent(Element parent) |
| boolean | supportsParent() |
Parameters: prefix is the prefix for this namespace uri is the URI for this namespace
Parameters: parent is the parent element prefix is the prefix for this namespace uri is the URI for this namespace
Returns: the hash code based on the qualified name and the URI of the namespace and the hashCode() of the parent element.
Parameters: object DOCUMENT ME!
Returns: DOCUMENT ME!