org.jfree.report.flow

Class LibLayoutReportTarget

Implemented Interfaces:
ReportTarget, StatefullReportTarget

public class LibLayoutReportTarget
extends AbstractReportTarget
implements StatefullReportTarget

Creation-Date: 07.03.2006, 18:56:37
Author:
Thomas Morgner

Nested Class Summary

protected static class
LibLayoutReportTarget.LibLayoutReportTargetState

Constructor Summary

LibLayoutReportTarget(ReportJob reportJob, ResourceKey baseResourceKey, ResourceManager resourceManager, LayoutProcess layoutProcess)
LibLayoutReportTarget(ReportJob reportJob, ResourceKey baseResource, ResourceManager resourceManager, LayoutProcess layoutProcess, NamespaceCollection namespaces)

Method Summary

void
commit()
void
endElement(AttributeMap attrs)
void
endReport(ReportStructureRoot report)
String
getExportDescriptor()
protected InputFeed
getInputFeed()
protected LayoutProcess
getLayoutProcess()
NamespaceDefinition
getNamespaceByUri(String uri)
NamespaceCollection
getNamespaces()
protected void
handleAttributes(AttributeMap map)
boolean
isPagebreakEncountered()
void
processContent(DataFlags value)
void
processText(String text)
void
resetPagebreakFlag()
ReportTargetState
saveState()
void
startElement(AttributeMap attrs)
void
startReport(ReportStructureRoot report)

Methods inherited from class org.jfree.report.flow.AbstractReportTarget

createDefaultNameSpaces, getBaseResource, getReportJob, getResourceManager

Constructor Details

LibLayoutReportTarget

public LibLayoutReportTarget(ReportJob reportJob,
                             ResourceKey baseResourceKey,
                             ResourceManager resourceManager,
                             LayoutProcess layoutProcess)
Parameters:
reportJob -
baseResourceKey - may be null, if the report has not gone through the parser
resourceManager - may be null, a generic resource manager will be built
layoutProcess -

LibLayoutReportTarget

protected LibLayoutReportTarget(ReportJob reportJob,
                                ResourceKey baseResource,
                                ResourceManager resourceManager,
                                LayoutProcess layoutProcess,
                                NamespaceCollection namespaces)

Method Details

commit

public void commit()
Specified by:
commit in interface ReportTarget

endElement

public void endElement(AttributeMap attrs)
            throws DataSourceException,
                   ReportProcessingException
Specified by:
endElement in interface ReportTarget

endReport

public void endReport(ReportStructureRoot report)
            throws DataSourceException,
                   ReportProcessingException
Specified by:
endReport in interface ReportTarget

getExportDescriptor

public String getExportDescriptor()
Specified by:
getExportDescriptor in interface ReportTarget

getInputFeed

protected InputFeed getInputFeed()

getLayoutProcess

protected LayoutProcess getLayoutProcess()

getNamespaceByUri

public NamespaceDefinition getNamespaceByUri(String uri)
Specified by:
getNamespaceByUri in interface ReportTarget

getNamespaces

public NamespaceCollection getNamespaces()

handleAttributes

protected void handleAttributes(AttributeMap map)
            throws ReportProcessingException

isPagebreakEncountered

public boolean isPagebreakEncountered()

processContent

public void processContent(DataFlags value)
            throws DataSourceException,
                   ReportProcessingException
Specified by:
processContent in interface ReportTarget

processText

public void processText(String text)
            throws DataSourceException,
                   ReportProcessingException
Specified by:
processText in interface ReportTarget

resetPagebreakFlag

public void resetPagebreakFlag()

saveState

public ReportTargetState saveState()
            throws StateException
Specified by:
saveState in interface StatefullReportTarget

startElement

public void startElement(AttributeMap attrs)
            throws DataSourceException,
                   ReportProcessingException
Specified by:
startElement in interface ReportTarget

startReport

public void startReport(ReportStructureRoot report)
            throws DataSourceException,
                   ReportProcessingException
Specified by:
startReport in interface ReportTarget