jdbreport.model.clipboard
Class ClipboardParser
java.lang.Object
and.util.xml.AbstractXMLParser
jdbreport.model.io.xml.DefaultReportParser
jdbreport.model.clipboard.ClipboardParser
- All Implemented Interfaces:
- and.util.xml.XMLParser
public class ClipboardParser
- extends DefaultReportParser
- Version:
- 2.0 19.12.2009
- Author:
- Andrey Kholmanskih
Method Summary |
protected CellParser |
createCellHandler()
|
protected CellParser |
createCellHandler(Cell cell)
|
void |
endElement(String name,
StringBuffer value)
|
protected CellParser |
getCellHandler()
|
protected Map<Object,Object> |
getRecodeMap()
|
protected String |
getRootName()
|
protected String |
getSheetName()
|
void |
save(Writer writer,
ReportModel model,
GridRect selectionRect)
|
protected void |
saveSheet(PrintWriter writer,
ReportModel model)
|
boolean |
startElement(String name,
Attributes attributes)
|
protected void |
writeCell(PrintWriter writer,
ReportModel model,
Cell cell,
int r,
int c)
|
protected void |
writeRow(PrintWriter writer,
TableRow row,
ReportModel model,
int currentRow)
|
protected void |
writeRows(PrintWriter writer,
ReportModel model)
|
protected void |
writeStyles(ReportModel model,
PrintWriter fw)
|
Methods inherited from class and.util.xml.AbstractXMLParser |
characters, getHandler, popHandler, pushHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClipboardParser
public ClipboardParser()
ClipboardParser
public ClipboardParser(FragmentHandler reportHandler,
int startRow,
int startCol)
startElement
public boolean startElement(String name,
Attributes attributes)
- Specified by:
startElement
in interface and.util.xml.XMLParser
- Overrides:
startElement
in class DefaultReportParser
endElement
public void endElement(String name,
StringBuffer value)
- Specified by:
endElement
in interface and.util.xml.XMLParser
- Overrides:
endElement
in class DefaultReportParser
createCellHandler
protected CellParser createCellHandler(Cell cell)
getRecodeMap
protected Map<Object,Object> getRecodeMap()
getRootName
protected String getRootName()
save
public void save(Writer writer,
ReportModel model,
GridRect selectionRect)
throws SaveReportException
- Throws:
SaveReportException
getSheetName
protected String getSheetName()
writeStyles
protected void writeStyles(ReportModel model,
PrintWriter fw)
saveSheet
protected void saveSheet(PrintWriter writer,
ReportModel model)
throws SaveReportException
- Throws:
SaveReportException
writeRows
protected void writeRows(PrintWriter writer,
ReportModel model)
throws SaveReportException
- Throws:
SaveReportException
writeRow
protected void writeRow(PrintWriter writer,
TableRow row,
ReportModel model,
int currentRow)
throws SaveReportException
- Throws:
SaveReportException
writeCell
protected void writeCell(PrintWriter writer,
ReportModel model,
Cell cell,
int r,
int c)
throws SaveReportException
- Throws:
SaveReportException
getCellHandler
protected CellParser getCellHandler()
createCellHandler
protected CellParser createCellHandler()