org.planx.xpath.expr
Class PathExpression

java.lang.Object
  extended by org.planx.xpath.expr.Expression
      extended by org.planx.xpath.expr.PathExpression

public class PathExpression
extends Expression

Represents a path expression composed of a FilterExpression and a relative LocationPath.


Constructor Summary
PathExpression(Expression expr, LocationPath locationPath)
           
 
Method Summary
 XObject evaluate(Context ctxt, Environment env, Navigator nav)
          Evaluate the expression for the given context using the specified environment.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathExpression

public PathExpression(Expression expr,
                      LocationPath locationPath)
Method Detail

evaluate

public XObject evaluate(Context ctxt,
                        Environment env,
                        Navigator nav)
                 throws XPathException
Description copied from class: Expression
Evaluate the expression for the given context using the specified environment.

Specified by:
evaluate in class Expression
Throws:
XPathException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.