de.fraunhofer.ipsi.xquery.tree.primary
Class XQueryOrderingExpr

java.lang.Object
  extended by de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
      extended by de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpressionAbstract
          extended by de.fraunhofer.ipsi.xquery.tree.primary.XQueryPrimaryExprAbstract
              extended by de.fraunhofer.ipsi.xquery.tree.primary.XQueryOrderingExpr
All Implemented Interfaces:
XQueryExpression, XQueryPrimaryExpr, XQueryStepExpr, XQueryNode

public class XQueryOrderingExpr
extends XQueryPrimaryExprAbstract

XQuery Interpreter ArtihmeticOperator.

Since:
CVS $Date: 2004/08/31 10:41:11 $
Version:
CVS $Revision: 1.2 $
Author:
Tobias Groh, Sven Overhage

Constructor Summary
XQueryOrderingExpr(PositionInfo pos, OrderingModeEnum kind, java.util.List<XQueryExpression> expr)
          Constructor
 
Method Summary
 void acceptVisitor(VisitorXQueryExpression visitor)
          Method acceptVisitor
 java.util.List<XQueryExpression> getExpr()
          Method getLeft
 OrderingModeEnum getOperation()
          Method getOperation
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.primary.XQueryPrimaryExprAbstract
isForwardStep
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpressionAbstract
getCoreExpression, setCoreExpression, toString
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
getPosition, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpression
getCoreExpression
 
Methods inherited from interface de.fraunhofer.ipsi.xquery.tree.XQueryNode
getPosition
 

Constructor Detail

XQueryOrderingExpr

public XQueryOrderingExpr(PositionInfo pos,
                          OrderingModeEnum kind,
                          java.util.List<XQueryExpression> expr)
Constructor

Parameters:
column - an int
line - an int
kind - an OrderingMode
expr - a XQueryExprSequence
Method Detail

getOperation

public OrderingModeEnum getOperation()
Method getOperation

Returns:
an Enum

getExpr

public java.util.List<XQueryExpression> getExpr()
Method getLeft

Returns:
a XQueryExpression

acceptVisitor

public void acceptVisitor(VisitorXQueryExpression visitor)
                   throws XQueryException
Method acceptVisitor

Parameters:
visitor - a VisitorXQuery
Throws:
QueryException
XQueryException