org.jaxen.javabean
public class DocumentNavigator extends DefaultNavigator implements NamedAccessNavigator
This class is not intended for direct usage, but is used by the Jaxen engine during evaluation.
Field Summary | |
---|---|
static Class[] | EMPTY_CLASS_ARRAY Empty Class array. |
static Object[] | EMPTY_OBJECT_ARRAY Empty Object array. |
static DocumentNavigator | instance Singleton implementation. |
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) |
short | getNodeType(Object node) |
Iterator | getParentAxisIterator(Object contextNode) |
Object | getParentNode(Object contextNode) |
String | getProcessingInstructionData(Object obj) |
String | getProcessingInstructionTarget(Object obj) |
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) |
protected String | javacase(String name) |
XPath | parseXPath(String xpath) |
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 namespace URI 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 namespace URI of the children to return
Returns: an Iterator that traverses the named children, or null if none
DocumentNavigator
.