dk.brics.xpath
Class PathPredicate
java.lang.Object
dk.brics.xpath.Node
dk.brics.xpath.Predicate
dk.brics.xpath.PathPredicate
public class PathPredicate
- extends Predicate
Path predicate node.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathPredicate
public PathPredicate(UnionExpr path)
- Constructs a new path predicate node.
- Parameters:
path
- a union
apply
public void apply(Visitor v)
- Description copied from class:
Node
- Applies the given
Visitor
to this node.
- Overrides:
apply
in class Predicate
- Parameters:
v
- node visitor
getPath
public UnionExpr getPath()
- Gets the path.
- Returns:
- path node
Copyright © 2005-2010 Anders Møller.