org.jaxen.dom4j
public class DocumentNavigator extends DefaultNavigator implements NamedAccessNavigator
This class is not intended for direct usage, but is used by the Jaxen engine during evaluation.
Nested Class Summary | |
---|---|
static class | DocumentNavigator.Singleton Singleton implementation. |
Field Summary | |
---|---|
SAXReader | reader |
static long | serialVersionUID |
Method Summary | |
---|---|
Iterator | getAttributeAxisIterator(Object contextNode) |
Iterator | getAttributeAxisIterator(Object contextNode, String localName, String namespacePrefix, String namespaceURI)
Retrieves an Iterator over the attribute elements that
match the supplied name.
|
String | getAttributeName(Object obj) |
String | getAttributeNamespaceUri(Object obj) |
String | getAttributeQName(Object obj) |
String | getAttributeStringValue(Object obj) |
Iterator | getChildAxisIterator(Object contextNode) |
Iterator | getChildAxisIterator(Object contextNode, String localName, String namespacePrefix, String namespaceURI)
Retrieves an Iterator over the child elements that
match the supplied name.
|
String | getCommentStringValue(Object obj) |
Object | getDocument(String uri) |
Object | getDocumentNode(Object contextNode) |
String | getElementName(Object obj) |
String | getElementNamespaceUri(Object obj) |
String | getElementQName(Object obj) |
String | getElementStringValue(Object obj) |
static Navigator | getInstance() Retrieve the singleton instance of this DocumentNavigator . |
Iterator | getNamespaceAxisIterator(Object contextNode) |
String | getNamespacePrefix(Object obj) |
String | getNamespaceStringValue(Object obj) |
String | getNodeStringValue(Node node) |
short | getNodeType(Object node) |
Iterator | getParentAxisIterator(Object contextNode) |
Object | getParentNode(Object contextNode) |
String | getProcessingInstructionData(Object obj) |
String | getProcessingInstructionTarget(Object obj) |
SAXReader | getSAXReader() |
String | getTextStringValue(Object obj) |
boolean | isAttribute(Object obj) |
boolean | isComment(Object obj) |
boolean | isDocument(Object obj) |
boolean | isElement(Object obj) |
boolean | isNamespace(Object obj) |
boolean | isProcessingInstruction(Object obj) |
boolean | isText(Object obj) |
XPath | parseXPath(String xpath) Returns a parsed form of the given XPath string, which will be suitable
for queries on DOM4J documents. |
void | setSAXReader(SAXReader reader) |
String | translateNamespacePrefixToUri(String prefix, Object context) |
Iterator
over the attribute elements that
match the supplied name.
Parameters: contextNode the origin context node localName the local name of the attributes to return, always present namespacePrefix the prefix of the namespace of the attributes to return namespaceURI the URI of the namespace of the attributes to return
Returns: an Iterator that traverses the named attributes, not null
Iterator
over the child elements that
match the supplied name.
Parameters: contextNode the origin context node localName the local name of the children to return, always present namespacePrefix the prefix of the namespace of the children to return namespaceURI the uri of the namespace of the children to return
Returns: an Iterator that traverses the named children, or null if none
DocumentNavigator
.