|
|||||||||||
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
jd.xml.xpath.expr.path.RootPath
The RootPath represents the path expression "/". RootPath is derived from SimpleLocationStep to take advantage of chaining LocationSteps.
Field Summary | |
static RootPath |
INSTANCE
The RootPath instance. |
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 |
Method Summary | |
void |
accept(ExpressionVisitor visitor)
Accept a ExpressionVisitor. |
void |
getNodes(XPathContext context,
XMutableNodeSet nodeSet)
Evaluate the LocationStep. |
XPathNode |
toNode(XPathContext context)
Evaluate the Expression to a XPathNode. |
XObject |
toXObject(XPathContext context,
int nodeSetHint)
Return a nodeset containing the root. |
Methods inherited from class jd.xml.xpath.expr.path.SimpleLocationStep |
canCreateModelWalker, getMinResultSize, getModelWalker, toBooleanValue, toNodeSet, toNumberValue, toStringValue |
Methods inherited from class jd.xml.xpath.expr.path.LocationStep |
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 |
Field Detail |
public static final RootPath INSTANCE
Method Detail |
public XObject toXObject(XPathContext context, int nodeSetHint)
public XPathNode toNode(XPathContext context)
toNode
in interface Expression
toNode
in class SimpleLocationStep
public void getNodes(XPathContext context, XMutableNodeSet nodeSet)
getNodes
in class SimpleLocationStep
context
- the evaluation contextnodeSet
- a NodeSet where to store the resulting nodespublic void accept(ExpressionVisitor visitor)
Expression
accept
in interface Expression
accept
in class LocationStep
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |