Package org.jfree.report.flow
Class LibLayoutReportTarget
- java.lang.Object
-
- org.jfree.report.flow.AbstractReportTarget
-
- org.jfree.report.flow.LibLayoutReportTarget
-
- All 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
Nested Classes Modifier and Type Class Description protected static classLibLayoutReportTarget.LibLayoutReportTargetState
-
Constructor Summary
Constructors Modifier Constructor Description LibLayoutReportTarget(ReportJob reportJob, org.pentaho.reporting.libraries.resourceloader.ResourceKey baseResourceKey, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.jfree.layouting.LayoutProcess layoutProcess)protectedLibLayoutReportTarget(ReportJob reportJob, org.pentaho.reporting.libraries.resourceloader.ResourceKey baseResource, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.jfree.layouting.LayoutProcess layoutProcess, org.jfree.layouting.namespace.NamespaceCollection namespaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit()voidendElement(org.jfree.layouting.util.AttributeMap attrs)voidendReport(ReportStructureRoot report)java.lang.StringgetExportDescriptor()protected org.jfree.layouting.layouter.feed.InputFeedgetInputFeed()protected org.jfree.layouting.LayoutProcessgetLayoutProcess()org.jfree.layouting.namespace.NamespaceDefinitiongetNamespaceByUri(java.lang.String uri)org.jfree.layouting.namespace.NamespaceCollectiongetNamespaces()protected voidhandleAttributes(org.jfree.layouting.util.AttributeMap map)booleanisPagebreakEncountered()voidprocessContent(DataFlags value)voidprocessText(java.lang.String text)voidresetPagebreakFlag()ReportTargetStatesaveState()voidstartElement(org.jfree.layouting.util.AttributeMap attrs)voidstartReport(ReportStructureRoot report)-
Methods inherited from class org.jfree.report.flow.AbstractReportTarget
createDefaultNameSpaces, getBaseResource, getReportJob, getResourceManager
-
-
-
-
Constructor Detail
-
LibLayoutReportTarget
public LibLayoutReportTarget(ReportJob reportJob, org.pentaho.reporting.libraries.resourceloader.ResourceKey baseResourceKey, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.jfree.layouting.LayoutProcess layoutProcess)
- Parameters:
reportJob-baseResourceKey- may be null, if the report has not gone through the parserresourceManager- may be null, a generic resource manager will be builtlayoutProcess-
-
LibLayoutReportTarget
protected LibLayoutReportTarget(ReportJob reportJob, org.pentaho.reporting.libraries.resourceloader.ResourceKey baseResource, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.jfree.layouting.LayoutProcess layoutProcess, org.jfree.layouting.namespace.NamespaceCollection namespaces)
-
-
Method Detail
-
saveState
public ReportTargetState saveState() throws org.jfree.layouting.StateException
- Specified by:
saveStatein interfaceStatefullReportTarget- Throws:
org.jfree.layouting.StateException
-
commit
public void commit()
- Specified by:
commitin interfaceReportTarget
-
getNamespaces
public org.jfree.layouting.namespace.NamespaceCollection getNamespaces()
-
isPagebreakEncountered
public boolean isPagebreakEncountered()
-
getLayoutProcess
protected org.jfree.layouting.LayoutProcess getLayoutProcess()
-
getInputFeed
protected org.jfree.layouting.layouter.feed.InputFeed getInputFeed()
-
startReport
public void startReport(ReportStructureRoot report) throws DataSourceException, ReportProcessingException
- Specified by:
startReportin interfaceReportTarget- Throws:
DataSourceExceptionReportProcessingException
-
startElement
public void startElement(org.jfree.layouting.util.AttributeMap attrs) throws DataSourceException, ReportProcessingException- Specified by:
startElementin interfaceReportTarget- Throws:
DataSourceExceptionReportProcessingException
-
processText
public void processText(java.lang.String text) throws DataSourceException, ReportProcessingException- Specified by:
processTextin interfaceReportTarget- Throws:
DataSourceExceptionReportProcessingException
-
processContent
public void processContent(DataFlags value) throws DataSourceException, ReportProcessingException
- Specified by:
processContentin interfaceReportTarget- Throws:
DataSourceExceptionReportProcessingException
-
getNamespaceByUri
public org.jfree.layouting.namespace.NamespaceDefinition getNamespaceByUri(java.lang.String uri)
- Specified by:
getNamespaceByUriin interfaceReportTarget
-
handleAttributes
protected void handleAttributes(org.jfree.layouting.util.AttributeMap map) throws ReportProcessingException- Throws:
ReportProcessingException
-
endElement
public void endElement(org.jfree.layouting.util.AttributeMap attrs) throws DataSourceException, ReportProcessingException- Specified by:
endElementin interfaceReportTarget- Throws:
DataSourceExceptionReportProcessingException
-
endReport
public void endReport(ReportStructureRoot report) throws DataSourceException, ReportProcessingException
- Specified by:
endReportin interfaceReportTarget- Throws:
DataSourceExceptionReportProcessingException
-
resetPagebreakFlag
public void resetPagebreakFlag()
-
getExportDescriptor
public java.lang.String getExportDescriptor()
- Specified by:
getExportDescriptorin interfaceReportTarget
-
-