java.lang.Object
org.apache.batik.apps.rasterizer.DefaultSVGConverterController
- All Implemented Interfaces:
- SVGConverterController
- public class DefaultSVGConverterController
- extends java.lang.Object
- implements SVGConverterController
Default controller for the
SVGConverter operation.
- Version:
- $Id: DefaultSVGConverterController.java,v 1.5 2004/08/18 07:12:25 vhardy Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSVGConverterController
public DefaultSVGConverterController()
proceedWithComputedTask
public boolean proceedWithComputedTask(org.apache.batik.transcoder.Transcoder transcoder,
java.util.Map hints,
java.util.Vector sources,
java.util.Vector dest)
- Invoked when the rasterizer has computed the
exact description of what it should do. The controller
should return true if the transcoding process should
proceed or false otherwise.
- Specified by:
proceedWithComputedTask in interface SVGConverterController
proceedWithSourceTranscoding
public boolean proceedWithSourceTranscoding(SVGConverterSource source,
java.io.File dest)
- Invoked when the rasterizer is about to start transcoding
of a given source.
The controller should return true if the source should be
transcoded and false otherwise.
- Specified by:
proceedWithSourceTranscoding in interface SVGConverterController
proceedOnSourceTranscodingFailure
public boolean proceedOnSourceTranscodingFailure(SVGConverterSource source,
java.io.File dest,
java.lang.String errorCode)
- Invoked when the rasterizer got an error while
transcoding the input source.
The controller should return true if the transcoding process
should continue on other sources and it should return false
if it should not.
- Specified by:
proceedOnSourceTranscodingFailure in interface SVGConverterController
onSourceTranscodingSuccess
public void onSourceTranscodingSuccess(SVGConverterSource source,
java.io.File dest)
- Invoked when the rasterizer successfully transcoded
the input source.
- Specified by:
onSourceTranscodingSuccess in interface SVGConverterController