de.fraunhofer.ipsi.xquery.tree
Class VisitorXQueryMappingToCore

java.lang.Object
  extended by de.fraunhofer.ipsi.xquery.tree.VisitorXQueryMappingToCore
All Implemented Interfaces:
NamespaceConstants, VisitorXQueryExpression

public class VisitorXQueryMappingToCore
extends java.lang.Object
implements VisitorXQueryExpression, NamespaceConstants

Core Interpreter MappingtoCore.

Since:
CVS $Date: 2005/07/22 10:05:49 $
Version:
CVS $Revision: 1.33 $
Author:
Andreas Lohmann, Tobias Groh, Sven Overhage, Patrick Lehti

Field Summary
 
Fields inherited from interface de.fraunhofer.ipsi.xquery.context.NamespaceConstants
FN, FS, IPSIXQ_NS, LOCAL, XDT, XML, XMLNS, XS, XSD, XSI
 
Constructor Summary
VisitorXQueryMappingToCore(StaticContext context)
          Constructor.
 
Method Summary
 java.util.List<de.fraunhofer.ipsi.ipsixq.coretree.CoreExpression> process(java.util.List<XQueryExpression> list)
          Method process
 void process(XQueryAbbreviatedStep op)
          Method process
 void process(XQueryArithmeticOperator op)
          Method process
 void process(XQueryAtStep op)
          Method process
 void process(XQueryAttribute op)
          Method process
 void process(XQueryAxisStep op)
          Method process
 void process(XQueryCdataSection op)
          Method process
 void process(XQueryComparisonOperator op)
          Method process
 void process(XQueryCompNSConstructor op)
          Core mapping according to 'Formal Semantics WD 08|22|2003 section 4.7.3.7'.
 void process(XQueryComputedAttributeConstructor op)
          Method process
 void process(XQueryComputedDocumentConstructor op)
          Method process
 void process(XQueryComputedElementConstructor op)
          Method process
 void process(XQueryComputedTextConstructor op)
          Method process
 void process(XQueryComputedXmlComment op)
          Core mapping according to 'Formal Semantics WD 08|22|2003 section 4.7.3.6'.
 void process(XQueryCompXmlPi op)
          Core mapping according to 'Formal Semantics WD 08|22|2003 section 4.7.3.5'.
 void process(XQueryConditionalExpr op)
          Method process
 void process(XQueryContextItemExpr op)
          Method process
 void process(XQueryElementConstructor op)
          Method process
 void process(XQueryEnclosedExpr op)
          Method process
 void process(XQueryExtensionExpr op)
          Method process
 void process(XQueryFLWOR op)
          Method process
 void process(XQueryFunctionCall op)
          First, each argument in a function call is normalized to its corresponding core expression by applying []FormalArgument.
 void process(XQueryInstanceofExpr op)
          Method process
 void process(XQueryKindTest op)
          Method process
 void process(XQueryLiteral op)
          All literals are core expressions, therefore there are no normalization rules for literals.
 void process(XQueryLogicalOperator op)
          Method process
 void process(XQueryNameTest op)
          Method process
 void process(XQueryOrderingExpr op)
          Method process
 void process(XQueryParenthesizedExpr op)
          Method process
 void process(XQueryPathExpr op)
          Method process
 void process(XQueryQualifiedStep op)
          Method process
 void process(XQueryQuantifiedExpr op)
          Method process
 void process(XQuerySequenceOperator op)
          Method process
 void process(XQueryTypeExpr op)
          Method process
 void process(XQueryTypeSwitch op)
          Method process
 void process(XQueryUnaryOperator op)
          Method process
 void process(XQueryValidateExpr op)
          Method process
 void process(XQueryVariable op)
          A variable is a core expression, therefore there is no normalization rule for a variable.
 void process(XQueryXmlComment op)
          Method process
 void process(XQueryXmlProcessingInstruction op)
          Method process
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisitorXQueryMappingToCore

public VisitorXQueryMappingToCore(StaticContext context)
Constructor.

Method Detail

process

public void process(XQueryLiteral op)
All literals are core expressions, therefore there are no normalization rules for literals.

Specified by:
process in interface VisitorXQueryExpression

process

