org.primefaces.component.export
Class Exporter

java.lang.Object
  extended by org.primefaces.component.export.Exporter
Direct Known Subclasses:
CSVExporter, ExcelExporter, PDFExporter, XMLExporter

public abstract class Exporter
extends Object


Nested Class Summary
protected static class Exporter.ColumnType
           
 
Constructor Summary
Exporter()
           
 
Method Summary
abstract  void export(javax.faces.context.FacesContext facesContext, DataTable table, String outputFileName, boolean pageOnly, boolean selectionOnly, String encodingType, javax.el.MethodExpression preProcessor, javax.el.MethodExpression postProcessor)
           
protected  String exportValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  List<javax.faces.component.UIColumn> getColumnsToExport(javax.faces.component.UIData table)
           
protected  boolean hasColumnFooter(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.context.FacesContext facesContext,
                            DataTable table,
                            String outputFileName,
                            boolean pageOnly,
                            boolean selectionOnly,
                            String encodingType,
                            javax.el.MethodExpression preProcessor,
                            javax.el.MethodExpression postProcessor)
                     throws IOException
Throws:
IOException

getColumnsToExport

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

hasColumnFooter

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

exportValue

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


Copyright © 2013. All Rights Reserved.