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

Quick Search    Search Deep

org.apache.batik.transcoder.image.* (22)org.apache.batik.transcoder.image.resources.* (1)
org.apache.batik.transcoder.keys.* (8)org.apache.batik.transcoder.print.* (1)
org.apache.batik.transcoder.svg2svg.* (3)org.apache.batik.transcoder.wmf.* (5)
org.apache.batik.transcoder.wmf.tosvg.* (4)

org.apache.batik.transcoder: Javadoc index of package org.apache.batik.transcoder.


Package Samples:

org.apache.batik.transcoder.image: Contains all of the interfaces for transcoding an input stream or a document to a particular ouput format.  
org.apache.batik.transcoder.image.resources: Provides transcoders for transcoding a SVG document fragment to an image.  
org.apache.batik.transcoder.wmf.tosvg
org.apache.batik.transcoder.wmf
org.apache.batik.transcoder.svg2svg
org.apache.batik.transcoder.print
org.apache.batik.transcoder.keys

Classes:

PrintTranscoder: This class is a Transcoder that prints SVG images. This class works as follows: any-time the transcode method is invoked, the corresponding input is cached and nothing else happens. However, the PrintTranscoder is also a Printable. If used in a print operation, it will print each of the input it cached, one input per page. The PrintTranscoder uses several different hints that guide its printing: KEY_LANGUAGE, KEY_USER_STYLESHEET_URI, KEY_PIXEL_TO_MM, KEY_XML_PARSER_CLASSNAME can be used to set the defaults for the various SVG properties. KEY_PAGE_WIDTH, KEY_PAGE_HEIGHT, KEY_MARGIN_TOP, KEY_MARGIN_BOTTOM, ...
ImageTranscoder: This class enables to transcode an input to an image of any format. Two transcoding hints ( KEY_WIDTH and KEY_HEIGHT ) can be used to respectively specify the image width and the image height. If only one of these keys is specified, the transcoder preserves the aspect ratio of the original image. The KEY_BACKGROUND_COLOR defines the background color to use for opaque image formats, or the background color that may be used for image formats that support alpha channel. The KEY_AOI represents the area of interest to paint in device space. Three additional transcoding hints that act on the SVG processor ...
ErrorHandler: This interface provides a way to catch errors and warnings from a Transcoder. If an application needs to implement customized error handling, it must implement this interface and then register an instance with the Transcoder using the transcoder's setErrorHandler method. The transcoder will then report all errors and warnings through this interface. A transcoder shall use this interface instead of throwing an exception: it is up to the application whether to throw an exception for different types of errors and warnings. Note, however, that there is no requirement that the transcoder continue to ...
XMLAbstractTranscoder: This class may be the base class of all transcoders which take an XML document as input and which need to build a DOM tree. In order to take advantage of this class, you have to specify the following transcoding hints: KEY_DOM_IMPLEMENTATION : the DOM Implementation to use KEY_DOCUMENT_ELEMENT_NAMESPACE_URI : the namespace URI of the document to create KEY_DOCUMENT_ELEMENT : the qualified name of the document type to create
WMFTranscoder: This class implements the Transcoder interface and can convert a WMF input document into an SVG document. It can use TranscoderInput that are either a URI or a InputStream or a Reader . The XMLReader and Document TranscoderInput types are not supported. This transcoder can use TranscoderOutputs that are of any type except the XMLFilter type.
SVGAbstractTranscoder: This class may be the base class of all transcoders which take an SVG document as input and which need to build a DOM tree. The SVGAbstractTranscoder uses several different hints that guide it's behaviour: KEY_WIDTH, KEY_HEIGHT can be used to specify how to scale the SVG image
DefaultErrorHandler: A default ErrorHandler that throws a TranscoderException when a fatal error occured and display a message when a warning or an error occured.
TranscoderInputTest: This test validates that the various configurations of TranscoderInput are supported by the XMLAbstractTranscoder class.
TranscodingHints: The TranscodingHints class defines a way to pass transcoding parameters or options to any transcoders.
TranscoderSupport: This is a utility class that can be used by transcoders that support transcoding hints and/or error handler.
AbstractTranscoder: This class can be the base class of a transcoder which may support transcoding hints and/or error handler.
WMFPainter: Core class for rendering the WMF image. It is able to render a WMF file in a Graphics object.
MaxDimensionTest: Test the ImageTranscoder with the KEY_MAX_WIDTH and/or the KEY_MAX_HEIGHT transcoding hint.
DimensionTest: Test the ImageTranscoder with the KEY_WIDTH and/or the KEY_HEIGHT transcoding hint.
PixelToMMTest: Test the ImageTranscoder with the KEY_PIXEL_UNIT_TO_MILLIMETER transcoding hint.
AlternateStylesheetTest: Test the ImageTranscoder with the KEY_ALTERNATE_STYLESHEET transcoding hint.
DefaultFontFamilyTest: Test the ImageTranscoder with the KEY_DEFAULT_FONT_FAMILY transcoding hint.
BackgroundColorTest: Test the ImageTranscoder with the KEY_BACKGROUND_COLOR transcoding hint.
JPEGTranscoder: This class is an ImageTranscoder that produces a JPEG image.
TIFFTranscoder: This class is an ImageTranscoder that produces a TIFF image.
PNGTranscoder: This class is an ImageTranscoder that produces a PNG image.
TranscoderOutput: This class represents a single output for a Transcoder .
LanguageTest: Test the ImageTranscoder with the KEY_LANGUAGE transcoding hint.

Home | Contact Us | Privacy Policy | Terms of Service