public void process(XQueryVariable op)
             throws XQueryException
A variable is a core expression, therefore there is no normalization rule for a variable.

Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryParenthesizedExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryParenthesizedExpr
Throws:
XQueryException

process

public void process(XQueryContextItemExpr op)
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryContextItemExpr

process

public void process(XQueryFunctionCall op)
             throws XQueryException
First, each argument in a function call is normalized to its corresponding core expression by applying []FormalArgument.

Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryPathExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryPathExpr
Throws:
XQueryException

process

public void process(XQueryQualifiedStep op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryQualifiedStep
Throws:
XQueryException

process

public void process(XQueryAxisStep op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryAxisStep
Throws:
XQueryException

process

public void process(XQueryNameTest op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryNameTest
Throws:
XQueryException

process

public void process(XQueryKindTest op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryKindTest
Throws:
XQueryException

process

public void process(XQueryAbbreviatedStep op)
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryAbbreviatedStep

process

public void process(XQueryAtStep op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryAtStep
Throws:
XQueryException

process

public void process(XQuerySequenceOperator op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQuerySequenceOperator
Throws:
XQueryException

process

public void process(XQueryArithmeticOperator op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryArithmeticOperator
Throws:
XQueryException

process

public void process(XQueryUnaryOperator op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryUnaryOperator
Throws:
XQueryException

process

public void process(XQueryComparisonOperator op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryComparisonOperator
Throws:
XQueryException

process

public void process(XQueryLogicalOperator op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryLogicalOperator
Throws:
XQueryException

process

public void process(XQueryElementConstructor op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryElementConstructor
Throws:
XQueryException

process

public void process(XQueryAttribute op)
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryAttribute
Throws:
XQueryException

process

public void process(XQueryCdataSection op)
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryCdataSection

process

public void process(XQueryXmlProcessingInstruction op)
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryXmlProcessingInstruction

process

public void process(XQueryXmlComment op)
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryXmlComment

process

public void process(XQueryEnclosedExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryEnclosedExpr
Throws:
XQueryException

process

public void process(XQueryComputedElementConstructor op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryComputedElementConstructor
Throws:
XQueryException

process

public void process(XQueryComputedAttributeConstructor op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryComputedAttributeConstructor
Throws:
XQueryException

process

public void process(XQueryComputedDocumentConstructor op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryComputedDocumentConstructor
Throws:
XQueryException

process

public void process(XQueryComputedTextConstructor op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryComputedTextConstructor
Throws:
XQueryException

process

public void process(XQueryComputedXmlComment op)
             throws XQueryException
Core mapping according to 'Formal Semantics WD 08|22|2003 section 4.7.3.6'.

Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryCompNSConstructor op)
             throws XQueryException
Core mapping according to 'Formal Semantics WD 08|22|2003 section 4.7.3.7'.

Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryCompXmlPi op)
             throws XQueryException
Core mapping according to 'Formal Semantics WD 08|22|2003 section 4.7.3.5'.

Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryFLWOR op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryFLWOR
Throws:
XQueryException

process

public void process(XQueryOrderingExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryOrderingExpr
Throws:
XQueryException

process

public void process(XQueryConditionalExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryConditionalExpr
Throws:
XQueryException

process

public void process(XQueryQuantifiedExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryQuantifiedExpr
Throws:
XQueryException

process

public void process(XQueryInstanceofExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryInstanceofExpr
Throws:
XQueryException

process

public void process(XQueryTypeSwitch op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryTypeSwitch
Throws:
XQueryException

process

public void process(XQueryTypeExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryTypeExpr
Throws:
XQueryException

process

public void process(XQueryValidateExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
op - a XQueryValidateExpr
Throws:
XQueryException

process

public void process(XQueryExtensionExpr op)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryExpression
Parameters:
node - a XQueryExtensionExpr
Throws:
XQueryException

process

public java.util.List<de.fraunhofer.ipsi.ipsixq.coretree.CoreExpression> process(java.util.List<XQueryExpression> list)
                                                                          throws XQueryException
Method process

Parameters:
list - a List
Returns:
a List
Throws:
XQueryException