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

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

public class XQueryNamespaceDecl
extends XQueryNodeAbstract
implements XQueryPrologDecl


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

XQueryNamespaceDecl

public XQueryNamespaceDecl(PositionInfo pos,
                           java.lang.String name,
                           java.lang.String literal)
Constructor

Parameters:
column - an int
line - an int
name - a XS_NCName
literal - a XS_AnyURI
Method Detail

getName

public java.lang.String getName()
Method getName

Returns:
a XS_NCName

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