info.informatica.report.block
Class RowTemplateBlock
java.lang.Object
info.informatica.report.block.AbstractBlock
info.informatica.report.block.DynamicBlock
info.informatica.report.block.RowTemplateBlock
- All Implemented Interfaces:
- Block, DataBlock
public class RowTemplateBlock
- extends DynamicBlock
- implements DataBlock
A DynamicBlock that supports DataFormatter formatting.
- Author:
- amengual at informatica dot info
RowTemplateBlock
public RowTemplateBlock(ReportElement peerElement)
init
public void init()
throws info.informatica.doc.DocumentFormatException
- Description copied from class:
AbstractBlock
- Arranges the block for printing. This method must be called before
printing.
Note that blocks implementing NativeBlock must also call initRender(),
after init().
This method needs to be called only once, typically before generating the
data to be able to check for configuration errors.
- Specified by:
init in interface Block- Specified by:
init in class AbstractBlock
- Throws:
info.informatica.doc.DocumentFormatException - if is unable to initialize due to a syntax or formatting
problem.
setRowTemplate
public void setRowTemplate(String row)
throws info.informatica.doc.DocumentFormatException
- Throws:
info.informatica.doc.DocumentFormatException
getRowSpec
public DataFormatter getRowSpec()
print
public void print(ReportWriter rw,
Dataset rd)
throws info.informatica.doc.RenderingException
- Description copied from interface:
DataBlock
- Prints a Dataset object.
Uses the ReportWriter object to draw an object representation of the
printed data.
- Specified by:
print in interface DataBlock
- Parameters:
rw - the ReportWriter object.rd - the dataset.
- Throws:
info.informatica.doc.RenderingException - if a problem occurred when rendering the block.