org.primefaces.component.export
Class XMLExporter

java.lang.Object
  extended by org.primefaces.component.export.Exporter
      extended by org.primefaces.component.export.XMLExporter

public class XMLExporter
extends Exporter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.primefaces.component.export.Exporter
Exporter.ColumnType
 
Constructor Summary
XMLExporter()
           
 
Method Summary
protected  void addColumnValue(Writer writer, List<javax.faces.component.UIComponent> components, String tag)
           
protected  void configureResponse(javax.faces.context.ExternalContext externalContext, String filename)
           
 void export(javax.faces.context.FacesContext context, DataTable table, String filename, boolean pageOnly, boolean selectionOnly, String encodingType, javax.el.MethodExpression preProcessor, javax.el.MethodExpression postProcessor)
           
 void exportAll(DataTable table, Writer writer)
           
protected  void exportCells(DataTable table, Writer writer)
           
 void exportPageOnly(DataTable table, Writer writer)
           
protected  void exportRow(DataTable table, Writer writer, int rowIndex)
           
 void exportSelectionOnly(javax.faces.context.FacesContext context, DataTable table, Writer writer)
           
protected  String getColumnTag(UIColumn column)
           
 
Methods inherited from class org.primefaces.component.export.Exporter
exportValue, getColumnsToExport, hasColumnFooter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLExporter

public XMLExporter()
Method Detail

export

public void export(javax.faces.context.FacesContext context,
                   DataTable table,
                   String filename,
                   boolean pageOnly,
                   boolean selectionOnly,
                   String encodingType,
                   javax.el.MethodExpression preProcessor,
                   javax.el.MethodExpression postProcessor)
            throws IOException
Specified by:
export in class Exporter
Throws:
IOException

exportPageOnly

public void exportPageOnly(DataTable table,
                           Writer writer)
                    throws IOException
Throws:
IOException

exportSelectionOnly

public void exportSelectionOnly(javax.faces.context.FacesContext context,
                                DataTable table,
                                Writer writer)
                         throws IOException
Throws:
IOException

exportAll

public void exportAll(DataTable table,
                      Writer writer)
               throws IOException
Throws:
IOException

exportRow

protected void exportRow(DataTable table,
                         Writer writer,
                         int rowIndex)
                  throws IOException
Throws:
IOException

exportCells

protected void exportCells(DataTable table,
                           Writer writer)
                    throws IOException
Throws:
IOException

getColumnTag

protected String getColumnTag(UIColumn column)

addColumnValue

protected void addColumnValue(Writer writer,
                              List<javax.faces.component.UIComponent> components,
                              String tag)
                       throws IOException
Throws:
IOException

configureResponse

protected void configureResponse(javax.faces.context.ExternalContext externalContext,
                                 String filename)


Copyright © 2013. All Rights Reserved.