org.wicketstuff.poi.excel
Class GeneralPurposeExporter

java.lang.Object
  extended by org.wicketstuff.poi.excel.GeneralPurposeExporter
All Implemented Interfaces:
CellExporter

public class GeneralPurposeExporter
extends Object
implements CellExporter

Fist try to get the most nested component in the table data tag, if not possible set the most nested value in markup as a String.

Author:
Pedro Santos

Constructor Summary
GeneralPurposeExporter()
           
 
Method Summary
 void exportCell(XmlTag tag, XmlPullParser parser, org.apache.poi.ss.usermodel.Cell cell, Component gridComponent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralPurposeExporter

public GeneralPurposeExporter()
Method Detail

exportCell

public void exportCell(XmlTag tag,
                       XmlPullParser parser,
                       org.apache.poi.ss.usermodel.Cell cell,
                       Component gridComponent)
                throws ParseException
Specified by:
exportCell in interface CellExporter
Parameters:
tag - HTML tag
parser - the XmlPullParser in use, can be useful to parse nested elements
cell - the target cell, where the value needs to be set
gridComponent - the table components being parsed
Throws:
ParseException


Copyright © 2013. All Rights Reserved.