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

java.lang.Object
  extended by de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
      extended by de.fraunhofer.ipsi.xquery.tree.expression.XQueryCaseClause
All Implemented Interfaces:
XQueryNode

public class XQueryCaseClause
extends XQueryNodeAbstract

XQuery Interpreter CaseClause.

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

Constructor Summary
XQueryCaseClause(PositionInfo pos, XQuerySequenceType t, XQueryExpression xo)
          Constructor
XQueryCaseClause(PositionInfo pos, XQuerySequenceType t, XQueryExpression xo, XQueryVariable v)
          Constructor
 
Method Summary
 XQuerySequenceType getDatatype()
          Method getDatatype
 XQueryExpression getExpression()
          Method getExpression
 XQueryVariable getVariable()
          Method getVariable
 boolean hasVariable()
          Method hasVariable
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
getPosition, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XQueryCaseClause

public XQueryCaseClause(PositionInfo pos,
                        XQuerySequenceType t,
                        XQueryExpression xo,
                        XQueryVariable v)
Constructor

Parameters:
column - an int
line - an int
xo - a XQueryExpression
t - a XQuerySequenceType
v - a XQueryVariable

XQueryCaseClause

public XQueryCaseClause(PositionInfo pos,
                        XQuerySequenceType t,
                        XQueryExpression xo)
Constructor

Parameters:
column - an int
line - an int
xo - a XQueryExpression
t - a XQuerySequenceType
Method Detail

getExpression

public XQueryExpression getExpression()
Method getExpression

Returns:
a XQueryExpression

getDatatype

public XQuerySequenceType getDatatype()
Method getDatatype

Returns:
a Type

hasVariable

public boolean hasVariable()
Method hasVariable

Returns:
a boolean

getVariable

public XQueryVariable getVariable()
Method getVariable

Returns:
a XQueryVariable