Class BatikUserAgent

  • All Implemented Interfaces:
    org.apache.batik.bridge.UserAgent

    public class BatikUserAgent
    extends org.apache.batik.bridge.UserAgentAdapter
    SVG renderer implementation based on Batik.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.batik.bridge.ExternalResourceSecurity getExternalResourceSecurity​(org.apache.batik.util.ParsedURL resourceURL, org.apache.batik.util.ParsedURL docURL)  
      org.apache.batik.bridge.FontFamilyResolver getFontFamilyResolver()  
      float getPixelUnitToMillimeter()  
      • Methods inherited from class org.apache.batik.bridge.UserAgentAdapter

        addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, displayError, displayError, displayMessage, getAlternateStyleSheet, getBolderFontWeight, getBrokenLinkDocument, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getLanguages, getLighterFontWeight, getMedia, getMediumFontSize, getPixelToMM, getScriptSecurity, getStandardBolderFontWeight, getStandardLighterFontWeight, getTransform, getUserStyleSheetURI, getViewportSize, getXMLParserClassName, handleElement, hasFeature, isXMLParserValidating, loadDocument, openLink, registerExtension, runThread, setBridgeContext, setSVGCursor, setTextSelection, setTransform, showAlert, showConfirm, showPrompt, showPrompt, supportExtension
    • Constructor Detail

      • BatikUserAgent

        public BatikUserAgent​(org.apache.batik.bridge.FontFamilyResolver fontFamilyResolver,
                              float pixel2mm)
    • Method Detail

      • getPixelUnitToMillimeter

        public float getPixelUnitToMillimeter()
        Specified by:
        getPixelUnitToMillimeter in interface org.apache.batik.bridge.UserAgent
        Overrides:
        getPixelUnitToMillimeter in class org.apache.batik.bridge.UserAgentAdapter
      • getFontFamilyResolver

        public org.apache.batik.bridge.FontFamilyResolver getFontFamilyResolver()
        Specified by:
        getFontFamilyResolver in interface org.apache.batik.bridge.UserAgent
        Overrides:
        getFontFamilyResolver in class org.apache.batik.bridge.UserAgentAdapter
      • getExternalResourceSecurity

        public org.apache.batik.bridge.ExternalResourceSecurity getExternalResourceSecurity​(org.apache.batik.util.ParsedURL resourceURL,
                                                                                            org.apache.batik.util.ParsedURL docURL)
        Specified by:
        getExternalResourceSecurity in interface org.apache.batik.bridge.UserAgent
        Overrides:
        getExternalResourceSecurity in class org.apache.batik.bridge.UserAgentAdapter