|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xpath.expr.ExpressionImpl
jd.xml.xpath.expr.VariableExpression
jd.xml.xpath.expr.misc.Constant
Constant represents an expression that evaluates to a constant XObject.
Field Summary |
Fields inherited from interface jd.xml.xpath.expr.Expression |
DEP_CONTEXT_NODE, DEP_CONTEXT_POSITION, DEP_CONTEXT_SIZE, DEP_CONTEXT_STATIC, DEP_NONE, DEP_UNKNOWN |
Constructor Summary | |
Constant(XObject object)
Create a constant. |
Method Summary | |
void |
accept(ExpressionVisitor visitor)
Accept a ExpressionVisitor. |
int |
getContextDependencies()
Return DEP_NONE. |
int |
getResultType()
Return the type of the value. |
XObject |
toXObject(XPathContext context)
Return the Constant. |
Methods inherited from class jd.xml.xpath.expr.VariableExpression |
toBooleanValue, toNumberValue, toStringValue |
Methods inherited from class jd.xml.xpath.expr.ExpressionImpl |
hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Constant(XObject object)
Method Detail |
public int getResultType()
getResultType
in interface Expression
getResultType
in class VariableExpression
public XObject toXObject(XPathContext context)
context
- the evaluation contextpublic int getContextDependencies()
public void accept(ExpressionVisitor visitor)
Expression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |