com.ximpleware.extended.xpath
Class Predicate

java.lang.Object
  extended by com.ximpleware.extended.xpath.Predicate
All Implemented Interfaces:
LocationPathNode

public class Predicate
extends Object
implements LocationPathNode

LocationPathExpr uses this class to represent a predicate


Field Summary
 int count
           
 Expr expr
           
 Predicate nextP
           
 
Constructor Summary
Predicate()
           
 
Method Summary
 void adjust(int n)
           
 boolean eval(VTDNavHuge vn)
           
 boolean requireContextSize()
           
 void reset(VTDNavHuge vn)
           
 void setContextSize(int size)
           
 void setIndex(double index)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

count

public int count

expr

public Expr expr

nextP

public Predicate nextP
Constructor Detail

Predicate

public Predicate()
Method Detail

eval

public boolean eval(VTDNavHuge vn)
Specified by:
eval in interface LocationPathNode

setIndex

public void setIndex(double index)
              throws XPathEvalExceptionHuge
Throws:
XPathEvalExceptionHuge

reset

public void reset(VTDNavHuge vn)

toString

public String toString()
Overrides:
toString in class Object

requireContextSize

public boolean requireContextSize()

setContextSize

public void setContextSize(int size)

adjust

public void adjust(int n)


Copyright © 2013. All Rights Reserved.