de.fraunhofer.ipsi.xquery.tree.primary
Class XQueryLiteral

java.lang.Object
  extended by de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
      extended by de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpressionAbstract
          extended by de.fraunhofer.ipsi.xquery.tree.primary.XQueryPrimaryExprAbstract
              extended by de.fraunhofer.ipsi.xquery.tree.primary.XQueryLiteral
All Implemented Interfaces:
XQueryExpression, XQueryPrimaryExpr, XQueryStepExpr, XQueryNode

public class XQueryLiteral
extends XQueryPrimaryExprAbstract

XQuery Interpreter LiteralOperator.

Since:
CVS $Date: 2004/08/31 10:41:11 $
Version:
CVS $Revision: 1.4 $
Author:
Tobias Groh, Sven Overhage

Constructor Summary
XQueryLiteral(PositionInfo pos, XDT_AnyAtomicType o)
          Constructor
 
Method Summary
 void acceptVisitor(VisitorXQueryExpression visitor)
          Method acceptVisitor
 void appendString(java.lang.String s)
          Method appendString
 XDT_AnyAtomicType getLiteral()
          Method getLiteral
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.primary.XQueryPrimaryExprAbstract
isForwardStep
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpressionAbstract
getCoreExpression, setCoreExpression, toString
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
getPosition, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpression
getCoreExpression
 
Methods inherited from interface de.fraunhofer.ipsi.xquery.tree.XQueryNode
getPosition
 

Constructor Detail

XQueryLiteral

public XQueryLiteral(PositionInfo pos,
                     XDT_AnyAtomicType o)
Constructor

Parameters:
column - an int
line - an int
o - a XS_AnySimpleType
Method Detail

appendString

public void appendString(java.lang.String s)
Method appendString

Parameters:
s - a String

getLiteral

public XDT_AnyAtomicType getLiteral()
Method getLiteral

Returns:
an AnyType

acceptVisitor

public void acceptVisitor(VisitorXQueryExpression visitor)
                   throws XQueryException
Method acceptVisitor

Parameters:
visitor - a VisitorXQuery
Throws:
QueryException
XQueryException