de.fraunhofer.ipsi.xquery.tree
Class VisitorXQueryPrettyPrint

java.lang.Object
  extended by de.fraunhofer.ipsi.xquery.tree.VisitorXQueryPrettyPrint
All Implemented Interfaces:
VisitorXQueryExpression, VisitorXQueryModulesAndProlog, VisitorXQueryTypes

public class VisitorXQueryPrettyPrint
extends java.lang.Object
implements VisitorXQueryExpression, VisitorXQueryModulesAndProlog, VisitorXQueryTypes

XQuery Interpreter PrettyPrintPlugIn.

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

Constructor Summary
VisitorXQueryPrettyPrint(java.io.Writer output)
          Default constructor.
VisitorXQueryPrettyPrint(java.io.Writer output, boolean core)
          Constructor
 
Method Summary
 void process(XQuery op)
           
 void process(XQueryAbbreviatedStep op)
           
 void process(XQueryArithmeticOperator op)
           
 void process(XQueryAtomicType node)
           
 void process(XQueryAtStep op)
           
 void process(XQueryAttribute op)
           
 void process(XQueryAttributeTest node)
           
 void process(XQueryAxisStep op)
           
 void process(XQueryBaseURIDecl op)
           
 void process(XQueryCdataSection op)
           
 void process(XQueryComparisonOperator op)
           
 void process(XQueryCompNSConstructor op)
           
 void process(XQueryComputedAttributeConstructor op)
           
 void process(XQueryComputedDocumentConstructor op)
           
 void process(XQueryComputedElementConstructor op)
           
 void process(XQueryComputedTextConstructor op)
           
 void process(XQueryComputedXmlComment op)
           
 void process(XQueryCompXmlPi op)
           
 void process(XQueryConditionalExpr op)
           
 void process(XQueryConstructionDecl op)
           
 void process(XQueryContextItemExpr op)
           
 void process(XQueryCopyNamespacesDecl node)
          Method process
 void process(XQueryDefaultCollationDecl op)
           
 void process(XQueryDefaultNamespaceDecl op)
           
 void process(XQueryDefaultOrderingDecl op)
           
 void process(XQueryDocumentTest node)
           
 void process(XQueryElementConstructor op)
           
 void process(XQueryElementTest node)
           
 void process(XQueryEmptyOrderDecl node)
          Method process
 void process(XQueryEnclosedExpr op)
           
 void process(XQueryExpression singleExpr)
          Method process
 void process(XQueryExtensionExpr op)
          Method process
 void process(XQueryFLWOR op)
           
 void process(XQueryFunctionCall op)
           
 void process(XQueryFunctionDecl op)
           
 void process(XQueryInstanceofExpr op)
           
 void process(XQueryKindTest op)
           
 void process(XQueryLibraryModule op)
           
 void process(XQueryLiteral op)
           
 void process(XQueryLogicalOperator op)
           
 void process(XQueryModuleDecl op)
           
 void process(XQueryModuleImport op)
           
 void process(XQueryNamespaceDecl op)
           
 void process(XQueryNameTest op)
           
 void process(XQueryOptionDecl node)
          Method process
 void process(XQueryOrderingExpr op)
           
 void process(XQueryParenthesizedExpr op)
           
 void process(XQueryPathExpr op)
           
 void process(XQueryProcessingInstructionTest op)
           
 void process(XQueryProlog op)
           
 void process(XQueryQualifiedStep op)
           
 void process(XQueryQuantifiedExpr op)
           
 void process(XQuerySchemaImport op)
           
 void process(XQuerySequenceOperator op)
           
 void process(XQuerySequenceType node)
           
 void process(XQueryTypeExpr op)
           
 void process(XQueryTypeSwitch op)
           
 void process(XQueryUnaryOperator op)
           
 void process(XQueryValidateExpr op)
           
 void process(XQueryVarDecl op)
           
 void process(XQueryVariable op)
           
 void process(XQueryVersionDecl op)
           
 void process(XQueryXmlComment op)
           
 void process(XQueryXmlProcessingInstruction op)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisitorXQueryPrettyPrint

public VisitorXQueryPrettyPrint(java.io.Writer output)
Default constructor.

Parameters:
output - the stream where the output should be written.

VisitorXQueryPrettyPrint

public VisitorXQueryPrettyPrint(java.io.Writer output,
                                boolean core)
Constructor

Parameters:
output - a Writer
core - a boolean
Method Detail

process

