jdbreport.model.io.xml.excel
Class ExcelStyleParser
java.lang.Object
and.util.xml.AbstractXMLParser
jdbreport.model.io.xml.DefaultReportParser
jdbreport.model.io.xml.excel.ExcelStyleParser
- All Implemented Interfaces:
- and.util.xml.XMLParser
public class ExcelStyleParser
- extends DefaultReportParser
- 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 |
BS_SOLID
public static final int BS_SOLID
- See Also:
- Constant Field Values
BS_CLEAR
public static final int BS_CLEAR
- See Also:
- Constant Field Values
BS_HORIZONTAL
public static final int BS_HORIZONTAL
- See Also:
- Constant Field Values
BS_VERTICAL
public static final int BS_VERTICAL
- See Also:
- Constant Field Values
BS_FDIAGONAL
public static final int BS_FDIAGONAL
- See Also:
- Constant Field Values
BS_BDIAGONAL
public static final int BS_BDIAGONAL
- See Also:
- Constant Field Values
BS_CROSS
public static final int BS_CROSS
- See Also:
- Constant Field Values
BS_DIAGCROSS
public static final int BS_DIAGCROSS
- See Also:
- Constant Field Values
ExcelStyleParser
public ExcelStyleParser(DefaultReaderHandler reportHandler)
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
saveStyle
public static void saveStyle(PrintWriter writer,
CellStyle style)
- save style to XML
- Parameters:
writer
- style
-
getStyleId
public static Object getStyleId(Object id)