|
|||||||||||
| 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
jd.xml.xpath.expr.path.LocationStep
jd.xml.xpath.expr.path.SimpleLocationStep
An LocationStep without predicate filters-
| Field Summary |
| Fields inherited from class jd.xml.xpath.expr.path.LocationStep |
axis_, maxAxisResultSize_, nodeTest_ |
| 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 | |
SimpleLocationStep(Axis axis,
NodeTest nodeTest)
Create a new SimpleLocationStep. |
|
| Method Summary | |
boolean |
canCreateModelWalker()
Return true. |
int |
getMinResultSize()
Return the minimum size of the returned NodeSet or 0 if not known. |
ModelWalker |
getModelWalker()
Return a ModelWalker. |
void |
getNodes(XPathContext context,
XMutableNodeSet nodeSet)
Evaluate the LocationStep. |
boolean |
toBooleanValue(XPathContext context)
Evaluate the Expression to a number. |
XPathNode |
toNode(XPathContext context)
Evaluate the Expression to a XPathNode. |
XNodeSet |
toNodeSet(XPathContext context,
int nodeSetOrdering)
Evaluate the LocationStep. |
double |
toNumberValue(XPathContext context)
Evaluate the Expression to a number. |
String |
toStringValue(XPathContext context)
Evaluate the Expression to a number. |
| Methods inherited from class jd.xml.xpath.expr.path.LocationStep |
accept, getAxis, getContextDependencies, getMaxResultSize, getNodeTest |
| Methods inherited from class jd.xml.xpath.expr.NodeSetExpression |
getMaxResultSize, getMinResultSize, getResultType, toXObject |
| Methods inherited from class jd.xml.xpath.expr.ExpressionImpl |
hasContextDependencies, isUniqueFilter, matchesFilter, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SimpleLocationStep(Axis axis,
NodeTest nodeTest)
| Method Detail |
public int getMinResultSize()
NodeSetExpression
getMinResultSize in class NodeSetExpressionpublic double toNumberValue(XPathContext context)
toNumberValue in interface ExpressiontoNumberValue in class NodeSetExpressionpublic String toStringValue(XPathContext context)
toStringValue in interface ExpressiontoStringValue in class NodeSetExpressionpublic boolean toBooleanValue(XPathContext context)
toBooleanValue in interface ExpressiontoBooleanValue in class NodeSetExpression
public XNodeSet toNodeSet(XPathContext context,
int nodeSetOrdering)
toNodeSet in interface ExpressiontoNodeSet in class ExpressionImplpublic XPathNode toNode(XPathContext context)
toNode in interface ExpressiontoNode in class ExpressionImpl
public void getNodes(XPathContext context,
XMutableNodeSet nodeSet)
getNodes in class LocationStepcontext - the evaluation contextnodeSet - a NodeSet where to store the resulting nodespublic ModelWalker getModelWalker()
getModelWalker in class NodeSetExpressionNodeSetExpression.canCreateModelWalker()public boolean canCreateModelWalker()
canCreateModelWalker in class NodeSetExpression
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||