Class DocumentNavigator
- java.lang.Object
-
- org.jaxen.DefaultNavigator
-
- net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
-
- All Implemented Interfaces:
Serializable,org.jaxen.Navigator
@Deprecated @InternalApi public class DocumentNavigator extends org.jaxen.DefaultNavigator
Deprecated.Navigator used for XPath 1.0 (Jaxen) queries.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentNavigator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Iterator<Attribute>getAttributeAxisIterator(Object arg0)Deprecated.StringgetAttributeName(Object arg0)Deprecated.StringgetAttributeNamespaceUri(Object arg0)Deprecated.StringgetAttributeQName(Object arg0)Deprecated.StringgetAttributeStringValue(Object arg0)Deprecated.Iterator<Node>getChildAxisIterator(Object contextNode)Deprecated.Get an iterator over all of this node's children.StringgetCommentStringValue(Object arg0)Deprecated.ObjectgetDocumentNode(Object contextNode)Deprecated.StringgetElementName(Object node)Deprecated.StringgetElementNamespaceUri(Object arg0)Deprecated.StringgetElementQName(Object arg0)Deprecated.StringgetElementStringValue(Object arg0)Deprecated.Iterator<Node>getFollowingAxisIterator(Object contextNode)Deprecated.Get an iterator over all following nodes, depth-first.Iterator<Node>getFollowingSiblingAxisIterator(Object contextNode)Deprecated.Get an iterator over all following siblings.StringgetNamespacePrefix(Object arg0)Deprecated.StringgetNamespaceStringValue(Object arg0)Deprecated.Iterator<Node>getParentAxisIterator(Object contextNode)Deprecated.Get a (single-member) iterator over this node's parent.ObjectgetParentNode(Object arg0)Deprecated.Iterator<Node>getPrecedingAxisIterator(Object contextNode)Deprecated.Get an iterator over all preceding nodes, depth-first.Iterator<Node>getPrecedingSiblingAxisIterator(Object contextNode)Deprecated.Get an iterator over all preceding siblings.StringgetTextStringValue(Object arg0)Deprecated.booleanisAttribute(Object arg0)Deprecated.booleanisComment(Object arg0)Deprecated.booleanisDocument(Object arg0)Deprecated.booleanisElement(Object arg0)Deprecated.booleanisNamespace(Object arg0)Deprecated.booleanisProcessingInstruction(Object arg0)Deprecated.booleanisText(Object arg0)Deprecated.org.jaxen.XPathparseXPath(String arg0)Deprecated.-
Methods inherited from class org.jaxen.DefaultNavigator
getAncestorAxisIterator, getAncestorOrSelfAxisIterator, getDescendantAxisIterator, getDescendantOrSelfAxisIterator, getDocument, getElementById, getNamespaceAxisIterator, getNodeType, getProcessingInstructionData, getProcessingInstructionTarget, getSelfAxisIterator, translateNamespacePrefixToUri
-
-
-
-
Method Detail
-
isAttribute
public boolean isAttribute(Object arg0)
Deprecated.
-
isComment
public boolean isComment(Object arg0)
Deprecated.
-
isDocument
public boolean isDocument(Object arg0)
Deprecated.
-
isElement
public boolean isElement(Object arg0)
Deprecated.
-
isNamespace
public boolean isNamespace(Object arg0)
Deprecated.
-
isProcessingInstruction
public boolean isProcessingInstruction(Object arg0)
Deprecated.
-
isText
public boolean isText(Object arg0)
Deprecated.
-
parseXPath
public org.jaxen.XPath parseXPath(String arg0)
Deprecated.
-
getParentNode
public Object getParentNode(Object arg0)
Deprecated.- Specified by:
getParentNodein interfaceorg.jaxen.Navigator- Overrides:
getParentNodein classorg.jaxen.DefaultNavigator
-
getAttributeAxisIterator
public Iterator<Attribute> getAttributeAxisIterator(Object arg0)
Deprecated.- Specified by:
getAttributeAxisIteratorin interfaceorg.jaxen.Navigator- Overrides:
getAttributeAxisIteratorin classorg.jaxen.DefaultNavigator
-
getChildAxisIterator
public Iterator<Node> getChildAxisIterator(Object contextNode)
Deprecated.Get an iterator over all of this node's children.- Specified by:
getChildAxisIteratorin interfaceorg.jaxen.Navigator- Overrides:
getChildAxisIteratorin classorg.jaxen.DefaultNavigator- Parameters:
contextNode- The context node for the child axis.- Returns:
- A possibly-empty iterator (not null).
-
getParentAxisIterator
public Iterator<Node> getParentAxisIterator(Object contextNode)
Deprecated.Get a (single-member) iterator over this node's parent.- Specified by:
getParentAxisIteratorin interfaceorg.jaxen.Navigator- Overrides:
getParentAxisIteratorin classorg.jaxen.DefaultNavigator- Parameters:
contextNode- the context node for the parent axis.- Returns:
- A possibly-empty iterator (not null).
-
getFollowingSiblingAxisIterator
public Iterator<Node> getFollowingSiblingAxisIterator(Object contextNode)
Deprecated.Get an iterator over all following siblings.- Specified by:
getFollowingSiblingAxisIteratorin interfaceorg.jaxen.Navigator- Overrides:
getFollowingSiblingAxisIteratorin classorg.jaxen.DefaultNavigator- Parameters:
contextNode- the context node for the sibling iterator.- Returns:
- A possibly-empty iterator (not null).
-
getPrecedingSiblingAxisIterator
public Iterator<Node> getPrecedingSiblingAxisIterator(Object contextNode)
Deprecated.Get an iterator over all preceding siblings.- Specified by:
getPrecedingSiblingAxisIteratorin interfaceorg.jaxen.Navigator- Overrides:
getPrecedingSiblingAxisIteratorin classorg.jaxen.DefaultNavigator- Parameters:
contextNode- The context node for the preceding sibling axis.- Returns:
- A possibly-empty iterator (not null).
-
getFollowingAxisIterator
public Iterator<Node> getFollowingAxisIterator(Object contextNode)
Deprecated.Get an iterator over all following nodes, depth-first.- Specified by:
getFollowingAxisIteratorin interfaceorg.jaxen.Navigator- Overrides:
getFollowingAxisIteratorin classorg.jaxen.DefaultNavigator- Parameters:
contextNode- The context node for the following axis.- Returns:
- A possibly-empty iterator (not null).
-
getPrecedingAxisIterator
public Iterator<Node> getPrecedingAxisIterator(Object contextNode)
Deprecated.Get an iterator over all preceding nodes, depth-first.- Specified by:
getPrecedingAxisIteratorin interfaceorg.jaxen.Navigator- Overrides:
getPrecedingAxisIteratorin classorg.jaxen.DefaultNavigator- Parameters:
contextNode- The context node for the preceding axis.- Returns:
- A possibly-empty iterator (not null).
-
-