org.apache.batik.svggen
public abstract class AbstractSVGConverter extends Object implements SVGConverter, ErrorConstants
Field Summary | |
---|---|
protected List | defSet
Set of definitions to interpret the values of the attributes
generated by this converter since its creation |
protected Map | descMap
Map of descriptions already processed by this converter. |
protected SVGGeneratorContext | generatorContext
Used by converters to create Elements and other DOM objects |
Constructor Summary | |
---|---|
AbstractSVGConverter(SVGGeneratorContext generatorContext) |
Method Summary | |
---|---|
String | doubleString(double value)
Utility method for subclasses. |
List | getDefinitionSet() |
Parameters: generatorContext can be used by the SVGConverter extensions to create Elements and other types of DOM objects.
Returns: set of definitions referenced by the attribute values created by the implementation since its creation. The return value should never be null. If no definition is needed, an empty set should be returned.