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.String
getAttributeName(Object arg0)
Deprecated.String
getAttributeNamespaceUri(Object arg0)
Deprecated.String
getAttributeQName(Object arg0)
Deprecated.String
getAttributeStringValue(Object arg0)
Deprecated.Iterator<Node>
getChildAxisIterator(Object contextNode)
Deprecated.Get an iterator over all of this node's children.String
getCommentStringValue(Object arg0)
Deprecated.Object
getDocumentNode(Object contextNode)
Deprecated.String
getElementName(Object node)
Deprecated.String
getElementNamespaceUri(Object arg0)
Deprecated.String
getElementQName(Object arg0)
Deprecated.String
getElementStringValue(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.String
getNamespacePrefix(Object arg0)
Deprecated.String
getNamespaceStringValue(Object arg0)
Deprecated.Iterator<Node>
getParentAxisIterator(Object contextNode)
Deprecated.Get a (single-member) iterator over this node's parent.Object
getParentNode(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.String
getTextStringValue(Object arg0)
Deprecated.boolean
isAttribute(Object arg0)
Deprecated.boolean
isComment(Object arg0)
Deprecated.boolean
isDocument(Object arg0)
Deprecated.boolean
isElement(Object arg0)
Deprecated.boolean
isNamespace(Object arg0)
Deprecated.boolean
isProcessingInstruction(Object arg0)
Deprecated.boolean
isText(Object arg0)
Deprecated.org.jaxen.XPath
parseXPath(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:
getParentNode
in interfaceorg.jaxen.Navigator
- Overrides:
getParentNode
in classorg.jaxen.DefaultNavigator
-
getAttributeAxisIterator
public Iterator<Attribute> getAttributeAxisIterator(Object arg0)
Deprecated.- Specified by:
getAttributeAxisIterator
in interfaceorg.jaxen.Navigator
- Overrides:
getAttributeAxisIterator
in classorg.jaxen.DefaultNavigator
-
getChildAxisIterator
public Iterator<Node> getChildAxisIterator(Object contextNode)
Deprecated.Get an iterator over all of this node's children.- Specified by:
getChildAxisIterator
in interfaceorg.jaxen.Navigator
- Overrides:
getChildAxisIterator
in 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:
getParentAxisIterator
in interfaceorg.jaxen.Navigator
- Overrides:
getParentAxisIterator
in 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:
getFollowingSiblingAxisIterator
in interfaceorg.jaxen.Navigator
- Overrides:
getFollowingSiblingAxisIterator
in 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:
getPrecedingSiblingAxisIterator
in interfaceorg.jaxen.Navigator
- Overrides:
getPrecedingSiblingAxisIterator
in 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:
getFollowingAxisIterator
in interfaceorg.jaxen.Navigator
- Overrides:
getFollowingAxisIterator
in 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:
getPrecedingAxisIterator
in interfaceorg.jaxen.Navigator
- Overrides:
getPrecedingAxisIterator
in classorg.jaxen.DefaultNavigator
- Parameters:
contextNode
- The context node for the preceding axis.- Returns:
- A possibly-empty iterator (not null).
-
-