jdbreport.model.io.xml
Class DBReportParser
java.lang.Object
and.util.xml.AbstractXMLParser
jdbreport.model.io.xml.DefaultReportParser
jdbreport.model.io.xml.DBReportParser
- All Implemented Interfaces:
- and.util.xml.XMLParser
- Direct Known Subclasses:
- TemplateReportParser
public class DBReportParser
- extends DefaultReportParser
- Version:
- 2.0 15.11.2010
- 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 |
REP_PAGE
public static final String REP_PAGE
- See Also:
- Constant Field Values
GROUP
public static final String GROUP
- See Also:
- Constant Field Values
DEFAULT_COL_WIDTH
public static final String DEFAULT_COL_WIDTH
- See Also:
- Constant Field Values
DEFAULT_ROW_HEIGHT
public static final String DEFAULT_ROW_HEIGHT
- See Also:
- Constant Field Values
COL_W
public static final String COL_W
- See Also:
- Constant Field Values
ROW_H
public static final String ROW_H
- See Also:
- Constant Field Values
COL_N
public static final String COL_N
- See Also:
- Constant Field Values
RSPAN
public static final String RSPAN
- See Also:
- Constant Field Values
CSPAN
public static final String CSPAN
- See Also:
- Constant Field Values
COL
public static final String COL
- See Also:
- Constant Field Values
COLUMN_PAGE_BREAK
public static final String COLUMN_PAGE_BREAK
- See Also:
- Constant Field Values
ROW_PAGE_BREAK
public static final String ROW_PAGE_BREAK
- See Also:
- Constant Field Values
ROWS
public static final String ROWS
- See Also:
- Constant Field Values
COLS
public static final String COLS
- See Also:
- Constant Field Values
REPORTTITLE
public static final String REPORTTITLE
- See Also:
- Constant Field Values
COLCOUNT
public static final String COLCOUNT
- See Also:
- Constant Field Values
ID
public static final String ID
- See Also:
- Constant Field Values
inRows
protected boolean inRows
currentGroup
protected Group currentGroup
DBReportParser
public DBReportParser(DefaultReaderHandler reportHandler,
ResourceReader resReader)
startElement
public boolean startElement(String name,
Attributes attributes)
- Specified by:
startElement
in interface and.util.xml.XMLParser
- Overrides:
startElement
in class DefaultReportParser
parseGroup
protected void parseGroup(Attributes attributes)
createCellHandler
protected CellParser createCellHandler(Cell cell)
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
getResourceReader
protected ResourceReader getResourceReader()