dk.brics.xpath
Class PathPredicate

java.lang.Object
  extended by dk.brics.xpath.Node
      extended by dk.brics.xpath.Predicate
          extended by dk.brics.xpath.PathPredicate

public class PathPredicate
extends Predicate

Path predicate node.


Nested Class Summary
 
Nested classes/interfaces inherited from class dk.brics.xpath.Predicate
Predicate.Kind
 
Constructor Summary
PathPredicate(UnionExpr path)
          Constructs a new path predicate node.
 
Method Summary
 void apply(Visitor v)
          Applies the given Visitor to this node.
 UnionExpr getPath()
          Gets the path.
 
Methods inherited from class dk.brics.xpath.Predicate
getKind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathPredicate

public PathPredicate(UnionExpr path)
Constructs a new path predicate node.

Parameters:
path - a union
Method Detail

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.