org.basex.query.xpath.locpath
Class LocPathRel

java.lang.Object
  extended by org.basex.query.xpath.expr.Expr
      extended by org.basex.query.xpath.locpath.LocPath
          extended by org.basex.query.xpath.locpath.LocPathRel

public final class LocPathRel
extends LocPath

Relative Location Path Expression.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Tim Petrowsky

Field Summary
 
Fields inherited from class org.basex.query.xpath.locpath.LocPath
steps
 
Constructor Summary
LocPathRel()
           
 
Method Summary
 NodeSet eval(XPContext ctx)
          Evaluates the expression with the specified context set.
 java.lang.String toString()
           
 
Methods inherited from class org.basex.query.xpath.locpath.LocPath
addPosPred, checkAxes, compile, indexable, invertPath, sameAs, usesPos, usesSize
 
Methods inherited from class org.basex.query.xpath.expr.Expr
indexEquivalent, indexSizes, returnedValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocPathRel

public LocPathRel()
Method Detail

eval

public NodeSet eval(XPContext ctx)
             throws EvalException
Description copied from class: Expr
Evaluates the expression with the specified context set. Additionally provides a context

Specified by:
eval in class LocPath
Parameters:
ctx - query context
Returns:
resulting XPathValue
Throws:
EvalException - evaluation exception

toString

public java.lang.String toString()
Specified by:
toString in class Expr