org.dom4j.tree
public abstract class AbstractNode extends Object implements Node, Cloneable, Serializable
AbstractNode
is an abstract base class for tree implementors
to use for implementation inheritence.
Version: $Revision: 1.31 $
Field Summary | |
---|---|
protected static String[] | NODE_TYPE_NAMES |
Constructor Summary | |
---|---|
AbstractNode() |
Method Summary | |
---|---|
Node | asXPathResult(Element parent) |
Object | clone() |
Pattern | createPattern(String patternText) |
XPath | createXPath(String xpathExpression) |
NodeFilter | createXPathFilter(String patternText) |
protected Node | createXPathResult(Element parent) |
Node | detach() |
Document | getDocument() |
protected DocumentFactory | getDocumentFactory() |
String | getName() |
short | getNodeType() |
String | getNodeTypeName() |
Element | getParent() |
String | getPath() |
String | getStringValue() |
String | getText() |
String | getUniquePath() |
boolean | hasContent() |
boolean | isReadOnly() |
boolean | matches(String patternText) |
Number | numberValueOf(String xpathExpression) |
List | selectNodes(String xpathExpression) |
List | selectNodes(String xpathExpression, String comparisonXPathExpression) |
List | selectNodes(String xpathExpression, String comparisonXPathExpression, boolean removeDuplicates) |
Object | selectObject(String xpathExpression) |
Node | selectSingleNode(String xpathExpression) |
void | setDocument(Document document) |
void | setName(String name) |
void | setParent(Element parent) |
void | setText(String text) |
boolean | supportsParent() |
String | valueOf(String xpathExpression) |
void | write(Writer writer) |