com.ximpleware.extended.xpath
Class UnaryExpr
java.lang.Object
com.ximpleware.extended.xpath.Expr
com.ximpleware.extended.xpath.UnaryExpr
public class UnaryExpr
- extends Expr
Parser use this class to represent Unary Expr
op
public int op
operand
public Expr operand
UnaryExpr
public UnaryExpr(int o,
Expr e)
toString
public String toString()
- Specified by:
toString in class Expr
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
- Specified by:
evalNodeSet in class Expr
- Throws:
XPathEvalExceptionHuge
evalString
public String evalString(VTDNavHuge vn)
- Specified by:
evalString in class Expr
reset
public void reset(VTDNavHuge vn)
- Specified by:
reset in class Expr
isNodeSet
public boolean isNodeSet()
- Specified by:
isNodeSet in class Expr
isNumerical
public boolean isNumerical()
- Specified by:
isNumerical 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.