de.fraunhofer.ipsi.xquery.tree.expression
Class XQueryConditionalExpr

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.expression.XQueryConditionalExpr
All Implemented Interfaces:
XQueryExpression, XQueryNode

public class XQueryConditionalExpr
extends XQueryExpressionAbstract

XQuery Interpreter ConditionalOpertor.

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

Constructor Summary
XQueryConditionalExpr(PositionInfo pos, java.util.List<XQueryExpression> evalexp, XQueryExpression ifexp, XQueryExpression elseExpr)
          Constructor
 
Method Summary
 void acceptVisitor(VisitorXQueryExpression visitor)
          Method acceptVisitor
 XQueryExpression getElseExpression()
          Method getElseExpression
 java.util.List<XQueryExpression> getEvalExpression()
          Method getEvalExpression
 XQueryExpression getIfExpression()
          Method getIfExpression
 
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.XQueryNode
getPosition
 

Constructor Detail

XQueryConditionalExpr

public XQueryConditionalExpr(PositionInfo pos,
                             java.util.List<XQueryExpression> evalexp,
                             XQueryExpression ifexp,
                             XQueryExpression elseExpr)
Constructor

Parameters:
column - an int
line - an int
evalexp - a XQueryExprSequence
ifexp - a XQueryExprSequence
elseExpr - a XQueryExpression
Method Detail

getEvalExpression

public java.util.List<XQueryExpression> getEvalExpression()
Method getEvalExpression

Returns:
a XQueryExpression

getIfExpression

public XQueryExpression getIfExpression()
Method getIfExpression

Returns:
a XQueryExpression

getElseExpression

public XQueryExpression getElseExpression()
Method getElseExpression

Returns:
a XQueryExpression

acceptVisitor

public void acceptVisitor(VisitorXQueryExpression visitor)
                   throws XQueryException
Method acceptVisitor

Parameters:
visitor - a VisitorXQuery
Throws:
QueryException
XQueryException