|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.bridge.UserAgentAdapter | +--org.apache.fop.svg.SVGUserAgent
The SVG user agent. This is an implementation of the batik svg user agent for handling errors and getting user agent values.
Fields inherited from class org.apache.batik.bridge.UserAgentAdapter |
extensions, FEATURES |
Constructor Summary | |
SVGUserAgent(float pixelUnitToMM,
java.awt.geom.AffineTransform at)
Creates a new SVGUserAgent. |
Method Summary | |
void |
displayError(java.lang.Exception ex)
Displays an error resulting from the specified Exception. |
void |
displayError(java.lang.String message)
Displays an error message. |
void |
displayMessage(java.lang.String message)
Displays a message in the User Agent interface. |
java.lang.String |
getLanguages()
Returns the language settings. |
protected org.apache.commons.logging.Log |
getLogger()
Returns the logger associated with this user agent. |
java.lang.String |
getMedia()
Returns the media type for this rendering. |
float |
getPixelUnitToMillimeter()
Returns a customized the pixel to mm factor. |
java.awt.geom.AffineTransform |
getTransform()
Get the transform of the svg document. |
java.lang.String |
getUserStyleSheetURI()
Returns the user stylesheet uri. |
java.awt.geom.Dimension2D |
getViewportSize()
Get the default viewport size for an svg document. |
java.lang.String |
getXMLParserClassName()
Returns the class name of the XML parser. |
boolean |
isXMLParserValidating()
Is the XML parser validating. |
void |
showAlert(java.lang.String message)
Shows an alert dialog box. |
Methods inherited from class org.apache.batik.bridge.UserAgentAdapter |
addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, getAlternateStyleSheet, getBolderFontWeight, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getExternalResourceSecurity, getLighterFontWeight, getMediumFontSize, getPixelToMM, getScriptSecurity, getStandardBolderFontWeight, getStandardLighterFontWeight, handleElement, hasFeature, openLink, registerExtension, runThread, setSVGCursor, setTextSelection, setTransform, showConfirm, showPrompt, showPrompt, supportExtension |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVGUserAgent(float pixelUnitToMM, java.awt.geom.AffineTransform at)
pixelUnitToMM
- the pixel to millimeter conversion factor
currently in effectat
- the current transformMethod Detail |
protected final org.apache.commons.logging.Log getLogger()
public void displayError(java.lang.String message)
displayError
in class org.apache.batik.bridge.UserAgentAdapter
message
- the message to displaypublic void displayError(java.lang.Exception ex)
displayError
in class org.apache.batik.bridge.UserAgentAdapter
ex
- the exception to displaypublic void displayMessage(java.lang.String message)
displayMessage
in class org.apache.batik.bridge.UserAgentAdapter
message
- the message to displaypublic void showAlert(java.lang.String message)
showAlert
in class org.apache.batik.bridge.UserAgentAdapter
message
- the message to displaypublic float getPixelUnitToMillimeter()
getPixelUnitToMillimeter
in class org.apache.batik.bridge.UserAgentAdapter
public java.lang.String getLanguages()
getLanguages
in class org.apache.batik.bridge.UserAgentAdapter
public java.lang.String getMedia()
getMedia
in class org.apache.batik.bridge.UserAgentAdapter
public java.lang.String getUserStyleSheetURI()
getUserStyleSheetURI
in class org.apache.batik.bridge.UserAgentAdapter
public java.lang.String getXMLParserClassName()
getXMLParserClassName
in class org.apache.batik.bridge.UserAgentAdapter
public boolean isXMLParserValidating()
isXMLParserValidating
in class org.apache.batik.bridge.UserAgentAdapter
public java.awt.geom.AffineTransform getTransform()
getTransform
in class org.apache.batik.bridge.UserAgentAdapter
public java.awt.geom.Dimension2D getViewportSize()
getViewportSize
in class org.apache.batik.bridge.UserAgentAdapter
|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |