de.fraunhofer.ipsi.xquery.tree.types
Class XQueryElementTest

java.lang.Object
  extended by de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
      extended by de.fraunhofer.ipsi.xquery.tree.types.XQuerySequenceType
          extended by de.fraunhofer.ipsi.xquery.tree.types.XQueryElementTest
All Implemented Interfaces:
XQueryNode

public class XQueryElementTest
extends XQuerySequenceType


Constructor Summary
XQueryElementTest(PositionInfo pos)
          Constructor
XQueryElementTest(PositionInfo pos, QNameExpr name, QNameExpr type, boolean nillable)
          Constructor
 
Method Summary
 void acceptVisitor(VisitorXQueryTypes visitor)
          Method acceptVisitor
 QNameExpr getName()
          Method getName
 boolean getNillable()
          Method getNillable
 QNameExpr getSchemaType()
          Method getSchemaType
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.types.XQuerySequenceType
getCoreType, getKind, getOccurence, setCoreType, setOccurence
 
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

XQueryElementTest

public XQueryElementTest(PositionInfo pos)
Constructor

Parameters:
column - an int
line - an int

XQueryElementTest

public XQueryElementTest(PositionInfo pos,
                         QNameExpr name,
                         QNameExpr type,
                         boolean nillable)
Constructor

Parameters:
column - an int
line - an int
name - a QName
type - a QName
nillable - a boolean
Method Detail

getName

public QNameExpr getName()
Method getName

Returns:
a XS_QName

getSchemaType

public QNameExpr getSchemaType()
Method getSchemaType

Returns:
a XS_QName

getNillable

public boolean getNillable()
Method getNillable

Returns:
a boolean

acceptVisitor

public void acceptVisitor(VisitorXQueryTypes visitor)
                   throws XQueryException
Method acceptVisitor

Overrides:
acceptVisitor in class XQuerySequenceType
Parameters:
visitor - a VisitorXQuery
Throws:
QueryException
XQueryException