net.sf.jasperreports.engine.xml
Class JRXmlLoader

java.lang.Object
  extended bynet.sf.jasperreports.engine.xml.JRXmlLoader

public class JRXmlLoader
extends java.lang.Object

Version:
$Id: JRXmlLoader.java,v 1.23 2005/08/11 09:07:31 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Constructor Summary
JRXmlLoader(org.apache.commons.digester.Digester digester)
           
 
Method Summary
 void addError(java.lang.Exception e)
           
 java.util.Set getGroupBoundDatasets()
           
 java.util.Collection getGroupEvaluatedCharts()
           
 java.util.Collection getGroupEvaluatedImages()
           
 java.util.Collection getGroupEvaluatedTextFields()
           
 java.util.Collection getGroupReprintedElements()
           
 boolean isIgnoreConsistencyProblems()
          Returns true if the loader is set to ignore consistency problems
static JasperDesign load(java.io.File file)
           
static JasperDesign load(java.io.InputStream is)
           
static JasperDesign load(java.lang.String sourceFileName)
           
 JasperDesign loadXML(org.xml.sax.InputSource is)
           
 JasperDesign loadXML(java.io.InputStream is)
           
 void setIgnoreConsistencyProblems(boolean ignoreConsistencyProblems)
          Allows to enable or disable the reporting of consistency problems.
 void setJasperDesign(JasperDesign jasperDesign)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRXmlLoader

public JRXmlLoader(org.apache.commons.digester.Digester digester)
Method Detail

setJasperDesign

public void setJasperDesign(JasperDesign jasperDesign)

getGroupReprintedElements

public java.util.Collection getGroupReprintedElements()

getGroupEvaluatedImages

public java.util.Collection getGroupEvaluatedImages()

getGroupEvaluatedTextFields

public java.util.Collection getGroupEvaluatedTextFields()

getGroupEvaluatedCharts

public java.util.Collection getGroupEvaluatedCharts()

getGroupBoundDatasets

public java.util.Set getGroupBoundDatasets()

load

public static JasperDesign load(java.lang.String sourceFileName)
                         throws JRException
Throws:
JRException

load

public static JasperDesign load(java.io.File file)
                         throws JRException
Throws:
JRException

load

public static JasperDesign load(java.io.InputStream is)
                         throws JRException
Throws:
JRException

loadXML

public JasperDesign loadXML(java.io.InputStream is)
                     throws JRException
Throws:
JRException

loadXML

public JasperDesign loadXML(org.xml.sax.InputSource is)
                     throws JRException
Throws:
JRException

addError

public void addError(java.lang.Exception e)

isIgnoreConsistencyProblems

public boolean isIgnoreConsistencyProblems()
Returns true if the loader is set to ignore consistency problems

Returns:
the ignoreConsistencyProblems flag.

setIgnoreConsistencyProblems

public void setIgnoreConsistencyProblems(boolean ignoreConsistencyProblems)
Allows to enable or disable the reporting of consistency problems. Consistency problems are problems in the logical structure of the report such as references to missing groups and fonts.

Parameters:
ignoreConsistencyProblems - The ignoreConsistencyProblems value to set.


© 2001-2005 JasperSoft Corporation www.jaspersoft.com