|
|||||||||||
| 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.misc.ProxyExpression
ProxyExpression wraps another expression.
| Field Summary | |
protected Expression |
expr_
|
| 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 | |
ProxyExpression(Expression expr)
|
|
| Method Summary | |
void |
accept(ExpressionVisitor visitor)
Accept a ExpressionVisitor. |
int |
getContextDependencies()
Return a bitfield indicating the expression dependencies on the XPath context. |
Expression |
getExpression()
|
int |
getResultType()
Return the type of the result object, before any conversions to the desired result type are performed. |
boolean |
isUniqueFilter()
Test if this expression only matches one node when used as a predicate filter for a node-set. |
boolean |
matchesFilter(XPathContext context)
Evaluate the expression and return if the context node matches the expression when used as predicate filter. |
boolean |
toBooleanValue(XPathContext context)
Evaluate the Expression to a boolean. |
double |
toNumberValue(XPathContext context)
Evaluate the Expression to a number. |
String |
toStringValue(XPathContext context)
Evaluate the Expression to a String. |
XObject |
toXObject(XPathContext context)
Evaluate the expression to a XObject. |
| Methods inherited from class jd.xml.xpath.expr.ExpressionImpl |
hasContextDependencies, toNode, toNodeSet, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Expression expr_
| Constructor Detail |
public ProxyExpression(Expression expr)
| Method Detail |
public Expression getExpression()
public XObject toXObject(XPathContext context)
Expression
context - the evaluation contextpublic double toNumberValue(XPathContext context)
Expression
context - the evaluation contextpublic String toStringValue(XPathContext context)
Expression
context - the evaluation contextpublic boolean toBooleanValue(XPathContext context)
Expression
context - the evaluation contextpublic int getResultType()
Expression
public boolean matchesFilter(XPathContext context)
ExpressionImpl
matchesFilter in interface ExpressionmatchesFilter in class ExpressionImplpublic boolean isUniqueFilter()
ExpressionImpl
isUniqueFilter in interface ExpressionisUniqueFilter in class ExpressionImplpublic int getContextDependencies()
Expression
public void accept(ExpressionVisitor visitor)
Expression
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||