|
|||||||||||
| 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.LocationStepChain
A LocationStepChain is a sequence of single location steps, chained together by the '/' operator. A LocationStepChain could be represented by a series of ComposedPath objects, but allows a more optimized evaluation.
| 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 | |
LocationStepChain(LocationStep[] steps)
Create a LocationStepChain. |
|
| Method Summary | |
void |
accept(ExpressionVisitor visitor)
Accept a ExpressionVisitor. |
boolean |
canCreateModelWalker()
Return true if all steps create a ModelWalker. |
static LocationStepChain |
create(Expression lhs,
LocationStep rhs)
|
int |
getContextDependencies()
Return DEP_CONTEXT_NODE. |
ModelWalker |
getModelWalker()
Return a ModelWalker. |
XNodeSet |
toNodeSet(XPathContext context,
int nodeSetOrdering)
Evaluate the LocationStep. |
| Methods inherited from class jd.xml.xpath.expr.NodeSetExpression |
getMaxResultSize, getMaxResultSize, getMinResultSize, getMinResultSize, getResultType, toBooleanValue, toNumberValue, toStringValue, toXObject |
| Methods inherited from class jd.xml.xpath.expr.ExpressionImpl |
hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LocationStepChain(LocationStep[] steps)
| Method Detail |
public static LocationStepChain create(Expression lhs,
LocationStep rhs)
public XNodeSet toNodeSet(XPathContext context,
int nodeSetOrdering)
toNodeSet in interface ExpressiontoNodeSet in class ExpressionImplpublic int getContextDependencies()
public ModelWalker getModelWalker()
getModelWalker in class NodeSetExpressionNodeSetExpression.canCreateModelWalker()public boolean canCreateModelWalker()
canCreateModelWalker in class NodeSetExpressionpublic void accept(ExpressionVisitor visitor)
Expression
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||