com.ximpleware.extended
Class PathExpr

java.lang.Object
  extended by com.ximpleware.extended.xpath.Expr
      extended by com.ximpleware.extended.PathExpr

public class PathExpr
extends Expr

PathExpr implements the Path expression as defined in XPath spec


Constructor Summary
PathExpr(Expr f, LocationPathExpr l)
           
 
Method Summary
 int adjust(int n)
           
 boolean evalBoolean(VTDNavHuge vn)
           
 int evalNodeSet(VTDNavHuge vn)
           
 double evalNumber(VTDNavHuge vn)
           
 String evalString(VTDNavHuge vn)
           
 boolean isBoolean()
           
 boolean isNodeSet()
           
 boolean isNumerical()
           
 boolean isString()
           
 boolean isUnique(int i)
           
 boolean requireContextSize()
           
 void reset(VTDNavHuge vn)
           
 void setContextSize(int size)
           
 void setPosition(int pos)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathExpr

public PathExpr(Expr f,
                LocationPathExpr l)
Method Detail

evalBoolean

public boolean evalBoolean(VTDNavHuge vn)
Specified by:
evalBoolean in class Expr

evalNumber

public double evalNumber(VTDNavHuge vn)
Specified by:
evalNumber in class Expr

evalNodeSet

public int evalNodeSet(VTDNavHuge vn)
                throws XPathEvalExceptionHuge,
                       NavExceptionHuge
Specified by:
evalNodeSet in class Expr
Throws:
XPathEvalExceptionHuge
NavExceptionHuge

evalString

public String evalString(VTDNavHuge vn)
Specified by:
evalString in class Expr

isUnique

public boolean isUnique(int i)

reset

public void reset(VTDNavHuge vn)
Specified by:
reset in class Expr

toString

public String toString()
Specified by:
toString in class Expr

isNumerical

public boolean isNumerical()
Specified by:
isNumerical in class Expr

isNodeSet

public boolean isNodeSet()
Specified by:
isNodeSet in class Expr

isString

public boolean isString()
Specified by:
isString in class Expr

isBoolean

public boolean isBoolean()
Specified by:
isBoolean in class Expr

requireContextSize

public boolean requireContextSize()
Specified by:
requireContextSize in class Expr

setContextSize

public void setContextSize(int size)
Specified by:
setContextSize in class Expr

setPosition

public void setPosition(int pos)
Specified by:
setPosition in class Expr

adjust

public int adjust(int n)
Specified by:
adjust in class Expr


Copyright © 2013. All Rights Reserved.