com.ximpleware.xpath
Class Predicate
java.lang.Object
com.ximpleware.xpath.Predicate
- All Implemented Interfaces:
- LocationPathNode
public class Predicate
- extends java.lang.Object
- implements LocationPathNode
LocationPathExpr uses this class to represent a predicate
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
count
public int count
expr
public Expr expr
nextP
public Predicate nextP
Predicate
public Predicate()
eval
public boolean eval(VTDNav vn)
- Specified by:
eval
in interface LocationPathNode
requireContextSize
public boolean requireContextSize()
reset
public void reset(VTDNav vn)
setContextSize
public void setContextSize(int size)
setIndex
public void setIndex(double index)
throws XPathEvalException
- Throws:
XPathEvalException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object