jdbreport.design.model.xml
Class TemplateReportParser

java.lang.Object
  extended by and.util.xml.AbstractXMLParser
      extended by jdbreport.model.io.xml.DefaultReportParser
          extended by jdbreport.model.io.xml.DBReportParser
              extended by jdbreport.design.model.xml.TemplateReportParser
All Implemented Interfaces:
and.util.xml.XMLParser

public class TemplateReportParser
extends DBReportParser

Version:
2.0 21.12.2009
Author:
Andrey Kholmanskih

Field Summary
 
Fields inherited from class jdbreport.model.io.xml.DBReportParser
COL, COL_N, COL_W, COLCOUNT, COLS, COLUMN_PAGE_BREAK, CSPAN, currentGroup, DEFAULT_COL_WIDTH, DEFAULT_ROW_HEIGHT, GROUP, ID, inRows, REP_PAGE, REPORTTITLE, ROW_H, ROW_PAGE_BREAK, ROWS, RSPAN
 
Fields inherited from class jdbreport.model.io.xml.DefaultReportParser
CELL, ROW, SHEET, STYLE, STYLES
 
Constructor Summary
TemplateReportParser(DefaultReaderHandler reportHandler, ResourceReader rr)
           
 
Method Summary
protected  CellParser createCellHandler(Cell cell)
           
 TemplateModel getTemplateModel()
           
 boolean startElement(String name, Attributes attributes)
           
 
Methods inherited from class jdbreport.model.io.xml.DBReportParser
endElement, getResourceReader, parseGroup
 
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

TemplateReportParser

public TemplateReportParser(DefaultReaderHandler reportHandler,
                            ResourceReader rr)
Method Detail

getTemplateModel

public TemplateModel getTemplateModel()

createCellHandler

protected CellParser createCellHandler(Cell cell)
Overrides:
createCellHandler in class DBReportParser

startElement

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