Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Package org.apache.batik.svggen

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.
Painter Interface expected from object that can perform an arbitrary rendering sequence.
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.
ATransform This test validates the convertion of Java 2D AffineTransform into SVG Shapes.
AttributedCharacterIterator This test validates the convertion of Java 2D AffineTransform into SVG Shapes.
BasicShapes This test validates the convertion of Java 2D shapes into SVG Shapes.
BasicShapes2 This test validates the convertion of Java 2D shapes into SVG Shapes.
BEExample This test validates the convertion of Java 2D AffineTransform into SVG Shapes.
BStroke This test validates convertion of BasicStroke
Bug17965 This test validates fix to Bug #17965 and checks that attributes which do not apply to given element (eg., font-family does not apply to ) are not written out.
Bug21259 Checks that the streamed root is not removed from its parent as shown by bug report 21259.
Bug4389 This test validates drawImage conversions.
Bug4945 This test validates fix to Bug #4945 which checks that the generator handles Font transform.
Bug6535 This test validates outputing font-size as a float
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.
Clip This test validates convertion of Java 2D clip inot SVG clipPath definition and attributes.
ClipKey Inner class used to key clip definitions in a Map.
Color1 This test validates convertion of Java 2D Color into SVG fill, stroke and opacity attributes.
Color2 This test color opacity on fill and strokes, because this is handled differently in the Java 2D API than in SVG.
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.
DoubleString Checks that no NullPointerException is thrown by default
DoubleStringPerformanceTest This test checks that there is no performance degradation in the doubleString utility method.
DrawImage This test validates drawImage conversions.
Font1 This test validates the convertion of Java 2D Fonts into SVG font attributes.
Font2 This test validates the convertion of Java 2D text into SVG Shapes, one of the options of the SVGGraphics2D constructor.
GeneratorContext Testing customization of the SVGGeneratorContext and generation of SVG Fonts.
GeneratorContext.TestIDGenerator  
GeneratorContext.TestStyleHandler  
GetRootTest This test validates that the SVGGraphics2D generates the same result with the two versions of its getRoot method.
Gradient This test validates the convertion of Java 2D GradientPaints into SVG linearGradient definition and reference.
GraphicObjects This test validates the convertion of the three elementary thypes of Java 2D API graphic objects: shapes, text and images
GVector This test validates the convertion of Java 2D GlyphVectors SVG Shapes.
IdentityTest This test validates the convertion of Java 2D AffineTransform into SVG Shapes.
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.
JPainterCompare Simple component which displays, side by side, the drawing created by a Painter, rendered in a JPainterComponent on the left, and in a JSVGCanvas on the right, where the SVG displayed is the one created by the SVGGraphics2D
JPainterCompare.LoaderListener  
JPainterComponent Simple component which displays the rendering created by a Painter.
Lookup This test validates the convertion of Java 2D LookupOp into an SVG filer.
Messages This class manages the message for the test.svg module.
NegativeLengths This test validates the convertion of Java 2D negative length values:
- On rectangles: a negative width or height makes the rectangle invisible.
- On rounded rectangles: a negative width or height makes the rectangle invisible.
- On ellipses: a negative width or height makes the ellipse invisible
- On 3D rect: a negative width *and* height makes the rectangle invisible.
NullOp  
Paints This test validates the convertion of Java 2D paints into an SVG attributes.
Rescale This test validates the convertion of Java 2D RescaleOp into an SVG filer.
RHints This test validates the convertion of Java 2D RenderingHints into an SVG attributes.
ShearTest Testing shear.
ShowGraphics2DOutput Checks that the content generated from the SVGGraphics2D and to which an event handler has been added can be processed by Batik.
SimpleImageHandler Implements the GenericImageHandler interface and only uses <image> elements.
SVGAccuracyTest This test validates that a given rendering sequence, modeled by a Painter is properly converted to an SVG document by comparing the generated SVG document to a know, valid SVG reference.
SVGAccuracyTestValidator Validates the operation of the SVGAccuractyTest class
SVGAccuracyTestValidator.DiffWithReferenceImage  
SVGAccuracyTestValidator.InexistantReferenceURL  
SVGAccuracyTestValidator.NullPainter  
SVGAccuracyTestValidator.NullReferenceURL  
SVGAccuracyTestValidator.PainterWithException  
SVGAccuracyTestValidator.SameAsReferenceImage  
SVGAccuracyTestValidator.ValidPainterTest  
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.
SVGGeneratorTests This test validates that a given rendering sequence, modeled by a Painter by doing several subtests for a single input class: + SVGAccuracyTest with several configurations + SVGRenderingAccuracyTest + ImageComparisonTest between the rendering of the generated SVG for various configurations.
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 RenderingHins 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).
TextSpacePreserve This test validates that spaces are preserved correctly in drawString calls.
Texture This test validates the convertion of Java 2D TexturePaints into SVG patterns and fill and fill-opacity values
TransformCollapse This test validates that transforms are collapsed when they should.
XmlWriter Writes a Node as text output.
XmlWriter.IndentWriter  
 

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.