org.apache.fop.svg
Class AbstractFOPTranscoder.FOPTranscoderUserAgent
SVGAbstractTranscoderUserAgent
org.apache.fop.svg.AbstractFOPTranscoder.FOPTranscoderUserAgent
- AbstractFOPTranscoder
protected class AbstractFOPTranscoder.FOPTranscoderUserAgent
extends SVGAbstractTranscoderUserAgent
A user agent implementation for FOP's Transcoders.
void | displayError(Exception e) - Displays the specified error using the ErrorHandler.
|
void | displayError(String message) - Displays the specified error message using the ErrorHandler.
|
void | displayMessage(String message) - Displays the specified message using the ErrorHandler.
|
String | getMedia() - Get the media for this transcoder.
|
float | getPixelUnitToMillimeter() - Returns the pixel to millimeter conversion factor specified in the
TranscodingHints or 0.3528 if any.
|
displayError
public void displayError(Exception e)
Displays the specified error using the ErrorHandler.
e
- the exception to display
displayError
public void displayError(String message)
Displays the specified error message using the ErrorHandler.
message
- the message to display
displayMessage
public void displayMessage(String message)
Displays the specified message using the ErrorHandler.
message
- the message to display
getMedia
public String getMedia()
Get the media for this transcoder. Which is always print.
getPixelUnitToMillimeter
public float getPixelUnitToMillimeter()
Returns the pixel to millimeter conversion factor specified in the
TranscodingHints or 0.3528 if any.
- the pixel unit to millimeter factor
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.