public class PathStep extends AbstractExpression
| Modifier and Type | Class and Description |
|---|---|
static class |
PathStep.Axis |
AbstractExpression.Typesubs, sup| Constructor and Description |
|---|
PathStep(PathStep.Axis axis,
NodeTest nodeTest) |
| Modifier and Type | Method and Description |
|---|---|
AbstractExpression |
accept(ExpressionVisitor visitor) |
PathStep.Axis |
getAxis() |
AbstractExpression |
getLastContextStep()
This method is called by the optimizer in order to determine an element or attribute QName (or wildcard) against which
some expression is being compared, in order to generate an appropriate text query.
|
NodeTest |
getNodeTest() |
int |
getPrecedence() |
boolean |
isDocumentOrdered() |
void |
toString(StringBuilder buf)
Each subclass must implement the toString(StringBuilder) method by
rendering itself as a syntatically valid XPath/XQuery expression in
the given buffer.
|
acceptSubs, appendSub, getBindingContext, getRoot, getSubs, getSuper, getTail, getType, isAbsolute, replaceRoot, setSubs, toStringpublic PathStep(PathStep.Axis axis, NodeTest nodeTest)
public PathStep.Axis getAxis()
public NodeTest getNodeTest()
public void toString(StringBuilder buf)
AbstractExpressiontoString in class AbstractExpressionpublic AbstractExpression accept(ExpressionVisitor visitor)
public int getPrecedence()
getPrecedence in class AbstractExpressionpublic boolean isDocumentOrdered()
isDocumentOrdered in class AbstractExpressionpublic AbstractExpression getLastContextStep()
AbstractExpressiongetLastContextStep in class AbstractExpressionCopyright © 2013. All Rights Reserved.