org.jaxen.xom

Class DocumentNavigator

public class DocumentNavigator extends DefaultNavigator

Interface for navigating around the XOM object model.

This class is not intended for direct usage, but is used by the Jaxen engine during evaluation.

See Also:

Nested Class Summary
abstract static classDocumentNavigator.IndexIterator
static classDocumentNavigator.XPathNamespace
Wrapper for XOM namespace nodes to give them a parent, as required by the XPath data model.
Field Summary
static longserialVersionUID
Method Summary
booleanaddNamespaceForElement(Element elt, String uri, String prefix, Map map)
IteratorgetAttributeAxisIterator(Object o)
StringgetAttributeName(Object o)
StringgetAttributeNamespaceUri(Object o)
StringgetAttributeQName(Object o)
StringgetAttributeStringValue(Object o)
IteratorgetChildAxisIterator(Object o)
StringgetCommentStringValue(Object o)
ObjectgetDocument(String s)
ObjectgetDocumentNode(Object o)
StringgetElementName(Object o)
StringgetElementNamespaceUri(Object o)
StringgetElementQName(Object o)
StringgetElementStringValue(Object o)
IteratorgetNamespaceAxisIterator(Object o)
StringgetNamespacePrefix(Object o)
StringgetNamespaceStringValue(Object o)
IteratorgetParentAxisIterator(Object o)
ObjectgetParentNode(Object o)
IteratorgetPrecedingAxisIterator(Object o)
IteratorgetPrecedingSiblingAxisIterator(Object o)
StringgetProcessingInstructionData(Object o)
StringgetProcessingInstructionTarget(Object o)
StringgetTextStringValue(Object o)
booleanisAttribute(Object o)
booleanisComment(Object o)
booleanisDocument(Object o)
booleanisElement(Object o)
booleanisNamespace(Object o)
booleanisProcessingInstruction(Object o)
booleanisText(Object o)
XPathparseXPath(String s)
StringtranslateNamespacePrefixToUri(String s, Object o)

Field Detail

serialVersionUID

private static final long serialVersionUID

Method Detail

addNamespaceForElement

private boolean addNamespaceForElement(Element elt, String uri, String prefix, Map map)

getAttributeAxisIterator

public Iterator getAttributeAxisIterator(Object o)

getAttributeName

public String getAttributeName(Object o)

getAttributeNamespaceUri

public String getAttributeNamespaceUri(Object o)

getAttributeQName

public String getAttributeQName(Object o)

getAttributeStringValue

public String getAttributeStringValue(Object o)

getChildAxisIterator

public Iterator getChildAxisIterator(Object o)

getCommentStringValue

public String getCommentStringValue(Object o)

getDocument

public Object getDocument(String s)

getDocumentNode

public Object getDocumentNode(Object o)

getElementName

public String getElementName(Object o)

getElementNamespaceUri

public String getElementNamespaceUri(Object o)

getElementQName

public String getElementQName(Object o)

getElementStringValue

public String getElementStringValue(Object o)

getNamespaceAxisIterator

public Iterator getNamespaceAxisIterator(Object o)

getNamespacePrefix

public String getNamespacePrefix(Object o)

getNamespaceStringValue

public String getNamespaceStringValue(Object o)

getParentAxisIterator

public Iterator getParentAxisIterator(Object o)

getParentNode

public Object getParentNode(Object o)

getPrecedingAxisIterator

public Iterator getPrecedingAxisIterator(Object o)

getPrecedingSiblingAxisIterator

public Iterator getPrecedingSiblingAxisIterator(Object o)

getProcessingInstructionData

public String getProcessingInstructionData(Object o)

getProcessingInstructionTarget

public String getProcessingInstructionTarget(Object o)

getTextStringValue

public String getTextStringValue(Object o)

isAttribute

public boolean isAttribute(Object o)

isComment

public boolean isComment(Object o)

isDocument

public boolean isDocument(Object o)

isElement

public boolean isElement(Object o)

isNamespace

public boolean isNamespace(Object o)

isProcessingInstruction

public boolean isProcessingInstruction(Object o)

isText

public boolean isText(Object o)

parseXPath

public XPath parseXPath(String s)

translateNamespacePrefixToUri

public String translateNamespacePrefixToUri(String s, Object o)