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

org.apache.fop.image.analyser.SVGReader.MUserAgent
Enclosing class:
SVGReader

protected class SVGReader.MUserAgent


Constructor Summary
protected SVGReader.MUserAgent(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()
           
 

Constructor Detail

SVGReader.MUserAgent

protected SVGReader.MUserAgent(java.awt.geom.AffineTransform at)
Creates a new SVGUserAgent.
Method Detail

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()

isXMLParserValidating

public boolean isXMLParserValidating()

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()


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