public class LibLayoutReportTarget extends AbstractReportTarget implements StatefullReportTarget
| Modifier and Type | Class and Description |
|---|---|
protected static class |
LibLayoutReportTarget.LibLayoutReportTargetState |
| Modifier | Constructor and Description |
|---|---|
|
LibLayoutReportTarget(ReportJob reportJob,
org.pentaho.reporting.libraries.resourceloader.ResourceKey baseResourceKey,
org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager,
org.jfree.layouting.LayoutProcess layoutProcess) |
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
void |
endElement(org.jfree.layouting.util.AttributeMap attrs) |
void |
endReport(ReportStructureRoot report) |
java.lang.String |
getExportDescriptor() |
protected org.jfree.layouting.layouter.feed.InputFeed |
getInputFeed() |
protected org.jfree.layouting.LayoutProcess |
getLayoutProcess() |
org.jfree.layouting.namespace.NamespaceDefinition |
getNamespaceByUri(java.lang.String uri) |
org.jfree.layouting.namespace.NamespaceCollection |
getNamespaces() |
protected void |
handleAttributes(org.jfree.layouting.util.AttributeMap map) |
boolean |
isPagebreakEncountered() |
void |
processContent(DataFlags value) |
void |
processText(java.lang.String text) |
void |
resetPagebreakFlag() |
ReportTargetState |
saveState() |
void |
startElement(org.jfree.layouting.util.AttributeMap attrs) |
void |
startReport(ReportStructureRoot report) |
createDefaultNameSpaces, getBaseResource, getReportJob, getResourceManagerpublic LibLayoutReportTarget(ReportJob reportJob, org.pentaho.reporting.libraries.resourceloader.ResourceKey baseResourceKey, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.jfree.layouting.LayoutProcess layoutProcess)
reportJob - baseResourceKey - may be null, if the report has not gone through the parserresourceManager - may be null, a generic resource manager will be builtlayoutProcess - 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)
public ReportTargetState saveState() throws org.jfree.layouting.StateException
saveState in interface StatefullReportTargetorg.jfree.layouting.StateExceptionpublic void commit()
commit in interface ReportTargetpublic org.jfree.layouting.namespace.NamespaceCollection getNamespaces()
public boolean isPagebreakEncountered()
protected org.jfree.layouting.LayoutProcess getLayoutProcess()
protected org.jfree.layouting.layouter.feed.InputFeed getInputFeed()
public void startReport(ReportStructureRoot report) throws DataSourceException, ReportProcessingException
startReport in interface ReportTargetDataSourceExceptionReportProcessingExceptionpublic void startElement(org.jfree.layouting.util.AttributeMap attrs)
throws DataSourceException,
ReportProcessingException
startElement in interface ReportTargetDataSourceExceptionReportProcessingExceptionpublic void processText(java.lang.String text)
throws DataSourceException,
ReportProcessingException
processText in interface ReportTargetDataSourceExceptionReportProcessingExceptionpublic void processContent(DataFlags value) throws DataSourceException, ReportProcessingException
processContent in interface ReportTargetDataSourceExceptionReportProcessingExceptionpublic org.jfree.layouting.namespace.NamespaceDefinition getNamespaceByUri(java.lang.String uri)
getNamespaceByUri in interface ReportTargetprotected void handleAttributes(org.jfree.layouting.util.AttributeMap map)
throws ReportProcessingException
ReportProcessingExceptionpublic void endElement(org.jfree.layouting.util.AttributeMap attrs)
throws DataSourceException,
ReportProcessingException
endElement in interface ReportTargetDataSourceExceptionReportProcessingExceptionpublic void endReport(ReportStructureRoot report) throws DataSourceException, ReportProcessingException
endReport in interface ReportTargetDataSourceExceptionReportProcessingExceptionpublic void resetPagebreakFlag()
public java.lang.String getExportDescriptor()
getExportDescriptor in interface ReportTarget