org.apache.batik.svggen

Interface SVGConverter

public interface SVGConverter extends SVGSyntax

Defines the interface for classes that are able to convert part or all of a GraphicContext.

See Also: GraphicContext

Method Summary
ListgetDefinitionSet()
SVGDescriptortoSVG(GraphicContext gc)
Converts part or all of the input GraphicContext into a set of attribute/value pairs and related definitions

Method Detail

getDefinitionSet

public List getDefinitionSet()

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.

toSVG

public SVGDescriptor toSVG(GraphicContext gc)
Converts part or all of the input GraphicContext into a set of attribute/value pairs and related definitions

Parameters: gc GraphicContext to be converted

Returns: descriptor of the attributes required to represent some or all of the GraphicContext state, along with the related definitions

See Also: SVGDescriptor

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.