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

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

public class XQueryModuleDecl
extends XQueryNodeAbstract
implements XQueryPrologDecl


Constructor Summary
XQueryModuleDecl(PositionInfo pos, java.lang.String name, java.lang.String targetNamespace)
          Constructor.
 
Method Summary
 void acceptVisitor(VisitorXQueryModulesAndProlog visitor)
          Method acceptVisitor
 java.lang.String getName()
          Method getName
 java.lang.String getTargetNamespace()
          Method getTargetNamespace
 
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

XQueryModuleDecl

public XQueryModuleDecl(PositionInfo pos,
                        java.lang.String name,
                        java.lang.String targetNamespace)
Constructor.

Method Detail

getName

public java.lang.String getName()
Method getName

Returns:
XS_NCName

getTargetNamespace

public java.lang.String getTargetNamespace()
Method getTargetNamespace

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