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

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

public class XQueryDefaultNamespaceDecl
extends XQueryNodeAbstract
implements XQueryPrologDecl


Constructor Summary
XQueryDefaultNamespaceDecl(PositionInfo pos, NamespaceEnum kind, java.lang.String literal)
          Constructor
 
Method Summary
 void acceptVisitor(VisitorXQueryModulesAndProlog visitor)
          Method acceptVisitor
 NamespaceEnum getKind()
          Method getKind
 java.lang.String getLiteral()
          Method getLiteral
 
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

XQueryDefaultNamespaceDecl

public XQueryDefaultNamespaceDecl(PositionInfo pos,
                                  NamespaceEnum kind,
                                  java.lang.String literal)
Constructor

Parameters:
column - an int
line - an int
kind - a NSKind
literal - a XS_AnyURI
Method Detail

getKind

public NamespaceEnum getKind()
Method getKind

Returns:
an Enum

getLiteral

public java.lang.String getLiteral()
Method getLiteral

Returns:
a XS_AnyURI

acceptVisitor

public void acceptVisitor(VisitorXQueryModulesAndProlog visitor)
                   throws XQueryException
Method acceptVisitor

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