org.apache.fop.svg
Class SVGUserAgent

java.lang.Object
  extended byorg.apache.batik.bridge.UserAgentAdapter
      extended byorg.apache.fop.svg.SVGUserAgent
All Implemented Interfaces:
UserAgent
Direct Known Subclasses:
AWTRenderer.MUserAgent

public class SVGUserAgent
extends UserAgentAdapter


Field Summary
 
Fields inherited from class org.apache.batik.bridge.UserAgentAdapter
extensions, FEATURES
 
Constructor Summary
SVGUserAgent(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.
 java.lang.String getMedia()
           
 float getPixelToMM()
          Returns a customized the pixel to mm factor.
 float getPixelUnitToMillimeter()
           
 java.awt.geom.AffineTransform getTransform()
           
 java.lang.String getUserStyleSheetURI()
          Returns the user stylesheet uri.
 java.awt.geom.Dimension2D getViewportSize()
           
 java.lang.String getXMLParserClassName()
          Returns the class name of the XML parser.
 boolean isXMLParserValidating()
           
 void setLogger(org.apache.avalon.framework.logger.Logger logger)
           
 
Methods inherited from class org.apache.batik.bridge.UserAgentAdapter
addStdFeatures, checkLoadExternalResource, checkLoadScript, getAlternateStyleSheet, getBolderFontWeight, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getExternalResourceSecurity, getLighterFontWeight, getMediumFontSize, getScriptSecurity, getStandardBolderFontWeight, getStandardLighterFontWeight, handleElement, hasFeature, openLink, registerExtension, runThread, setSVGCursor, setTransform, showAlert, showConfirm, showPrompt, showPrompt, supportExtension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGUserAgent

public SVGUserAgent(java.awt.geom.AffineTransform at)
Creates a new SVGUserAgent.

Method Detail

setLogger

public void setLogger(org.apache.avalon.framework.logger.Logger logger)

displayError

public void displayError(java.lang.String message)
Displays an error message.


displayError

public void displayError(java.lang.Exception ex)
Displays an error resulting from the specified Exception.


displayMessage

public void displayMessage(java.lang.String message)
Displays a message in the User Agent interface. The given message is typically displayed in a status bar.


getPixelToMM

public float getPixelToMM()
Returns a customized the pixel to mm factor.


getPixelUnitToMillimeter

public float getPixelUnitToMillimeter()

getLanguages

public java.lang.String getLanguages()
Returns the language settings.


getMedia

public java.lang.String getMedia()

getUserStyleSheetURI

public java.lang.String getUserStyleSheetURI()
Returns the user stylesheet uri.

Returns:
null if no user style sheet was specified.

getXMLParserClassName

public java.lang.String getXMLParserClassName()
Returns the class name of the XML parser.


getTransform

public java.awt.geom.AffineTransform getTransform()

getViewportSize

public java.awt.geom.Dimension2D getViewportSize()

isXMLParserValidating

public boolean isXMLParserValidating()


Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.