| java.lang.Object com.caucho.xpath.Expr com.caucho.xpath.expr.IdExpr
Method Summary | |
public boolean | evalBoolean(Node node, ExprEnvironment env) Evaluates the expression as a boolean
Parameters: node - the current node Parameters: env - the variable environment. | public double | evalNumber(Node node, ExprEnvironment env) Evaluates the expression as a number
Parameters: node - the current node Parameters: env - the variable environment. | public Object | evalObject(Node node, ExprEnvironment env) The string value of the id expression is just the list of nodes.
Parameters: node - the current node Parameters: env - the variable environment. | public String | evalString(Node node, ExprEnvironment env) The string value of the id expression is just the text value of the
first node.
Parameters: node - the current node Parameters: env - the variable environment. | public boolean | isNodeSet() | public String | toString() |
evalBoolean | public boolean evalBoolean(Node node, ExprEnvironment env) throws XPathException(Code) | | Evaluates the expression as a boolean
Parameters: node - the current node Parameters: env - the variable environment. true if the node exists |
evalNumber | public double evalNumber(Node node, ExprEnvironment env) throws XPathException(Code) | | Evaluates the expression as a number
Parameters: node - the current node Parameters: env - the variable environment. the number representation of id |
evalObject | public Object evalObject(Node node, ExprEnvironment env) throws XPathException(Code) | | The string value of the id expression is just the list of nodes.
Parameters: node - the current node Parameters: env - the variable environment. true if the node exists |
evalString | public String evalString(Node node, ExprEnvironment env) throws XPathException(Code) | | The string value of the id expression is just the text value of the
first node.
Parameters: node - the current node Parameters: env - the variable environment. true if the node exists |
isNodeSet | public boolean isNodeSet()(Code) | | |
Methods inherited from com.caucho.xpath.Expr | public void addParam(Env newEnv, String name, Node node, Env env) throws XPathException(Code)(Java Doc) public void addVar(Env newEnv, String name, Node node, Env env) throws XPathException(Code)(Java Doc) public boolean evalBoolean(Node node) throws XPathException(Code)(Java Doc) abstract public boolean evalBoolean(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public NodeIterator evalNodeSet(Node node) throws XPathException(Code)(Java Doc) public NodeIterator evalNodeSet(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public double evalNumber(Node node) throws XPathException(Code)(Java Doc) abstract public double evalNumber(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public Object evalObject(Node node) throws XPathException(Code)(Java Doc) abstract public Object evalObject(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public String evalString(Node node) throws XPathException(Code)(Java Doc) abstract public String evalString(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public void evalString(CharBuffer cb, Node node) throws XPathException(Code)(Java Doc) public void evalString(CharBuffer cb, Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public Var evalVar(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public AbstractPattern getListContext()(Code)(Java Doc) public boolean isBoolean()(Code)(Java Doc) public boolean isNodeSet()(Code)(Java Doc) public boolean isNumber()(Code)(Java Doc) public boolean isString()(Code)(Java Doc) public void setListContext(AbstractPattern listContext)(Code)(Java Doc) public void setVar(String name, Node node, Env env) throws XPathException(Code)(Java Doc) protected static double stringToNumber(String string) throws XPathException(Code)(Java Doc) public static boolean toBoolean(Object value) throws XPathException(Code)(Java Doc) public static double toDouble(Object value) throws XPathException(Code)(Java Doc) public static Node toNode(Object value) throws XPathException(Code)(Java Doc) protected AbstractPattern toNodeList()(Code)(Java Doc) public static String toString(Object value) throws XPathException(Code)(Java Doc)
|
|
|