com.ximpleware.extended
Class LocationPathExpr
java.lang.Object
com.ximpleware.extended.xpath.Expr
com.ximpleware.extended.LocationPathExpr
public class LocationPathExpr
- extends Expr
LocationPathExpr implements the location path expression
as defined in XPath spec
ABSOLUTE_PATH
public static final int ABSOLUTE_PATH
- See Also:
- Constant Field Values
RELATIVE_PATH
public static final int RELATIVE_PATH
- See Also:
- Constant Field Values
START
public static final int START
- See Also:
- Constant Field Values
END
public static final int END
- See Also:
- Constant Field Values
TERMINAL
public static final int TERMINAL
- See Also:
- Constant Field Values
FORWARD
public static final int FORWARD
- See Also:
- Constant Field Values
BACKWARD
public static final int BACKWARD
- See Also:
- Constant Field Values
LocationPathExpr
public LocationPathExpr()
setStep
public void setStep(Step st)
setPathType
public void setPathType(int ptype)
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
evalBoolean
public boolean evalBoolean(VTDNavHuge vn)
- Specified by:
evalBoolean in class Expr
evalNumber
public double evalNumber(VTDNavHuge vn)
- Specified by:
evalNumber in class Expr
evalString
public String evalString(VTDNavHuge vn)
- Specified by:
evalString in class Expr
isNodeSet
public boolean isNodeSet()
- Specified by:
isNodeSet in class Expr
isNumerical
public boolean isNumerical()
- Specified by:
isNumerical in class Expr
evalNodeSet
public int evalNodeSet(VTDNavHuge vn)
throws NavExceptionHuge,
XPathEvalExceptionHuge
- Specified by:
evalNodeSet in class Expr
- Throws:
NavExceptionHuge
XPathEvalExceptionHuge
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
computeContextSize
public int computeContextSize(Predicate p,
VTDNavHuge vn)
throws NavExceptionHuge,
XPathEvalExceptionHuge
- Throws:
NavExceptionHuge
XPathEvalExceptionHuge
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.