jdbreport.model.svg
Class SVGValue
java.lang.Object
jdbreport.model.AbstractValue<SVGImage>
jdbreport.model.svg.SVGValue
- All Implemented Interfaces:
- and.util.xml.XMLParser, Serializable, CellValue<SVGImage>
public class SVGValue
- extends AbstractValue<SVGImage>
- Version:
- 1.0 13.12.2009
- Author:
- Andrey Kholmanskih
- See Also:
- Serialized Form
Method Summary |
and.util.xml.XMLParser |
createParser(and.util.xml.XMLReaderHandler handler,
ResourceReader resourceReader)
Reads from XML |
void |
endElement(String name,
StringBuffer value)
|
Image |
getAsImage(ReportModel model,
int row,
int column)
|
SVGImage |
getValue()
|
static void |
registerValue()
|
void |
setValue(SVGImage e)
|
boolean |
startElement(String name,
Attributes attributes)
|
boolean |
write(PrintWriter writer,
ReportModel model,
int row,
int column)
Writes to XML |
boolean |
write(PrintWriter writer,
ReportModel model,
int row,
int column,
ResourceWriter resourceWriter,
String format)
Writes to writer |
SVGValue
public SVGValue()
registerValue
public static void registerValue()
getValue
public SVGImage getValue()
setValue
public void setValue(SVGImage e)
write
public boolean write(PrintWriter writer,
ReportModel model,
int row,
int column,
ResourceWriter resourceWriter,
String format)
throws SaveReportException
- Description copied from interface:
CellValue
- Writes to writer
- Returns:
- true if supported
- Throws:
SaveReportException
write
public boolean write(PrintWriter writer,
ReportModel model,
int row,
int column)
throws SaveReportException
- Description copied from interface:
CellValue
- Writes to XML
- Returns:
- true if supported
- Throws:
SaveReportException
startElement
public boolean startElement(String name,
Attributes attributes)
throws SAXException
- Throws:
SAXException
endElement
public void endElement(String name,
StringBuffer value)
throws SAXException
- Throws:
SAXException
getAsImage
public Image getAsImage(ReportModel model,
int row,
int column)
- Specified by:
getAsImage
in interface CellValue<SVGImage>
- Overrides:
getAsImage
in class AbstractValue<SVGImage>
- Returns:
- as image
createParser
public and.util.xml.XMLParser createParser(and.util.xml.XMLReaderHandler handler,
ResourceReader resourceReader)
- Description copied from interface:
CellValue
- Reads from XML
- Returns:
- XMLParser