de.fraunhofer.ipsi.xquery.tree.xml
Class XQueryComputedConstructorAbstract

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.xml.XQueryComputedConstructorAbstract
All Implemented Interfaces:
XQueryExpression, XQueryPrimaryExpr, XQueryXmlExpression, XQueryStepExpr, XQueryNode
Direct Known Subclasses:
XQueryComputedAttributeConstructor, XQueryComputedElementConstructor

public abstract class XQueryComputedConstructorAbstract
extends XQueryPrimaryExprAbstract
implements XQueryXmlExpression

XQuery Interpreter ElementConstructorOperator.

Since:
CVS $Date: 2005/07/22 10:05:50 $
Version:
CVS $Revision: 1.4 $

Constructor Summary
XQueryComputedConstructorAbstract(PositionInfo pos, java.util.List<XQueryExpression> expr, java.util.List<XQueryExpression> content)
          Constructor
XQueryComputedConstructorAbstract(PositionInfo pos, QNameExpr namespec, java.util.List<XQueryExpression> content)
          Constructor
 
Method Summary
 java.util.List<XQueryExpression> getContent()
          Method getContent
 QNameExpr getName()
          Method getName
 java.util.List<XQueryExpression> getNameExpr()
          Method getNameExpr
 boolean hasNameExpr()
          Method hasNameExpr
 boolean isEmpty()
          Method isEmpty
 
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.xpath.XQueryStepExpr
isForwardStep
 
Methods inherited from interface de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpression
acceptVisitor, getCoreExpression
 
Methods inherited from interface de.fraunhofer.ipsi.xquery.tree.XQueryNode
getPosition
 

Constructor Detail

XQueryComputedConstructorAbstract

public XQueryComputedConstructorAbstract(PositionInfo pos,
                                         QNameExpr namespec,
                                         java.util.List<XQueryExpression> content)
Constructor

Parameters:
column - an int
line - an int
namespec - a QName
content - a XQueryExprSequence

XQueryComputedConstructorAbstract

public XQueryComputedConstructorAbstract(PositionInfo pos,
                                         java.util.List<XQueryExpression> expr,
                                         java.util.List<XQueryExpression> content)
Constructor

Parameters:
column - an int
line - an int
expr - a XQueryExpression
content - a XQueryExprSequence
Method Detail

isEmpty

public boolean isEmpty()
Method isEmpty

Returns:
a boolean

hasNameExpr

public boolean hasNameExpr()
Method hasNameExpr

Returns:
a boolean

getContent

public java.util.List<XQueryExpression> getContent()
Method getContent

Returns:
a XQueryExprSequence

getName

public QNameExpr getName()
Method getName

Returns:
a QName

getNameExpr

public java.util.List<XQueryExpression> getNameExpr()
Method getNameExpr

Returns:
a XQueryExpression