com.jrefinery.report.io
Class ReportParser

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.jfree.xml.Parser
          extended bycom.jrefinery.report.io.ReportParser
All Implemented Interfaces:
org.jfree.util.Configuration, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class ReportParser
extends org.jfree.xml.Parser

The report parser initializes the parsing engine and coordinates the parsing process. Once the parsing is complete, the generated report instance can be queries with getResult();

This parser produces JFreeReport objects.

Author:
Thomas Morgner

Field Summary
 
Fields inherited from class org.jfree.xml.Parser
CONTENTBASE_KEY
 
Constructor Summary
ReportParser()
          Default constuctor.
 
Method Summary
 org.jfree.xml.Parser getInstance()
          Returns a new instance of the parser.
 java.lang.Object getResult()
          Returns the parsered object.
 
Methods inherited from class org.jfree.xml.Parser
characters, endDocument, endElement, getConfigProperty, getConfigProperty, getHelperObject, getInitialFactory, getLocator, peekFactory, popFactory, pushFactory, setConfigProperty, setDocumentLocator, setHelperObject, setInitialFactory, startDocument, startElement
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportParser

public ReportParser()
Default constuctor. Initalizes the parser to use the JFreeReport parser files.

Method Detail

getInstance

public org.jfree.xml.Parser getInstance()
Returns a new instance of the parser.

Returns:
The instance.

getResult

public java.lang.Object getResult()
Returns the parsered object. This method will return the currently parsed JFreeReport object.

Returns:
the parsed JFreeReport instance.