jdbreport.model
Class AbstractValue<E>
java.lang.Object
jdbreport.model.AbstractValue<E>
- All Implemented Interfaces:
- and.util.xml.XMLParser, Serializable, CellValue<E>
- Direct Known Subclasses:
- AbstractImageValue, ColorValue, MathValue, SVGValue
public abstract class AbstractValue<E>
- extends Object
- implements CellValue<E>, and.util.xml.XMLParser
- Version:
- 2.0 12.12.2009
- Author:
- Andrey Kholmanskih
- See Also:
- Serialized Form
Field Summary |
protected and.util.xml.XMLReaderHandler |
handler
|
Methods inherited from interface and.util.xml.XMLParser |
endElement, startElement |
handler
protected transient and.util.xml.XMLReaderHandler handler
AbstractValue
public AbstractValue()
createParser
public and.util.xml.XMLParser createParser(and.util.xml.XMLReaderHandler handler)
- Description copied from interface:
CellValue
- Reads from XML
- Specified by:
createParser
in interface CellValue<E>
- Returns:
- XMLParser
getHandler
protected and.util.xml.XMLReaderHandler getHandler()
characters
public void characters(StringBuffer ch)
throws SAXException
- Specified by:
characters
in interface and.util.xml.XMLParser
- Throws:
SAXException
toString
public String toString()
- Overrides:
toString
in class Object
write
public boolean write(PrintWriter writer,
ReportModel model,
int row,
int column,
String format)
throws SaveReportException
- Description copied from interface:
CellValue
- Writes to writer
- Specified by:
write
in interface CellValue<E>
- Returns:
- true if supported
- Throws:
SaveReportException
getAsImage
public Image getAsImage(ReportModel model,
int row,
int column)
- Specified by:
getAsImage
in interface CellValue<E>
- Returns:
- as image