jdbreport.design.model.xml
Class TemplCellHandler

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

public class TemplCellHandler
extends CellParser

Version:
2.0 30.01.2012
Author:
Andrey Kholmanskih

Field Summary
protected static String[] AGR_FUNC_NAME
           
protected  CellObject cellObject
           
protected static String EXTPROP
           
protected  boolean inExtProp
           
protected static String REPLACE
           
 
Fields inherited from class jdbreport.model.io.xml.DefaultReportParser
CELL, ROW, SHEET, STYLE, STYLES
 
Constructor Summary
TemplCellHandler(DefaultReaderHandler reportHandler, Cell cell, ResourceReader rr)
           
TemplCellHandler(DefaultReaderHandler reportHandler, ResourceWriter resWriter)
           
 
Method Summary
 void endElement(String name, StringBuffer value)
           
 boolean startElement(String name, Attributes attributes)
           
protected  void writeCellObject(PrintWriter writer, CellObject cell)
           
protected  void writeElements(PrintWriter writer, ReportModel model, Cell cell, int row, int column)
           
protected  void writeExtProperty(PrintWriter writer, CellObject cell)
           
 
Methods inherited from class jdbreport.model.io.xml.CellParser
getCell, getParams, readImage, save, setCell
 
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
 

Field Detail

EXTPROP

protected static final String EXTPROP
See Also:
Constant Field Values

REPLACE

protected static final String REPLACE
See Also:
Constant Field Values

inExtProp

protected boolean inExtProp

cellObject

protected CellObject cellObject

AGR_FUNC_NAME

protected static final String[] AGR_FUNC_NAME
Constructor Detail

TemplCellHandler

public TemplCellHandler(DefaultReaderHandler reportHandler,
                        ResourceWriter resWriter)

TemplCellHandler

public TemplCellHandler(DefaultReaderHandler reportHandler,
                        Cell cell,
                        ResourceReader rr)
Method Detail

startElement

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

endElement

public void endElement(String name,
                       StringBuffer value)
Specified by:
endElement in interface and.util.xml.XMLParser
Overrides:
endElement in class CellParser

writeElements

protected void writeElements(PrintWriter writer,
                             ReportModel model,
                             Cell cell,
                             int row,
                             int column)
                      throws SaveReportException
Overrides:
writeElements in class CellParser
Throws:
SaveReportException

writeCellObject

protected void writeCellObject(PrintWriter writer,
                               CellObject cell)

writeExtProperty

protected void writeExtProperty(PrintWriter writer,
                                CellObject cell)