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

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.XQueryCompXmlPi
All Implemented Interfaces:
XQueryExpression, XQueryPrimaryExpr, XQueryXmlExpression, XQueryStepExpr, XQueryNode

public class XQueryCompXmlPi
extends XQueryPrimaryExprAbstract
implements XQueryXmlExpression

Author:
Michael Stark

Constructor Summary
XQueryCompXmlPi(PositionInfo pos, java.util.List<XQueryExpression> name, java.util.List<XQueryExpression> content)
          Constructor
XQueryCompXmlPi(PositionInfo pos, java.lang.String ncName, java.util.List<XQueryExpression> content)
          Constructor, a name is explicitly specified by means of an XS_NCName.
 
Method Summary
 void acceptVisitor(VisitorXQueryExpression visitor)
          Method acceptVisitor
 java.util.List<XQueryExpression> getContent()
          Method getContent
 java.util.List<XQueryExpression> getName()
          Method getName
 java.lang.String getNCName()
          Method getNCName
 boolean hasNameExpr()
          Method hasNameExpr
 
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
getCoreExpression
 
Methods inherited from interface de.fraunhofer.ipsi.xquery.tree.XQueryNode
getPosition
 

Constructor Detail

XQueryCompXmlPi

public XQueryCompXmlPi(PositionInfo pos,
                       java.lang.String ncName,
                       java.util.List<XQueryExpression> content)
Constructor, a name is explicitly specified by means of an XS_NCName.

Parameters:
column -
line -
ncName -
content -

XQueryCompXmlPi

public XQueryCompXmlPi(PositionInfo pos,
                       java.util.List<XQueryExpression> name,
                       java.util.List<XQueryExpression> content)
Constructor

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

hasNameExpr

public boolean hasNameExpr()
Method hasNameExpr

Returns:
a boolean

getNCName

public java.lang.String getNCName()
Method getNCName

Returns:
a XS_NCName

getName

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

Returns:
a XQueryExprSequence

getContent

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

Returns:
a XQueryExprSequence

acceptVisitor

public void acceptVisitor(VisitorXQueryExpression visitor)
                   throws XQueryException
Method acceptVisitor

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