Save This Page
Home » jasperreports-3.0.0-project » net.sf.jasperreports.engine » [javadoc | source]
net.sf.jasperreports.engine
abstract public class: JRAbstractExporter [javadoc | source]
java.lang.Object
   net.sf.jasperreports.engine.JRAbstractExporter

All Implemented Interfaces:
    JRExporter

Direct Known Subclasses:
    JRXmlssExporter, JROdtExporter, JRHtmlExporter, JRXmlExporter, JRXlsExporter, JRGraphics2DExporter, JExcelApiExporter, JRRtfExporter, JRXlsAbstractExporter, JRPdfExporter, JRPrintServiceExporter, JRCsvExporter, JROdtFrameExporter, JRTextExporter

Nested Class Summary:
protected static interface  JRAbstractExporter.ParameterResolver   
protected class  JRAbstractExporter.ParameterOverrideResolver   
protected class  JRAbstractExporter.ParameterOverriddenResolver   
Field Summary
public static final  String PROPERTY_CELL_FORMULA    Property that stores the formula which has to be applied to a given cell in an excel sheet. 
protected  Map parameters     
protected  List jasperPrintList     
protected  JasperPrint jasperPrint     
protected  boolean isModeBatch     
protected  int startPageIndex     
protected  int endPageIndex     
protected  int globalOffsetX     
protected  int globalOffsetY     
protected  ClassLoader classLoader     
protected  boolean classLoaderSet     
protected  URLStreamHandlerFactory urlHandlerFactory     
protected  boolean urlHandlerFactorySet     
protected  FileResolver fileResolver     
protected  boolean fileResolverSet     
protected  ExporterFilter filter     
protected  Map dateFormatCache     
protected  Map numberFormatCache     
Constructor:
 protected JRAbstractExporter() 
Method from net.sf.jasperreports.engine.JRAbstractExporter Summary:
defaultParseNumber,   exportReport,   getBooleanCellValue,   getBooleanParameter,   getDateCellValue,   getDateFormat,   getIntegerParameter,   getNumberCellValue,   getNumberFormat,   getOffsetX,   getOffsetY,   getParameter,   getParameterResolver,   getParameters,   getStringParameter,   getStringParameterOrDefault,   getStyledText,   getStyledText,   getTextFormatFactoryClass,   getTextLocale,   getTextTimeZone,   getTextValue,   getTextValueString,   reset,   resetClassLoader,   resetExportContext,   restoreElementOffsets,   setClassLoader,   setExportContext,   setFrameElementsOffset,   setInput,   setOffset,   setOffset,   setOutput,   setPageRange,   setParameter,   setParameters
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from net.sf.jasperreports.engine.JRAbstractExporter Detail:
 protected Number defaultParseNumber(String textStr,
    Class valueClass) 
 abstract public  void exportReport() throws JRException
 protected TextValue getBooleanCellValue(JRPrintText text,
    String textStr) 
 protected boolean getBooleanParameter(JRExporterParameter parameter,
    String property,
    boolean defaultValue) 
 protected TextValue getDateCellValue(JRPrintText text,
    String textStr) throws ParseException 
 protected DateFormat getDateFormat(String formatFactoryClass,
    String pattern,
    Locale lc,
    TimeZone tz) 
 protected int getIntegerParameter(JRExporterParameter parameter,
    String property,
    int defaultValue) 
 protected TextValue getNumberCellValue(JRPrintText text,
    String textStr) throws ClassNotFoundException, ParseException 
 protected NumberFormat getNumberFormat(String formatFactoryClass,
    String pattern,
    Locale lc) 
 protected int getOffsetX() 
    Returns the X axis offset used for element export.

    This method should be used istead of globalOffsetX when exporting elements.

 protected int getOffsetY() 
    Returns the Y axis offset used for element export.

    This method should be used istead of globalOffsetY when exporting elements.

 public Object getParameter(JRExporterParameter parameter) 
 protected JRAbstractExporter.ParameterResolver getParameterResolver() 
 public Map getParameters() 
 protected String getStringParameter(JRExporterParameter parameter,
    String property) 
 protected String getStringParameterOrDefault(JRExporterParameter parameter,
    String property) 
 protected JRStyledText getStyledText(JRPrintText textElement) 
 protected JRStyledText getStyledText(JRPrintText textElement,
    boolean setBackcolor) 
 protected String getTextFormatFactoryClass(JRPrintText text) 
 protected Locale getTextLocale(JRPrintText text) 
 protected TimeZone getTextTimeZone(JRPrintText text) 
 protected TextValue getTextValue(JRPrintText text,
    String textStr) 
 protected TextValue getTextValueString(JRPrintText text,
    String textStr) 
 public  void reset() 
 protected  void resetClassLoader() 
Deprecated! replaced - by resetExportContext

 protected  void resetExportContext() 
 protected  void restoreElementOffsets() 
 protected  void setClassLoader() 
Deprecated! replaced - by setExportContext

 protected  void setExportContext() 
 protected  void setFrameElementsOffset(JRPrintFrame frame,
    boolean relative) 
    Sets the offsets for exporting elements from a frame .

    After the frame elements are exported, a call to popElementOffsets is required so that the previous offsets are resored.

 protected  void setInput() throws JRException 
 protected  void setOffset() 
 protected  void setOffset(boolean setElementOffsets) 
 protected  void setOutput() 
 protected  void setPageRange() throws JRException 
 public  void setParameter(JRExporterParameter parameter,
    Object value) 
 public  void setParameters(Map parameters)