|
|||||||||||
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.NodeSetExpression
NodeSetExpression is an expression which evaluates to a NodeSet.
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 | |
NodeSetExpression()
|
Method Summary | |
boolean |
canCreateModelWalker()
Return if the NodeSetExpression allow calls of method getModelWalker(). |
int |
getMaxResultSize()
Return the maximum size of the returned NodeSet or 0 if not known. |
static int |
getMaxResultSize(Expression expr)
|
int |
getMinResultSize()
Return the minimum size of the returned NodeSet or 0 if not known. |
static int |
getMinResultSize(Expression expr)
|
ModelWalker |
getModelWalker()
Evaluate the NodeSet-Expression to a ModelWalker. |
int |
getResultType()
Return XObject.TYPE_NODESET. |
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. |
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 |
Methods inherited from interface jd.xml.xpath.expr.Expression |
accept, getContextDependencies |
Constructor Detail |
public NodeSetExpression()
Method Detail |
public final int getResultType()
public XObject toXObject(XPathContext context)
context
- the evaluation contextpublic String toStringValue(XPathContext context)
context
- the evaluation contextpublic double toNumberValue(XPathContext context)
context
- the evaluation contextpublic boolean toBooleanValue(XPathContext context)
context
- the evaluation contextpublic ModelWalker getModelWalker()
canCreateModelWalker()
public boolean canCreateModelWalker()
public int getMinResultSize()
public int getMaxResultSize()
public static int getMinResultSize(Expression expr)
public static int getMaxResultSize(Expression expr)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |