org.basex.query.xquery.path
Class PathAbs

java.lang.Object
  extended by org.basex.query.xquery.expr.Expr
      extended by org.basex.query.xquery.expr.Arr
          extended by org.basex.query.xquery.path.Path
              extended by org.basex.query.xquery.path.PathAbs

public final class PathAbs
extends Path

Path expression.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.query.xquery.expr.Arr
list
 
Fields inherited from class org.basex.query.xquery.expr.Expr
type
 
Constructor Summary
PathAbs(Expr[] p)
          Constructor.
 
Method Summary
 Item eval(XQContext ctx)
          Evaluates the expression and returns the resulting item.
 java.lang.String toString()
           
 
Methods inherited from class org.basex.query.xquery.path.Path
comp, info, path
 
Methods inherited from class org.basex.query.xquery.expr.Expr
cls, d, e, i, n, node, s, size, str, u
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathAbs

public PathAbs(Expr[] p)
Constructor.

Parameters:
p - path
Method Detail

eval

public Item eval(XQContext ctx)
          throws XQException
Description copied from class: Expr
Evaluates the expression and returns the resulting item.

Specified by:
eval in class Expr
Parameters:
ctx - query context
Returns:
resulting item
Throws:
XQException - evaluation exception

toString

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