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

Quick Search    Search Deep

jbreport.core
Interface XMLAware  view XMLAware download XMLAware.java

All Known Implementing Classes:
AbstractReportElement

public interface XMLAware

This interface defines the operations that will be performed on an element that implements this interface during the xml parse tree traversal.

It's not really necessary at the moment, but I don't want any public methods in AbstractReportElement that are not defined by some interface.

Version:
$Revision: 1.1 $

Method Summary
 void xmlEnd(java.lang.String cdata)
          This is called after the element has been successfully parsed, and will include any known character data defined in the context of this element.
 void xmlEndChild(jbreport.ReportElement elem)
          This is called after the xmlEnd method, and will thus not be be called if an element fails to be constructed correctly.
 void xmlInitialize(java.lang.String localName, org.xml.sax.Attributes attributes)
          This will be called after a new element has been constructed, and the element name and attributes are known.
 

Method Detail

xmlInitialize

public void xmlInitialize(java.lang.String localName,
                          org.xml.sax.Attributes attributes)
                   throws jbreport.ReportException
This will be called after a new element has been constructed, and the element name and attributes are known. This should enable concrete elements to change their type to the relevant localName parameter - if necessary.


xmlEnd

public void xmlEnd(java.lang.String cdata)
            throws jbreport.ReportException
This is called after the element has been successfully parsed, and will include any known character data defined in the context of this element.


xmlEndChild

public void xmlEndChild(jbreport.ReportElement elem)
                 throws jbreport.ReportException
This is called after the xmlEnd method, and will thus not be be called if an element fails to be constructed correctly. The instance to which this method applies is that directly below the top element on the parse stack