org.primefaces.extensions.component.exporter
Class Exporter

java.lang.Object
  extended by org.primefaces.extensions.component.exporter.Exporter
Direct Known Subclasses:
PDFExporter

public abstract class Exporter
extends java.lang.Object

Exporter component.

Since:
0.7.0
Author:
Sudheer Jonna / last modified by $Author$

Nested Class Summary
protected static class Exporter.ColumnType
           
 
Constructor Summary
Exporter()
           
 
Method Summary
abstract  void customFormat(java.lang.String facetBackground, java.lang.String facetFontSize, java.lang.String facetFontColor, java.lang.String facetFontStyle, java.lang.String cellFontSize, java.lang.String cellFontColor, java.lang.String cellFontStyle)
           
abstract  void export(javax.faces.event.ActionEvent event, java.lang.String tableId, javax.faces.context.FacesContext facesContext, java.lang.String outputFileName, java.lang.String tableTitleValue, boolean pageOnly, boolean selectionOnly, java.lang.String encodingType, javax.el.MethodExpression preProcessor, javax.el.MethodExpression postProcessor, boolean isSubTable)
           
protected  java.lang.String exportValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  java.util.List<javax.faces.component.UIColumn> getColumnsToExport(javax.faces.component.UIData table)
           
protected  boolean hasColumnFooter(java.util.List<javax.faces.component.UIColumn> columns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exporter

public Exporter()
Method Detail

export

public abstract void export(javax.faces.event.ActionEvent event,
                            java.lang.String tableId,
                            javax.faces.context.FacesContext facesContext,
                            java.lang.String outputFileName,
                            java.lang.String tableTitleValue,
                            boolean pageOnly,
                            boolean selectionOnly,
                            java.lang.String encodingType,
                            javax.el.MethodExpression preProcessor,
                            javax.el.MethodExpression postProcessor,
                            boolean isSubTable)
                     throws java.io.IOException
Throws:
java.io.IOException

customFormat

public abstract void customFormat(java.lang.String facetBackground,
                                  java.lang.String facetFontSize,
                                  java.lang.String facetFontColor,
                                  java.lang.String facetFontStyle,
                                  java.lang.String cellFontSize,
                                  java.lang.String cellFontColor,
                                  java.lang.String cellFontStyle)
                           throws java.io.IOException
Throws:
java.io.IOException

getColumnsToExport

protected java.util.List<javax.faces.component.UIColumn> getColumnsToExport(javax.faces.component.UIData table)

hasColumnFooter

protected boolean hasColumnFooter(java.util.List<javax.faces.component.UIColumn> columns)

exportValue

protected java.lang.String exportValue(javax.faces.context.FacesContext context,
                                       javax.faces.component.UIComponent component)


Copyright © 2011-2013. All Rights Reserved.