org.apache.fop.image.analyser
Class SVGReader.MUserAgent

java.lang.Object
  extended byorg.apache.batik.bridge.UserAgentAdapter
      extended byorg.apache.fop.image.analyser.SVGReader.MUserAgent
All Implemented Interfaces:
UserAgent
Enclosing class:
SVGReader

protected class SVGReader.MUserAgent
extends UserAgentAdapter


Field Summary
 
Fields inherited from class org.apache.batik.bridge.UserAgentAdapter
extensions, FEATURES
 
Constructor Summary
protected SVGReader.MUserAgent(AffineTransform at)
          Creates a new SVGUserAgent.
 
Method Summary
 void displayError(Exception ex)
          Displays an error resulting from the specified Exception.
 void displayError(String message)
          Displays an error message.
 void displayMessage(String message)
          Displays a message in the User Agent interface.
 String getLanguages()
          Returns the language settings.
 String getMedia()
           
 float getPixelToMM()
          Returns a customized the pixel to mm factor.
 float getPixelUnitToMillimeter()
           
 AffineTransform getTransform()
           
 String getUserStyleSheetURI()
          Returns the user stylesheet uri.
 Dimension2D getViewportSize()
           
 String getXMLParserClassName()
          Returns the class name of the XML parser.
 boolean isXMLParserValidating()
           
 
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

SVGReader.MUserAgent

protected SVGReader.MUserAgent(AffineTransform at)
Creates a new SVGUserAgent.

Method Detail

displayError

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


displayError

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


displayMessage

public void displayMessage(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 String getLanguages()
Returns the language settings.


getMedia

public String getMedia()

isXMLParserValidating

public boolean isXMLParserValidating()

getUserStyleSheetURI

public String getUserStyleSheetURI()
Returns the user stylesheet uri.

Returns:
null if no user style sheet was specified.

getXMLParserClassName

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


getTransform

public AffineTransform getTransform()

getViewportSize

public Dimension2D getViewportSize()


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