|
|||||||||
| Home >> All >> org >> apache >> batik >> [ transcoder overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.transcoder
Class TranscoderSupport

java.lang.Objectorg.apache.batik.transcoder.TranscoderSupport
- Direct Known Subclasses:
- AbstractTranscoder
- public class TranscoderSupport
- extends java.lang.Object
This is a utility class that can be used by transcoders that support transcoding hints and/or error handler.
- Version:
- $Id: TranscoderSupport.java,v 1.8 2004/08/18 07:15:41 vhardy Exp $
| Field Summary | |
(package private) static ErrorHandler |
defaultErrorHandler
|
protected ErrorHandler |
handler
The error handler used to report warnings and errors. |
protected TranscodingHints |
hints
The transcoding hints. |
| Constructor Summary | |
TranscoderSupport()
Constructs a new TranscoderSupport. |
|
| Method Summary | |
void |
addTranscodingHint(TranscodingHints.Key key,
java.lang.Object value)
Sets the value of a single preference for the transcoding process. |
ErrorHandler |
getErrorHandler()
Returns the error handler this transcoder uses to report warnings and errors, or null if any. |
TranscodingHints |
getTranscodingHints()
Returns a copy of the transcoding hints of this transcoder. |
void |
removeTranscodingHint(TranscodingHints.Key key)
Removes the value of a single preference for the transcoding process. |
void |
setErrorHandler(ErrorHandler handler)
Sets the error handler this transcoder may use to report warnings and errors. |
void |
setTranscodingHints(java.util.Map hints)
Replaces the values of all preferences for the transcoding algorithms with the specified hints. |
void |
setTranscodingHints(TranscodingHints hints)
Sets the values of all preferences for the transcoding algorithms with the specified hints. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
defaultErrorHandler
static final ErrorHandler defaultErrorHandler
hints
protected TranscodingHints hints
- The transcoding hints.
handler
protected ErrorHandler handler
- The error handler used to report warnings and errors.
| Constructor Detail |
TranscoderSupport
public TranscoderSupport()
- Constructs a new TranscoderSupport.
| Method Detail |
getTranscodingHints
public TranscodingHints getTranscodingHints()
- Returns a copy of the transcoding hints of this transcoder.
addTranscodingHint
public void addTranscodingHint(TranscodingHints.Key key, java.lang.Object value)
- Sets the value of a single preference for the transcoding process.
removeTranscodingHint
public void removeTranscodingHint(TranscodingHints.Key key)
- Removes the value of a single preference for the transcoding process.
setTranscodingHints
public void setTranscodingHints(java.util.Map hints)
- Replaces the values of all preferences for the transcoding algorithms
with the specified hints.
setTranscodingHints
public void setTranscodingHints(TranscodingHints hints)
- Sets the values of all preferences for the transcoding algorithms
with the specified hints.
setErrorHandler
public void setErrorHandler(ErrorHandler handler)
- Sets the error handler this transcoder may use to report
warnings and errors.
getErrorHandler
public ErrorHandler getErrorHandler()
- Returns the error handler this transcoder uses to report
warnings and errors, or null if any.
|
|||||||||
| Home >> All >> org >> apache >> batik >> [ transcoder overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.batik.transcoder.TranscoderSupport