java.lang.Object
jbreport.core.AbstractReportElement
jbreport.core.Include
- All Implemented Interfaces:
- java.lang.Cloneable, jbreport.ReportElement, Traversable, XMLAware
- class Include
- extends AbstractReportElement
This will render the named elements that are referenced. This is used to
include standard sections of raw output data without cluttering the
essential document declaration.
- Version:
- $Revision: 1.1 $
|
Constructor Summary |
(package private) |
Include()
|
| Methods inherited from class jbreport.core.AbstractReportElement |
assert, assertNotNull, boundParameters, breakEventNotify, clone, copy, copy, getBoundParamValue, getElement, getFactory, getList, getName, getParent, getRepository, getString, getStylesheet, getType, inOrderIterator, inOrderTraverse, loadData, postOrderIterator, postOrderTraverse, preLoadData, preOrderIterator, preOrderTraverse, setParent, setString, updateData, xmlEnd, xmlEndChild, xmlInitialize |
Include
Include()
accept
public void accept(ReportVisitor visitor,
ReportVisitorState state)
throws jbreport.ReportException
- Description copied from interface:
Traversable
- This defines the operation that the Traversable instance must perform
at each node in the traversal. It should be coded such that it calls
an appropriate method on the ReportVisitor instance. Should an
appropriate method not exist, one should be coded.
The accept method should not recurse into its children, it
is the contract of the iterator to perform that function.
eg:- For node type Section the method on this node
should be as follows.
public void accept(ReportVisitor visitor, ReportVisitorState state)
throws ReportException {
visitor.visitSection(this, state);
}
- Specified by:
accept in interface Traversable- Overrides:
accept in class AbstractReportElement