org.jfree.report.modules.parser.base
Class IncludeParserFrontend

java.lang.Object
  extended byorg.jfree.xml.ParserFrontend
      extended byorg.jfree.report.modules.parser.base.IncludeParserFrontend

public class IncludeParserFrontend
extends org.jfree.xml.ParserFrontend

A parser front end implementation to support include statements in a report definition.

Author:
Thomas Morgner

Constructor Summary
IncludeParserFrontend(org.jfree.xml.Parser parser)
          Creates a new include parser frontend using the given parser as configuration source.
 
Method Summary
 java.lang.Object parse(java.net.URL file)
          Starts to parse the given URL.
 
Methods inherited from class org.jfree.xml.ParserFrontend
configureReader, createDefaultHandler, getDefaultHandler, getEntityResolver, getParser, isValidateDTD, parse, parse, setDefaultHandler, setEntityResolver, setValidateDTD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncludeParserFrontend

public IncludeParserFrontend(org.jfree.xml.Parser parser)
Creates a new include parser frontend using the given parser as configuration source.

Parameters:
parser - the base parser
Method Detail

parse

public java.lang.Object parse(java.net.URL file)
                       throws org.jfree.xml.ElementDefinitionException,
                              java.io.IOException
Starts to parse the given URL.

Parameters:
file - the source from where to parse, must point to a report definition
Returns:
the parsed report
Throws:
org.jfree.xml.ElementDefinitionException - if an parse error occured.
java.io.IOException - if an IO error occured.