public abstract class Exporter extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
Exporter.ColumnType |
Constructor and Description |
---|
Exporter() |
Modifier and Type | Method and Description |
---|---|
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,
ExporterOptions options) |
abstract void |
export(javax.faces.context.FacesContext facesContext,
List<String> clientIds,
String outputFileName,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor,
ExporterOptions options) |
abstract void |
export(javax.faces.context.FacesContext facesContext,
String outputFileName,
List<DataTable> tables,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor,
ExporterOptions options) |
protected void |
exportAll(javax.faces.context.FacesContext context,
DataTable table,
Object document) |
protected abstract void |
exportCells(DataTable table,
Object document) |
protected String |
exportColumnByFunction(javax.faces.context.FacesContext context,
UIColumn column) |
protected void |
exportPageOnly(javax.faces.context.FacesContext context,
DataTable table,
Object document) |
protected void |
exportRow(DataTable table,
Object document) |
protected void |
exportRow(DataTable table,
Object document,
int rowIndex) |
protected void |
exportSelectionOnly(javax.faces.context.FacesContext context,
DataTable table,
Object document) |
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) |
String |
getSheetName(javax.faces.context.FacesContext context,
DataTable table) |
protected boolean |
hasColumnFooter(List<javax.faces.component.UIColumn> columns) |
protected void |
postRowExport(DataTable table,
Object document) |
protected void |
preRowExport(DataTable table,
Object document) |
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, ExporterOptions options) throws IOException
IOException
public abstract void export(javax.faces.context.FacesContext facesContext, List<String> clientIds, String outputFileName, boolean pageOnly, boolean selectionOnly, String encodingType, javax.el.MethodExpression preProcessor, javax.el.MethodExpression postProcessor, ExporterOptions options) throws IOException
IOException
public abstract void export(javax.faces.context.FacesContext facesContext, String outputFileName, List<DataTable> tables, boolean pageOnly, boolean selectionOnly, String encodingType, javax.el.MethodExpression preProcessor, javax.el.MethodExpression postProcessor, ExporterOptions options) throws IOException
IOException
protected List<javax.faces.component.UIColumn> getColumnsToExport(javax.faces.component.UIData table)
protected boolean hasColumnFooter(List<javax.faces.component.UIColumn> columns)
protected String exportColumnByFunction(javax.faces.context.FacesContext context, UIColumn column)
protected String exportValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void exportPageOnly(javax.faces.context.FacesContext context, DataTable table, Object document)
protected void exportAll(javax.faces.context.FacesContext context, DataTable table, Object document)
protected void exportSelectionOnly(javax.faces.context.FacesContext context, DataTable table, Object document)
Copyright © 2017. All rights reserved.