jdbreport.grid.undo
Class GridParser

java.lang.Object
  extended by and.util.xml.AbstractXMLParser
      extended by jdbreport.model.io.xml.DefaultReportParser
          extended by jdbreport.model.io.xml.ReportBookWriterParser
              extended by jdbreport.grid.undo.GridParser
All Implemented Interfaces:
and.util.xml.XMLParser

public class GridParser
extends ReportBookWriterParser

Version:
2.0 20.04.2010
Author:
Andrey Kholmanskih

Field Summary
 
Fields inherited from class jdbreport.model.io.xml.ReportBookWriterParser
cellHandler, currentRow, unit
 
Fields inherited from class jdbreport.model.io.xml.DefaultReportParser
CELL, ROW, SHEET, STYLE, STYLES
 
Constructor Summary
GridParser()
           
GridParser(GridHandler reportHandler)
           
 
Method Summary
protected  CellParser createCellHandler()
           
protected  and.util.xml.XMLParser createSheetHandler()
           
protected  String getRootName()
           
protected  String getSheetName()
           
 void save(File file, JReportModel model)
           
 void save(OutputStream out, JReportModel model)
           
 void save(Writer writer, ReportModel model)
           
 boolean startElement(String name, Attributes attributes)
           
 
Methods inherited from class jdbreport.model.io.xml.ReportBookWriterParser
endElement, getCellHandler, saveSheet, writeCell, writeGroup, writeGroupChild, writeRow, writeRows, writeSheet
 
Methods inherited from class jdbreport.model.io.xml.DefaultReportParser
getCurrentModel, getDefaultReportHandler, getReportBook, getReportModel, setCurrentModel
 
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
 

Constructor Detail

GridParser

public GridParser()

GridParser

public GridParser(GridHandler reportHandler)
Method Detail

startElement

public boolean startElement(String name,
                            Attributes attributes)
Specified by:
startElement in interface and.util.xml.XMLParser
Overrides:
startElement in class DefaultReportParser

createSheetHandler

protected and.util.xml.XMLParser createSheetHandler()

save

public void save(OutputStream out,
                 JReportModel model)
          throws SaveReportException
Throws:
SaveReportException

getRootName

protected String getRootName()

save

public void save(Writer writer,
                 ReportModel model)
          throws SaveReportException
Throws:
SaveReportException

getSheetName

protected String getSheetName()
Specified by:
getSheetName in class ReportBookWriterParser

createCellHandler

protected CellParser createCellHandler()
Specified by:
createCellHandler in class ReportBookWriterParser

save

public void save(File file,
                 JReportModel model)
          throws SaveReportException
Throws:
SaveReportException