|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.bridge.UserAgentAdapter
org.apache.fop.svg.PDFTranscoder.ImageTranscoderUserAgent
protected class PDFTranscoder.ImageTranscoderUserAgent
A user agent implementation for ImageTranscoder.
Field Summary |
---|
Fields inherited from class org.apache.batik.bridge.UserAgentAdapter |
---|
ctx, extensions, FEATURES |
Constructor Summary | |
---|---|
protected |
PDFTranscoder.ImageTranscoderUserAgent()
|
Method Summary | |
---|---|
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 |
getLanguages()
Returns the user language specified in the TranscodingHints or "en" (english) if any. |
String |
getMedia()
|
float |
getPixelToMM()
Returns the pixel to millimeter conversion factor specified in the TranscodingHints or 0.3528 if any. |
String |
getUserStyleSheetURI()
Returns the user stylesheet specified in the TranscodingHints or null if any. |
Dimension2D |
getViewportSize()
Returns the default size of this user agent (400x400). |
String |
getXMLParserClassName()
Returns the XML parser to use from the TranscodingHints. |
boolean |
isXMLParserValidating()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PDFTranscoder.ImageTranscoderUserAgent()
Method Detail |
---|
public boolean isXMLParserValidating()
isXMLParserValidating
in interface UserAgent
isXMLParserValidating
in class UserAgentAdapter
public Dimension2D getViewportSize()
getViewportSize
in interface UserAgent
getViewportSize
in class UserAgentAdapter
public void displayError(String message)
displayError
in class UserAgentAdapter
public void displayError(Exception e)
displayError
in interface UserAgent
displayError
in class UserAgentAdapter
public void displayMessage(String message)
displayMessage
in interface UserAgent
displayMessage
in class UserAgentAdapter
public float getPixelToMM()
getPixelToMM
in interface UserAgent
getPixelToMM
in class UserAgentAdapter
public String getLanguages()
getLanguages
in interface UserAgent
getLanguages
in class UserAgentAdapter
public String getMedia()
getMedia
in interface UserAgent
getMedia
in class UserAgentAdapter
public String getUserStyleSheetURI()
getUserStyleSheetURI
in interface UserAgent
getUserStyleSheetURI
in class UserAgentAdapter
public String getXMLParserClassName()
getXMLParserClassName
in interface UserAgent
getXMLParserClassName
in class UserAgentAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |