|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A named template that can generate reports and recommend themes.
Report| Method Summary | |
Report |
createReport(java.lang.Object content)
Creates a report with the specified content and with the default theme. |
Report |
createReport(java.lang.Object content,
Theme theme)
Creates a report with the specified content and theme. |
Theme |
getDefaultTheme()
Returns the default report theme compatible with reports generated by this template. |
java.lang.String |
getName()
Returns a localized name of this report template. |
java.util.Set |
getThemes()
Returns a set of themes compatible with this template's reports. |
| Method Detail |
public Report createReport(java.lang.Object content)
throws java.lang.IllegalArgumentException
content - content of the report to be generated
null report with the specified content
java.lang.IllegalArgumentException - if content is not appropriate
(wrong class, e.g.) for the reports generated by this templatecreateReport(Object,Theme)
public Report createReport(java.lang.Object content,
Theme theme)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
content - content of the report to be generatedtheme - theme of the report to be generated
null report with the specified content
and based on the specified theme
java.lang.IllegalArgumentException - if content is not appropriate
(wrong class, e.g.) for the reports generated by this template
java.lang.NullPointerException - if theme is nullpublic Theme getDefaultTheme()
null)public java.lang.String getName()
public java.util.Set getThemes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||