Package org.apache.batik.svggen

Provides an API on top of the AbstractGraphics2D to translate Java 2D primitives into the SVG format.

See:
          Description

Interface Summary
CachedImageHandler Extends the default ImageHandler interface with calls to allow caching of raster images in generated SVG content.
ErrorConstants  
ErrorHandler The ErrorHandler interface allows you to specialize how the error will be set on an SVG Element.
ExtensionHandler The ExtensionHandler interface allows the user to handle Java 2D API extensions that map to SVG concepts (such as custom Paints, Composites or BufferedImageOp filters).
GenericImageHandler Extends the default ImageHandler interface with calls to allow caching of raster images in generated SVG content.
ImageHandler This interface allows the user of the Graphics2D SVG generator to decide how to handle images that it renders.
StyleHandler The StyleHandler interface allows you to specialize how the style will be set on an SVG Element.
SVGConverter Defines the interface for classes that are able to convert part or all of a GraphicContext.
SVGDescriptor Defines the interface for a set of SVG attributes and related definitions.
SVGFilterConverter Defines the interface for classes that are able to convert a BufferedImageOp filter.
SVGSyntax Contains the definition of the SVG tags and attribute names.
 

Class Summary
AbstractImageHandlerEncoder This abstract implementation of the ImageHandler interface is intended to be the base class for ImageHandlers that generate image files for all the images they handle.
AbstractSVGConverter Abstract class with common utility methods used by subclasses for specific convertion operations.
AbstractSVGFilterConverter Abstract class with common utility methods used by subclasses for specific convertion operations.
CachedImageHandlerBase64Encoder This subclass of ImageHandlerBase64Encoder implements functionality specific to the cached version of the image encoder.
CachedImageHandlerJPEGEncoder GenericImageHandler which caches JPEG images.
CachedImageHandlerPNGEncoder GenericImageHandler which caches PNG images.
DefaultCachedImageHandler This class is a default implementation of the GenericImageHandler for handlers implementing a caching strategy.
DefaultErrorHandler The ErrorHandler interface allows you to specialize how the error will be set on an SVG Element.
DefaultExtensionHandler This implementation of the ExtensionHandler interface always returns null Nodes.
DefaultImageHandler This class provides a default implementation of the ImageHandler interface simply puts a place holder in the xlink:href attribute and sets the width and height of the element.
DefaultStyleHandler The DefaultStyleHandler class provides the default way to style an SVG Element.
DOMGroupManager This class is used by the Graphics2D SVG Generator to manage a group of Nodes that can later be added to the SVG DOM Tree managed by the DOMTreeManager.
DOMTreeManager This class is used by the SVGGraphics2D SVG Generator to manage addition of new Nodes to the SVG DOM Tree.
ImageCacher This class implements caching functionality for raster images.
ImageCacher.Embedded Cache implementation for images embedded in the SVG file.
ImageCacher.External Cache implementation for file-based images.
ImageHandlerBase64Encoder This implementation of ImageHandler encodes the input image as a PNG image first, then encodes the PNG image using Base64 encoding and uses the result to encoder the image url using the data protocol.
ImageHandlerJPEGEncoder This implementation of the abstract AbstractImageHandlerEncoder class creates JPEG images in the image directory and sets the url pointing to that file in the xlink:href attributes of the image elements it handles.
ImageHandlerPNGEncoder This implementation of the abstract AbstractImageHandlerEncoder class creates PNG images in the image directory and sets the url pointing to that file in the xlink:href attributes of the image elements it handles.
SimpleImageHandler Implements the GenericImageHandler interface and only uses <image> elements.
SVGAlphaComposite Utility class that converts an AlphaComposite object into a set of SVG properties and definitions.
SVGArc Utility class that converts an Arc2D object into a corresponding SVG element, i.e., a path with an elliptical arc and optionally lines..
SVGAttribute Represents an SVG attribute and provides convenience methods to determine whether or not the attribute applies to a given element type.
SVGAttributeMap Repository of SVG attribute descriptions, accessible by name.
SVGBasicStroke Utility class that converts a Java BasicStroke object into a set of SVG style attributes
SVGBufferedImageOp Utility class that converts a BufferedImageOp object into an SVG filter.
SVGClip Utility class that converts a Path object into an SVG clip
SVGClipDescriptor Describes an SVG clip
SVGColor Utility class that converts a Color object into a set of corresponding SVG attributes.
SVGComposite Utility class that converts a Composite object into a set of SVG properties and definitions.
SVGCompositeDescriptor Used to represent an SVG Composite.
SVGConvolveOp Utility class that converts a ConvolveOp object into an SVG filter descriptor.
SVGCSSStyler This utility class converts a standard SVG document that uses attribute into one that uses the CSS style attribute instead.
SVGCustomBufferedImageOp Utility class that converts an custom BufferedImageOp object into an equivalent SVG filter.
SVGCustomComposite Utility class that converts an custom Composite object into a set of SVG properties and definitions.
SVGCustomPaint Utility class that converts an custom Paint object into a set of SVG properties and definitions.
SVGEllipse Utility class that converts an Ellipse2D object into a corresponding SVG element, i.e., a circle or an ellipse.
SVGFilterDescriptor Used to represent an SVG Composite.
SVGFont Utility class that converts a Font object into a set of SVG font attributes
SVGFontDescriptor Describes an SVG font
SVGGeneratorContext This class contains all non graphical contextual information that are needed by the SVGGraphics2D to generate SVG from Java 2D primitives.
SVGGeneratorContext.GraphicContextDefaults Class to describe the GraphicContext defaults to be used.
SVGGraphicContext Represents the SVG equivalent of a Java 2D API graphic context attribute.
SVGGraphicContextConverter This class performs the task of converting the state of the Java 2D API graphic context into a set of graphic attributes.
SVGGraphicObjectConverter  
SVGGraphics2D This implementation of the java.awt.Graphics2D abstract class allows users to generate SVG (Scalable Vector Graphics) content from Java code.
SVGHintsDescriptor Describes a set of SVG hints
SVGIDGenerator Generates id for an arbitrary number of prefix
SVGLine Utility class that converts a Line2D object into a corresponding SVG line element.
SVGLinearGradient Utility class that converts a Java GradientPaint into an SVG linear gradient element
SVGLookupOp Utility class that converts a LookupOp object into an SVG filter descriptor.
SVGPaint Utility class that converts a Paint object into an SVG element.
SVGPaintDescriptor Used to represent an SVG Paint.
SVGPath Utility class that converts a Shape object into an SVG path element.
SVGPolygon Utility class that converts a Polygon object into an SVG element.
SVGRectangle Utility class that converts a Rectangle2D or RoundRectangle2D object into an SVG element.
SVGRenderingHints Utility class that converts a RenderingHints object into a set of SVG properties.
SVGRescaleOp Utility class that converts a RescaleOp object into an SVG filter descriptor.
SVGShape Utility class that converts a Shape object into the corresponding SVG element.
SVGStrokeDescriptor Used to represent an SVG Paint.
SVGStylingAttributes Defines the set of attributes from Exchange SVG that are defined as styling properties in Stylable SVG.
SVGTexturePaint Utility class that converts a TexturePaint object into an SVG pattern element
SVGTransform Utility class that converts a GraphicContext transform stack into an SVG transform attribute.
SVGTransformDescriptor Describes an SVG transform
SwingSVGPrettyPrint This class offers a way to create an SVG document with grouping that reflects the Swing composite structure (container/components).
 

Exception Summary
SVGGraphics2DIOException Thrown when an SVG Generator method receives an illegal argument in parameter.
SVGGraphics2DRuntimeException Thrown when an SVG Generator method receives an illegal argument in parameter.
 

Package org.apache.batik.svggen Description

Provides an API on top of the AbstractGraphics2D to translate Java 2D primitives into the SVG format.



Copyright © 2008 Apache Software Foundation. All Rights Reserved.