de.fraunhofer.ipsi.xquery.tree.prolog
Class XQueryOptionDecl

java.lang.Object
  extended by de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
      extended by de.fraunhofer.ipsi.xquery.tree.prolog.XQueryOptionDecl
All Implemented Interfaces:
XQueryPrologDecl, XQueryNode

public class XQueryOptionDecl
extends XQueryNodeAbstract
implements XQueryPrologDecl


Constructor Summary
XQueryOptionDecl(PositionInfo pos, QNameExpr option, java.lang.String literal)
          Constructor
 
Method Summary
 void acceptVisitor(VisitorXQueryModulesAndProlog visitor)
          Method acceptVisitor
 java.lang.String getLiteral()
          Method getLiteral
 QNameExpr getOption()
          Method getOption
 
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

XQueryOptionDecl

public XQueryOptionDecl(PositionInfo pos,
                        QNameExpr option,
                        java.lang.String literal)
Constructor

Parameters:
pos - a PositionInfo
version - a String
Method Detail

getOption

public QNameExpr getOption()
Method getOption

Returns:
a QName

getLiteral

public java.lang.String getLiteral()
Method getLiteral

Returns:
a String

acceptVisitor

public void acceptVisitor(VisitorXQueryModulesAndProlog visitor)
                   throws XQueryException
Method acceptVisitor

Specified by:
acceptVisitor in interface XQueryPrologDecl
Parameters:
visitor - a VisitorXQuery
Throws:
QueryException
XQueryException