jdbreport.model.io.xml
Class DefaultReportParser

java.lang.Object
  extended by and.util.xml.AbstractXMLParser
      extended by jdbreport.model.io.xml.DefaultReportParser
All Implemented Interfaces:
and.util.xml.XMLParser
Direct Known Subclasses:
CellParser, CellParser6, ClipboardParser, DataPacketParser, DBReportParser, DBReportParser6, ExcelSheetParser, ExcelStyleParser, ExcelXPParser, OdsParser, ReportBookWriterParser, ReportPageParser, ReportPageParser6, StyleReportParser

public class DefaultReportParser
extends and.util.xml.AbstractXMLParser

Version:
1.1 03/09/08
Author:
Andrey Kholmanskih

Field Summary
static String CELL
           
static String ROW
           
static String SHEET
           
static String STYLE
           
static String STYLES
           
 
Constructor Summary
DefaultReportParser(DefaultReaderHandler reportHandler)
           
 
Method Summary
 void endElement(String name, StringBuffer value)
           
 int getCurrentModel()
           
protected  DefaultReaderHandler getDefaultReportHandler()
           
 ReportBook getReportBook()
           
 ReportModel getReportModel()
           
 void setCurrentModel(int current)
           
 boolean startElement(String name, Attributes attributes)
           
 
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

CELL

public static final String CELL
See Also:
Constant Field Values

STYLES

public static final String STYLES
See Also:
Constant Field Values

STYLE

public static final String STYLE
See Also:
Constant Field Values

SHEET

public static final String SHEET
See Also:
Constant Field Values

ROW

public static final String ROW
See Also:
Constant Field Values
Constructor Detail

DefaultReportParser

public DefaultReportParser(DefaultReaderHandler reportHandler)
Method Detail

getDefaultReportHandler

protected DefaultReaderHandler getDefaultReportHandler()

startElement

public boolean startElement(String name,
                            Attributes attributes)
                     throws SAXException
Throws:
SAXException

endElement

public void endElement(String name,
                       StringBuffer value)
                throws SAXException
Throws:
SAXException

getReportModel

public ReportModel getReportModel()

getReportBook

public ReportBook getReportBook()

setCurrentModel

public void setCurrentModel(int current)

getCurrentModel

public int getCurrentModel()