Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jbreport
Interface ReportElementFactory  view ReportElementFactory download ReportElementFactory.java


public interface ReportElementFactory

The factory that is responsible for creating report elements. Valid implementations must a public no-args constructor available.

Version:
$Revision: 1.1.1.1 $

Method Summary
 ReportComposite createComposite()
          Creates a new Composite element that is used to represent an entire document.
 ReportSection createDocument()
          Creates a new Section element that is used to represent an entire document.
 ReportElement createElement(java.lang.String name)
          Create a new element for the given element name.
 ReportSection createSection()
          Create a new section element to enable grouping of individual elements.
 

Method Detail

createElement

public ReportElement createElement(java.lang.String name)
                            throws ReportException
Create a new element for the given element name. We use names rather than adding new methods, so that the process of creating a report can be automated through the use of XML templates.


createSection

public ReportSection createSection()
                            throws ReportException
Create a new section element to enable grouping of individual elements.


createDocument

public ReportSection createDocument()
                             throws ReportException
Creates a new Section element that is used to represent an entire document.


createComposite

public ReportComposite createComposite()
                                throws ReportException
Creates a new Composite element that is used to represent an entire document.