jdbreport.model.io.xml
Class DefaultReportParser
java.lang.Object
and.util.xml.AbstractXMLParser
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
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 |
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
DefaultReportParser
public DefaultReportParser(DefaultReaderHandler reportHandler)
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()