|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReportScopeHandler
This interface exports some methods from the report content handler, so they can be used by foreign handlers.
| Method Summary | |
|---|---|
Element |
addElement(String uri,
String localName,
Attributes attributes)
Adds a new element for processing. |
void |
doReportElementEnd()
Do block-end management. |
void |
doReportElementStart(String localName,
Attributes attributes)
Do block-start management for a new ReportElement with the given local name and attributes. |
Element |
getCurrentElement()
Gets the element currently being processed by the handler, regardless of it being XHTML Element or ReportElement. |
ReportElement |
getCurrentReportElement()
Gets the report element currently being processed by the handler. |
Element |
popElement()
Removes the current block from stack and prepares the next one for processing, if any. |
void |
pushElement(Element element)
Look at Block stack for signing the Block with main Report or as Nested Block. |
void |
setRootElement(String localName,
Attributes attributes)
Set the Object Model root element. |
| Method Detail |
|---|
Element getCurrentElement()
ReportElement getCurrentReportElement()
void setRootElement(String localName,
Attributes attributes)
throws SAXException
localName - the local name of the OM root element.attributes - the attributes of the OM root element.
SAXException - if root element was already set.
Element addElement(String uri,
String localName,
Attributes attributes)
uri - the namespace URI.localName - the local name.attributes - the attributes.
void pushElement(Element element)
element - the block to push to Report.Element popElement()
void doReportElementStart(String localName,
Attributes attributes)
throws SAXException
localName - the local name.attributes -
SAXException - if the creation of the new element with the
given attributes fail.
void doReportElementEnd()
throws SAXException
SAXException - if initialization of the current block fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||