public class ReportOwner extends java.lang.Object implements RMKeyChain.Get
Modifier and Type | Class and Description |
---|---|
static class |
ReportOwner.ShapeList
A shape class to represent multiple pages of shapes.
|
Constructor and Description |
---|
ReportOwner() |
Modifier and Type | Method and Description |
---|---|
void |
addModelObject(java.lang.Object anObj)
Sets objects in this reportmill.
|
void |
addPageReferenceShape(RMShape aShape)
Registers a shape with a page key in it.
|
protected java.lang.Object |
convertToStandardType(java.lang.Object anObj)
Called by various objects to convert objects to generic types.
|
protected RMDocument |
createTemplate()
Creates the template.
|
RMDocument |
generateReport()
Generates the report.
|
java.util.List |
getKeyChainListValue(java.lang.String aKeyChain)
Returns a list for the given keychain.
|
java.lang.Object |
getKeyChainValue(java.lang.Object aRoot,
RMKeyChain aKeyChain)
RMKeyChain.Get implementation to run against DataStack.
|
java.lang.Object |
getModel()
Returns the model object.
|
java.lang.String |
getNullString()
Returns the string used to represent null values.
|
java.util.List<RMShape> |
getPageReferenceShapes()
Returns the list of page reference shapes.
|
boolean |
getPaginate()
Returns whether this reportmill paginates.
|
RMDocument |
getTemplate()
Returns the template.
|
java.lang.Object |
peekDataStack()
Returns the last data object in the data objects list.
|
java.lang.Object |
popDataStack()
Removes a specific object at given index in list.
|
void |
pushDataStack(java.lang.Object anObj)
Adds a data object to the data object list.
|
void |
resolvePageReferences()
Performs page substitutions on any text fields that were identified as containing @Page@ keys.
|
RMShape |
rpg(RMShape aShape,
RMShape aParent)
Performs RPG on a given shape.
|
void |
setNullString(java.lang.String aString)
Sets the string used to represent null values.
|
void |
setPageReferenceShapes(java.util.List aList)
Sets the list of page reference shapes.
|
void |
setPaginate(boolean aFlag)
Sets whether this reportmill paginates.
|
protected void |
setTemplate(RMDocument aDoc)
Sets the template.
|
public RMDocument getTemplate()
protected RMDocument createTemplate()
protected void setTemplate(RMDocument aDoc)
public java.lang.String getNullString()
public void setNullString(java.lang.String aString)
public boolean getPaginate()
public void setPaginate(boolean aFlag)
public java.lang.Object getModel()
public void addModelObject(java.lang.Object anObj)
public void pushDataStack(java.lang.Object anObj)
public java.lang.Object popDataStack()
public java.lang.Object peekDataStack()
public RMDocument generateReport()
public java.util.List<RMShape> getPageReferenceShapes()
public void setPageReferenceShapes(java.util.List aList)
public void addPageReferenceShape(RMShape aShape)
public java.lang.Object getKeyChainValue(java.lang.Object aRoot, RMKeyChain aKeyChain)
getKeyChainValue
in interface RMKeyChain.Get
public java.util.List getKeyChainListValue(java.lang.String aKeyChain)
protected java.lang.Object convertToStandardType(java.lang.Object anObj)
public void resolvePageReferences()