| Package | Description |
|---|---|
| org.apache.batik.ext.awt.image.codec.imageio | |
| org.apache.batik.ext.awt.image.codec.png | |
| org.apache.batik.transcoder |
Contains all of the interfaces for transcoding an input stream or
a document to a particular ouput format.
|
| org.apache.batik.transcoder.image |
Provides transcoders for transcoding a SVG document fragment
to an image.
|
| org.apache.batik.transcoder.print | |
| org.apache.batik.transcoder.svg2svg | |
| org.apache.batik.transcoder.wmf.tosvg |
Contains all of the interfaces for transcoding WMF Metafiles to SVG.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
PNGTranscoderImageIOWriteAdapter.writeImage(PNGTranscoder transcoder,
java.awt.image.BufferedImage img,
TranscoderOutput output) |
|
void |
TIFFTranscoderImageIOWriteAdapter.writeImage(TIFFTranscoder transcoder,
java.awt.image.BufferedImage img,
TranscoderOutput output) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
PNGTranscoderInternalCodecWriteAdapter.writeImage(PNGTranscoder transcoder,
java.awt.image.BufferedImage img,
TranscoderOutput output) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
DefaultErrorHandler.error(TranscoderException ex) |
Invoked when an error occured while transcoding.
|
void |
ErrorHandler.error(TranscoderException ex) |
Invoked when an error occured while transcoding.
|
void |
DefaultErrorHandler.fatalError(TranscoderException ex) |
Invoked when an fatal error occured while transcoding.
|
void |
ErrorHandler.fatalError(TranscoderException ex) |
Invoked when an fatal error occured while transcoding.
|
void |
DefaultErrorHandler.warning(TranscoderException ex) |
Invoked when a warning occured while transcoding.
|
void |
ErrorHandler.warning(TranscoderException ex) |
Invoked when a warning occured while transcoding.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DefaultErrorHandler.error(TranscoderException ex) |
Invoked when an error occured while transcoding.
|
void |
ErrorHandler.error(TranscoderException ex) |
Invoked when an error occured while transcoding.
|
void |
DefaultErrorHandler.fatalError(TranscoderException ex) |
Invoked when an fatal error occured while transcoding.
|
void |
ErrorHandler.fatalError(TranscoderException ex) |
Invoked when an fatal error occured while transcoding.
|
void |
SVGAbstractTranscoder.transcode(TranscoderInput input,
TranscoderOutput output) |
|
protected void |
SVGAbstractTranscoder.transcode(org.w3c.dom.Document document,
java.lang.String uri,
TranscoderOutput output) |
Transcodes the specified Document as an image in the specified output.
|
void |
Transcoder.transcode(TranscoderInput input,
TranscoderOutput output) |
Transcodes the specified input in the specified output.
|
void |
XMLAbstractTranscoder.transcode(TranscoderInput input,
TranscoderOutput output) |
Transcodes the specified XML input in the specified output.
|
protected abstract void |
XMLAbstractTranscoder.transcode(org.w3c.dom.Document document,
java.lang.String uri,
TranscoderOutput output) |
Transcodes the specified Document in the specified output.
|
void |
DefaultErrorHandler.warning(TranscoderException ex) |
Invoked when a warning occured while transcoding.
|
void |
ErrorHandler.warning(TranscoderException ex) |
Invoked when a warning occured while transcoding.
|
protected void |
ToSVGAbstractTranscoder.writeSVGToOutput(SVGGraphics2D svgGenerator,
org.w3c.dom.Element svgRoot,
TranscoderOutput output) |
Writes the SVG content held by the svgGenerator to the
TranscoderOutput. |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
ImageTranscoder.transcode(org.w3c.dom.Document document,
java.lang.String uri,
TranscoderOutput output) |
Transcodes the specified Document as an image in the specified output.
|
abstract void |
ImageTranscoder.writeImage(java.awt.image.BufferedImage img,
TranscoderOutput output) |
Writes the specified image to the specified output.
|
void |
JPEGTranscoder.writeImage(java.awt.image.BufferedImage img,
TranscoderOutput output) |
Writes the specified image to the specified output.
|
void |
PNGTranscoder.WriteAdapter.writeImage(PNGTranscoder transcoder,
java.awt.image.BufferedImage img,
TranscoderOutput output) |
Writes the specified image to the specified output.
|
void |
PNGTranscoder.writeImage(java.awt.image.BufferedImage img,
TranscoderOutput output) |
Writes the specified image to the specified output.
|
void |
TIFFTranscoder.WriteAdapter.writeImage(TIFFTranscoder transcoder,
java.awt.image.BufferedImage img,
TranscoderOutput output) |
Writes the specified image to the specified output.
|
void |
TIFFTranscoder.writeImage(java.awt.image.BufferedImage img,
TranscoderOutput output) |
Writes the specified image to the specified output.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
PrintTranscoder.transcode(org.w3c.dom.Document document,
java.lang.String uri,
TranscoderOutput output) |
Transcodes the specified Document as an image in the specified output.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected TranscoderException |
PrettyPrinter.fatalError(java.lang.String key,
java.lang.Object[] params) |
Creates a transcoder exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected TranscoderException |
PrettyPrinter.fatalError(java.lang.String key,
java.lang.Object[] params) |
Creates a transcoder exception.
|
protected void |
SVGTranscoder.prettyPrint(java.io.Reader in,
java.io.Writer out) |
Pretty print the given reader.
|
void |
PrettyPrinter.print(java.io.Reader r,
java.io.Writer w) |
Prints an SVG document from the given reader to the given writer.
|
protected void |
PrettyPrinter.printAttlist() |
Prints an ATTLIST declaration.
|
protected void |
PrettyPrinter.printChildren() |
Prints the children of an element declaration.
|
protected void |
PrettyPrinter.printContent(boolean spaceAtStart) |
Prints the content of an element.
|
protected void |
PrettyPrinter.printDoctype() |
Prints the doctype.
|
protected java.lang.String |
PrettyPrinter.printElement() |
Prints an element.
|
protected void |
PrettyPrinter.printElementDeclaration() |
Prints an element declaration.
|
protected void |
PrettyPrinter.printEntityDeclaration() |
Prints an entity declaration.
|
protected void |
PrettyPrinter.printNotation() |
Prints a notation declaration.
|
protected void |
PrettyPrinter.printPI() |
Prints a processing instruction.
|
protected void |
PrettyPrinter.printXMLDecl() |
Prints the XML declaration.
|
void |
SVGTranscoder.transcode(TranscoderInput input,
TranscoderOutput output) |
Transcodes the specified input in the specified output.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
WMFTranscoder.main(java.lang.String[] args) |
Unit testing : Illustrates how the transcoder might be used.
|
void |
WMFTranscoder.transcode(TranscoderInput input,
TranscoderOutput output) |
Transcodes the specified input in the specified output.
|
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.