org.outerj.xreporter.report.definition
Class XMLSerializingGroupVisitor

java.lang.Object
  extended byorg.outerj.xreporter.report.definition.XMLSerializingGroupVisitor
All Implemented Interfaces:
GroupVisitor

public class XMLSerializingGroupVisitor
extends java.lang.Object
implements GroupVisitor

A Group visitor that serializes the groups (and the summaries and rows contained in them) to XML.


Field Summary
protected  Column[] columns
           
protected  org.xml.sax.ContentHandler contentHandler
           
protected  DatabaseOutputDefinition databaseOutputDefinition
           
protected  ExecutionContext executionContext
           
protected static java.lang.String FIELD_EL
           
protected static java.lang.String GROUP_EL
           
protected static java.lang.String GROUP_VALUE_EL
           
protected  GroupDefinition[] groupDefinitions
           
protected  int groupNestingLevel
           
protected  LinkDefinition[] linkDefinitions
           
protected  Resources reportResources
           
protected  ResourceHandle resourceHandle
           
protected static java.lang.String ROW_EL
           
protected static java.lang.String SUMMARY_EL
           
protected static java.lang.String SUMMARY_FIELD_EL
           
protected  Table table
           
 
Constructor Summary
XMLSerializingGroupVisitor(org.xml.sax.ContentHandler contentHandler, Table table, DatabaseOutputDefinition databaseOutputDefinition, ExecutionContext executionContext, ResourceHandle resourceHandle)
           
 
Method Summary
 void endVisitGroup(Group group)
           
 void startVisitGroup(Group group)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentHandler

protected org.xml.sax.ContentHandler contentHandler

table

protected Table table

columns

protected Column[] columns

resourceHandle

protected ResourceHandle resourceHandle

groupDefinitions

protected GroupDefinition[] groupDefinitions

databaseOutputDefinition

protected DatabaseOutputDefinition databaseOutputDefinition

executionContext

protected ExecutionContext executionContext

linkDefinitions

protected LinkDefinition[] linkDefinitions

reportResources

protected Resources reportResources

groupNestingLevel

protected int groupNestingLevel

GROUP_EL

protected static final java.lang.String GROUP_EL
See Also:
Constant Field Values

ROW_EL

protected static final java.lang.String ROW_EL
See Also:
Constant Field Values

FIELD_EL

protected static final java.lang.String FIELD_EL
See Also:
Constant Field Values

GROUP_VALUE_EL

protected static final java.lang.String GROUP_VALUE_EL
See Also:
Constant Field Values

SUMMARY_EL

protected static final java.lang.String SUMMARY_EL
See Also:
Constant Field Values

SUMMARY_FIELD_EL

protected static final java.lang.String SUMMARY_FIELD_EL
See Also:
Constant Field Values
Constructor Detail

XMLSerializingGroupVisitor

public XMLSerializingGroupVisitor(org.xml.sax.ContentHandler contentHandler,
                                  Table table,
                                  DatabaseOutputDefinition databaseOutputDefinition,
                                  ExecutionContext executionContext,
                                  ResourceHandle resourceHandle)
Method Detail

startVisitGroup

public void startVisitGroup(Group group)
                     throws java.lang.Exception
Specified by:
startVisitGroup in interface GroupVisitor
Throws:
java.lang.Exception

endVisitGroup

public void endVisitGroup(Group group)
                   throws java.lang.Exception
Specified by:
endVisitGroup in interface GroupVisitor
Throws:
java.lang.Exception