public void process(XQuery op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryModulesAndProlog
Throws:
XQueryException

process

public void process(XQueryLibraryModule op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryModulesAndProlog
Throws:
XQueryException

process

public void process(XQueryArithmeticOperator op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryTypeExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryComparisonOperator op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryConditionalExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryFLWOR op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryInstanceofExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryLogicalOperator op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryQuantifiedExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQuerySequenceOperator op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryTypeSwitch op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryUnaryOperator op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryValidateExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryContextItemExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryFunctionCall op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryLiteral op)
Specified by:
process in interface VisitorXQueryExpression

process

public void process(XQueryOrderingExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryParenthesizedExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryVariable op)
Specified by:
process in interface VisitorXQueryExpression

process

public void process(XQueryVersionDecl op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryModulesAndProlog
Throws:
XQueryException

process

public void process(XQueryModuleDecl op)
Specified by:
process in interface VisitorXQueryModulesAndProlog

process

public void process(XQueryBaseURIDecl op)
Specified by:
process in interface VisitorXQueryModulesAndProlog

process

public void process(XQueryDefaultCollationDecl op)
Specified by:
process in interface VisitorXQueryModulesAndProlog

process

public void process(XQueryDefaultNamespaceDecl op)
Specified by:
process in interface VisitorXQueryModulesAndProlog

process

public void process(XQueryFunctionDecl op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryModulesAndProlog
Throws:
XQueryException

process

public void process(XQueryNamespaceDecl op)
Specified by:
process in interface VisitorXQueryModulesAndProlog

process

public void process(XQuerySchemaImport op)
Specified by:
process in interface VisitorXQueryModulesAndProlog

process

public void process(XQueryModuleImport op)
Specified by:
process in interface VisitorXQueryModulesAndProlog

process

public void process(XQueryConstructionDecl op)
Specified by:
process in interface VisitorXQueryModulesAndProlog

process

public void process(XQueryDefaultOrderingDecl op)
Specified by:
process in interface VisitorXQueryModulesAndProlog

process

public void process(XQueryVarDecl op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryModulesAndProlog
Throws:
XQueryException

process

public void process(XQueryProlog op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryModulesAndProlog
Throws:
XQueryException

process

public void process(XQueryAtomicType node)
Specified by:
process in interface VisitorXQueryTypes

process

public void process(XQueryAttributeTest node)
             throws XQueryException
Specified by:
process in interface VisitorXQueryTypes
Throws:
XQueryException

process

public void process(XQueryDocumentTest node)
             throws XQueryException
Specified by:
process in interface VisitorXQueryTypes
Throws:
XQueryException

process

public void process(XQueryElementTest node)
             throws XQueryException
Specified by:
process in interface VisitorXQueryTypes
Throws:
XQueryException

process

public void process(XQueryProcessingInstructionTest op)
Specified by:
process in interface VisitorXQueryTypes

process

public void process(XQuerySequenceType node)
Specified by:
process in interface VisitorXQueryTypes

process

public void process(XQueryAttribute op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryCdataSection op)
Specified by:
process in interface VisitorXQueryExpression

process

public void process(XQueryCompNSConstructor op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryComputedAttributeConstructor op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryComputedElementConstructor op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryComputedDocumentConstructor op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryComputedTextConstructor op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryComputedXmlComment op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryCompXmlPi op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryElementConstructor op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryEnclosedExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryXmlComment op)
Specified by:
process in interface VisitorXQueryExpression

process

public void process(XQueryXmlProcessingInstruction op)
Specified by:
process in interface VisitorXQueryExpression

process

public void process(XQueryAbbreviatedStep op)
Specified by:
process in interface VisitorXQueryExpression

process

public void process(XQueryAtStep op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryAxisStep op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryKindTest op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryNameTest op)
Specified by:
process in interface VisitorXQueryExpression

process

public void process(XQueryPathExpr op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryQualifiedStep op)
             throws XQueryException
Specified by:
process in interface VisitorXQueryExpression
Throws:
XQueryException

process

public void process(XQueryExpression singleExpr)
             throws XQueryException
Method process

Parameters:
singleExpr - a XQueryExpression
Throws:
XQueryException

process

public void process(XQueryOptionDecl node)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryModulesAndProlog
Parameters:
node - a XQueryOptionDecl
Throws:
XQueryException

process

public void process(XQueryCopyNamespacesDecl node)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryModulesAndProlog
Parameters:
node - a XQueryCopyNamespacesDecl
Throws:
XQueryException

process

public void process(XQueryEmptyOrderDecl node)
             throws XQueryException
Method process

Specified by:
process in interface VisitorXQueryModulesAndProlog
Parameters:
node - a XQueryEmptyOrderDecl
Throws:
XQueryException

process

public void process(XQueryExtensionExpr op)
             throws XQueryException
Method process

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