jd.xml.xpath.expr.path
Class ComposedPath

java.lang.Object
  extended byjd.xml.xpath.expr.ExpressionImpl
      extended byjd.xml.xpath.expr.NodeSetExpression
          extended byjd.xml.xpath.expr.operator.NodeSetOperator
              extended byjd.xml.xpath.expr.path.ComposedPath
All Implemented Interfaces:
Expression, Operator

public class ComposedPath
extends NodeSetOperator

ComposedPath is an expression for the production rule "FilterExpr '/' RelativeLocationPath".


Field Summary
 
Fields inherited from class jd.xml.xpath.expr.operator.NodeSetOperator
lhs_, rhs_
 
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
ComposedPath(Expression lhs, Expression rhs)
          Create a ComposedPath.
 
Method Summary
 void accept(ExpressionVisitor visitor)
          Accept a ExpressionVisitor.
 XNodeSet toNodeSet(XPathContext context, int nodeSetOrdering)
          Evaluate the Expression.
 
Methods inherited from class jd.xml.xpath.expr.operator.NodeSetOperator
getContextDependencies, getLhs, getRhs
 
Methods inherited from class jd.xml.xpath.expr.NodeSetExpression
canCreateModelWalker, getMaxResultSize, getMaxResultSize, getMinResultSize, getMinResultSize, getModelWalker, 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
 
Methods inherited from interface jd.xml.xpath.expr.Expression
getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toBooleanValue, toNode, toNumberValue, toString, toStringValue, toXObject
 

Constructor Detail

ComposedPath

public ComposedPath(Expression lhs,
                    Expression rhs)
Create a ComposedPath.

Method Detail

toNodeSet

public XNodeSet toNodeSet(XPathContext context,
                          int nodeSetOrdering)
Evaluate the Expression.

Specified by:
toNodeSet in interface Expression
Overrides:
toNodeSet in class ExpressionImpl

accept

public void accept(ExpressionVisitor visitor)
Description copied from interface: Expression
Accept a ExpressionVisitor.