net.sourceforge.pmd.jaxen

Class DocumentNavigator

public class DocumentNavigator extends DefaultNavigator

Author: daniels

Method Summary
Iterator<Attribute>getAttributeAxisIterator(Object arg0)
StringgetAttributeName(Object arg0)
StringgetAttributeNamespaceUri(Object arg0)
StringgetAttributeQName(Object arg0)
StringgetAttributeStringValue(Object arg0)
Iterator<Node>getChildAxisIterator(Object contextNode)
Get an iterator over all of this node's children.
StringgetCommentStringValue(Object arg0)
ObjectgetDocumentNode(Object contextNode)
StringgetElementName(Object node)
StringgetElementNamespaceUri(Object arg0)
StringgetElementQName(Object arg0)
StringgetElementStringValue(Object arg0)
Iterator<Node>getFollowingAxisIterator(Object contextNode)
Get an iterator over all following nodes, depth-first.
Iterator<Node>getFollowingSiblingAxisIterator(Object contextNode)
Get an iterator over all following siblings.
StringgetNamespacePrefix(Object arg0)
StringgetNamespaceStringValue(Object arg0)
IteratorgetParentAxisIterator(Object contextNode)
Get a (single-member) iterator over this node's parent.
ObjectgetParentNode(Object arg0)
Iterator<Node>getPrecedingAxisIterator(Object contextNode)
Get an iterator over all preceding nodes, depth-first.
Iterator<Node>getPrecedingSiblingAxisIterator(Object contextNode)
Get an iterator over all preceding siblings.
StringgetTextStringValue(Object arg0)
booleanisAttribute(Object arg0)
booleanisComment(Object arg0)
booleanisDocument(Object arg0)
booleanisElement(Object arg0)
booleanisNamespace(Object arg0)
booleanisProcessingInstruction(Object arg0)
booleanisText(Object arg0)
XPathparseXPath(String arg0)

Method Detail

getAttributeAxisIterator

public Iterator<Attribute> getAttributeAxisIterator(Object arg0)

getAttributeName

public String getAttributeName(Object arg0)

getAttributeNamespaceUri

public String getAttributeNamespaceUri(Object arg0)

getAttributeQName

public String getAttributeQName(Object arg0)

getAttributeStringValue

public String getAttributeStringValue(Object arg0)

getChildAxisIterator

public Iterator<Node> getChildAxisIterator(Object contextNode)
Get an iterator over all of this node's children.

Parameters: contextNode The context node for the child axis.

Returns: A possibly-empty iterator (not null).

getCommentStringValue

public String getCommentStringValue(Object arg0)

getDocumentNode

public Object getDocumentNode(Object contextNode)

getElementName

public String getElementName(Object node)

getElementNamespaceUri

public String getElementNamespaceUri(Object arg0)

getElementQName

public String getElementQName(Object arg0)

getElementStringValue

public String getElementStringValue(Object arg0)

getFollowingAxisIterator

public Iterator<Node> getFollowingAxisIterator(Object contextNode)
Get an iterator over all following nodes, depth-first.

Parameters: contextNode The context node for the following axis.

Returns: A possibly-empty iterator (not null).

getFollowingSiblingAxisIterator

public Iterator<Node> getFollowingSiblingAxisIterator(Object contextNode)
Get an iterator over all following siblings.

Parameters: contextNode the context node for the sibling iterator.

Returns: A possibly-empty iterator (not null).

getNamespacePrefix

public String getNamespacePrefix(Object arg0)

getNamespaceStringValue

public String getNamespaceStringValue(Object arg0)

getParentAxisIterator

public Iterator getParentAxisIterator(Object contextNode)
Get a (single-member) iterator over this node's parent.

Parameters: contextNode the context node for the parent axis.

Returns: A possibly-empty iterator (not null).

getParentNode

public Object getParentNode(Object arg0)

getPrecedingAxisIterator

public Iterator<Node> getPrecedingAxisIterator(Object contextNode)
Get an iterator over all preceding nodes, depth-first.

Parameters: contextNode The context node for the preceding axis.

Returns: A possibly-empty iterator (not null).

getPrecedingSiblingAxisIterator

public Iterator<Node> getPrecedingSiblingAxisIterator(Object contextNode)
Get an iterator over all preceding siblings.

Parameters: contextNode The context node for the preceding sibling axis.

Returns: A possibly-empty iterator (not null).

getTextStringValue

public String getTextStringValue(Object arg0)

isAttribute

public boolean isAttribute(Object arg0)

isComment

public boolean isComment(Object arg0)

isDocument

public boolean isDocument(Object arg0)

isElement

public boolean isElement(Object arg0)

isNamespace

public boolean isNamespace(Object arg0)

isProcessingInstruction

public boolean isProcessingInstruction(Object arg0)

isText

public boolean isText(Object arg0)

parseXPath

public XPath parseXPath(String arg0)