|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.report.block.AbstractBlock
public abstract class AbstractBlock
Base for Report Blocks.
All blocks support the following attribute (XXX NO LONGER: FIX COMMENT):
keep-with-next - when set to always, means that it will
be rendered in the same page as the next block.
| Method Summary | |
|---|---|
ReportElement |
filterChildReportElement(ReportElement element)
When any ReportElement is added as a child of the peer ReportElement, it is filtered through this method. |
info.informatica.doc.dom4j.CSSStylableElement |
filterChildXHTMLElement(info.informatica.doc.dom4j.CSSStylableElement element)
When any CSSStylableElement is added as a child of the peer ReportElement, it is filtered through this method. |
info.informatica.util.ConditionalExpression |
getCondition()
|
ReportElement |
getPeerElement()
|
ReportDataSpec |
getReportDataSpec()
Gets the dataspec which references this block, in case of a DynamicBlock. |
Properties |
getTransformParameters()
|
abstract void |
init()
Arranges the block for printing. |
boolean |
isHidden(Dataset dataset)
Should this dataspec be printed ? |
void |
printSample(ReportWriter rw)
Print a sample of this block. |
void |
setCondition(info.informatica.util.ConditionalExpression conditional)
|
void |
setReportDataSpec(ReportDataSpec spec)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ReportElement getPeerElement()
getPeerElement in interface Blockpublic Properties getTransformParameters()
getTransformParameters in interface Blockpublic ReportDataSpec getReportDataSpec()
getReportDataSpec in interface Blockpublic void setReportDataSpec(ReportDataSpec spec)
setReportDataSpec in interface Blockpublic boolean isHidden(Dataset dataset)
isHidden in interface Blockdataset - the Dataset to be rendered.
public void setCondition(info.informatica.util.ConditionalExpression conditional)
setCondition in interface Blockpublic info.informatica.util.ConditionalExpression getCondition()
getCondition in interface Blockpublic info.informatica.doc.dom4j.CSSStylableElement filterChildXHTMLElement(info.informatica.doc.dom4j.CSSStylableElement element)
BlockIf the method returns null, the element will not be added.
filterChildXHTMLElement in interface Blockelement - the child element.
public ReportElement filterChildReportElement(ReportElement element)
BlockIf the method returns null, the element will not be added.
filterChildReportElement in interface Blockelement - the child element.
public abstract void init()
throws info.informatica.doc.DocumentFormatException
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.
init in interface Blockinfo.informatica.doc.DocumentFormatException
public void printSample(ReportWriter rw)
throws info.informatica.doc.RenderingException
Block
printSample in interface Blockrw - the ReportWriter to write to.
info.informatica.doc.RenderingException - if cannot render the sample.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||