jdbreport.model.io.xml
Class StyleReportParser

java.lang.Object
  extended by and.util.xml.AbstractXMLParser
      extended by jdbreport.model.io.xml.DefaultReportParser
          extended by jdbreport.model.io.xml.StyleReportParser
All Implemented Interfaces:
and.util.xml.XMLParser
Direct Known Subclasses:
ClipStyleParser

public class StyleReportParser
extends DefaultReportParser

Version:
2.0 15.02.2012
Author:
Andrey Kholmanskih

Field Summary
 
Fields inherited from class jdbreport.model.io.xml.DefaultReportParser
CELL, ROW, SHEET, STYLE, STYLES
 
Constructor Summary
StyleReportParser(DefaultReaderHandler reportHandler)
           
 
Method Summary
protected  Object appendStyle(CellStyle style)
           
 void endElement(String name, StringBuffer value)
           
static void save(PrintWriter writer, CellStyle style)
           
 boolean startElement(String name, Attributes attributes)
           
 
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

StyleReportParser

public StyleReportParser(DefaultReaderHandler 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

endElement

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

appendStyle

protected Object appendStyle(CellStyle style)

save

public static void save(PrintWriter writer,
                        CellStyle style)