jbreport.util
Class XMLOutputReportVisitor

java.lang.Object
jbreport.util.XMLOutputReportVisitor
- All Implemented Interfaces:
- jbreport.core.ReportVisitor
- public class XMLOutputReportVisitor
- extends java.lang.Object
- implements jbreport.core.ReportVisitor
This should be capable of outputting the full xml definition of the report
structure.
At the moment it caters for the names of the elements, and their
identifiers if present.
- Version:
- $Revision: 1.1.1.1 $
|
Method Summary |
private java.lang.String |
createOutput(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitAggregate(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitDatasource(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitDocument(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitFragment(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitGroup(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitInclude(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitQuery(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitQueryBoundResult(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitReportComposite(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitReportSection(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitRepository(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitSectionBreak(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitStyle(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitStylesheet(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitTable(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitTableHeaderItem(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitTableHeaderRow(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitTableRow(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
void |
visitTLine(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
private java.io.PrintWriter out
- The output stream used by this visitor
autoFlush
private boolean autoFlush
- Should we flush before exiting each method?
XMLOutputReportVisitor
public XMLOutputReportVisitor()
XMLOutputReportVisitor
public XMLOutputReportVisitor(java.io.PrintWriter out,
boolean autoFlush)
visitReportComposite
public void visitReportComposite(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitReportComposite in interface jbreport.core.ReportVisitor
visitGroup
public void visitGroup(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitGroup in interface jbreport.core.ReportVisitor
visitReportSection
public void visitReportSection(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitReportSection in interface jbreport.core.ReportVisitor
visitQuery
public void visitQuery(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitQuery in interface jbreport.core.ReportVisitor
visitDatasource
public void visitDatasource(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitDatasource in interface jbreport.core.ReportVisitor
visitRepository
public void visitRepository(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitRepository in interface jbreport.core.ReportVisitor
visitDocument
public void visitDocument(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitDocument in interface jbreport.core.ReportVisitor
visitFragment
public void visitFragment(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitFragment in interface jbreport.core.ReportVisitor
visitInclude
public void visitInclude(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitInclude in interface jbreport.core.ReportVisitor
visitQueryBoundResult
public void visitQueryBoundResult(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitQueryBoundResult in interface jbreport.core.ReportVisitor
visitSectionBreak
public void visitSectionBreak(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitSectionBreak in interface jbreport.core.ReportVisitor
visitTLine
public void visitTLine(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitTLine in interface jbreport.core.ReportVisitor
visitTable
public void visitTable(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitTable in interface jbreport.core.ReportVisitor
visitTableHeaderRow
public void visitTableHeaderRow(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitTableHeaderRow in interface jbreport.core.ReportVisitor
visitTableHeaderItem
public void visitTableHeaderItem(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitTableHeaderItem in interface jbreport.core.ReportVisitor
visitTableRow
public void visitTableRow(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitTableRow in interface jbreport.core.ReportVisitor
visitStylesheet
public void visitStylesheet(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitStylesheet in interface jbreport.core.ReportVisitor
visitStyle
public void visitStyle(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitStyle in interface jbreport.core.ReportVisitor
visitAggregate
public void visitAggregate(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)
throws jbreport.ReportException
- Specified by:
visitAggregate in interface jbreport.core.ReportVisitor
createOutput
private java.lang.String createOutput(jbreport.ReportElement elem,
jbreport.core.ReportVisitorState state)