net.sf.jasperreports.jsf.engine.export
Class TextExporter

java.lang.Object
  extended by net.sf.jasperreports.jsf.engine.export.ExporterBase
      extended by net.sf.jasperreports.jsf.engine.export.TextExporter
All Implemented Interfaces:
Exporter

public final class TextExporter
extends ExporterBase

Exporter implementation which generates a plain text report.

Author:
A. Alonso Dominguez

Field Summary
static String ATTR_BETWEEN_PAGES_TEXT
          The Constant ATTR_BETWEEN_PAGES_TEXT.
static String ATTR_CHARACTER_HEIGHT
          The Constant ATTR_CHARACTER_HEIGHT.
static String ATTR_CHARACTER_WIDTH
          The Constant ATTR_CHARACTER_WIDTH.
static String ATTR_LINE_SEPARATOR
          The Constant ATTR_LINE_SEPARATOR.
static String ATTR_PAGE_HEIGHT
          The Constant ATTR_PAGE_HEIGHT.
static String ATTR_PAGE_WIDTH
          The Constant ATTR_PAGE_WIDTH.
static ContentType CONTENT_TYPE
          The MIME type of this exporter.
 
Fields inherited from class net.sf.jasperreports.jsf.engine.export.ExporterBase
ATTR_CHARACTER_ENCODING, ATTR_END_PAGE_INDEX, ATTR_FILTER, ATTR_IGNORE_PAGE_MARGINS, ATTR_OFFSET_X, ATTR_OFFSET_Y, ATTR_PAGE_INDEX, ATTR_START_PAGE_INDEX
 
Constructor Summary
TextExporter()
           
 
Method Summary
protected  net.sf.jasperreports.engine.JRExporter createJRExporter(javax.faces.context.FacesContext context, UIReport component)
          Creates the jr exporter.
 Collection<ContentType> getContentTypes()
          Content type of the output generated by this exporter.
 
Methods inherited from class net.sf.jasperreports.jsf.engine.export.ExporterBase
export, setParameterUsingAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_TYPE

public static final ContentType CONTENT_TYPE
The MIME type of this exporter.


ATTR_BETWEEN_PAGES_TEXT

public static final String ATTR_BETWEEN_PAGES_TEXT
The Constant ATTR_BETWEEN_PAGES_TEXT.

See Also:
Constant Field Values

ATTR_CHARACTER_HEIGHT

public static final String ATTR_CHARACTER_HEIGHT
The Constant ATTR_CHARACTER_HEIGHT.

See Also:
Constant Field Values

ATTR_CHARACTER_WIDTH

public static final String ATTR_CHARACTER_WIDTH
The Constant ATTR_CHARACTER_WIDTH.

See Also:
Constant Field Values

ATTR_LINE_SEPARATOR

public static final String ATTR_LINE_SEPARATOR
The Constant ATTR_LINE_SEPARATOR.

See Also:
Constant Field Values

ATTR_PAGE_HEIGHT

public static final String ATTR_PAGE_HEIGHT
The Constant ATTR_PAGE_HEIGHT.

See Also:
Constant Field Values

ATTR_PAGE_WIDTH

public static final String ATTR_PAGE_WIDTH
The Constant ATTR_PAGE_WIDTH.

See Also:
Constant Field Values
Constructor Detail

TextExporter

public TextExporter()
Method Detail

getContentTypes

public Collection<ContentType> getContentTypes()
Description copied from interface: Exporter
Content type of the output generated by this exporter.

Returns:
the exporter's content type.
See Also:
Exporter.getContentTypes()

createJRExporter

protected net.sf.jasperreports.engine.JRExporter createJRExporter(javax.faces.context.FacesContext context,
                                                                  UIReport component)
Description copied from class: ExporterBase
Creates the jr exporter.

Specified by:
createJRExporter in class ExporterBase
Parameters:
context - the faces' context
component - the report component
Returns:
the jR exporter


Copyright © 2011 SourceForge.net. All Rights Reserved.