Class SVGOnLoadExceptionTest.TestUserAgent
java.lang.Object
org.apache.batik.bridge.UserAgentAdapter
org.apache.batik.test.svg.SVGOnLoadExceptionTest.TestUserAgent
- All Implemented Interfaces:
UserAgent
- Enclosing class:
SVGOnLoadExceptionTest
- Version:
- $Id$
-
Field Summary
FieldsFields inherited from class UserAgentAdapter
ctx, extensions, FEATURES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDisplay the specified error (forwards call to displayError(String))getExternalResourceSecurity(ParsedURL resourceURL, ParsedURL docURL) Returns the security settings for the given resource url and document urlgetScriptSecurity(String scriptType, ParsedURL scriptURL, ParsedURL docURL) Returns the security settings for the given script type, script url and document urlMethods inherited from class UserAgentAdapter
addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, displayError, displayMessage, getAlternateStyleSheet, getBolderFontWeight, getBrokenLinkDocument, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getFontFamilyResolver, getLanguages, getLighterFontWeight, getMedia, getMediumFontSize, getPixelToMM, getPixelUnitToMillimeter, getSourceResolution, getStandardBolderFontWeight, getStandardLighterFontWeight, getTransform, getUserStyleSheetURI, getViewportSize, getXMLParserClassName, handleElement, hasFeature, isXMLParserValidating, loadDocument, openLink, registerExtension, runThread, setBridgeContext, setSourceResolution, setSVGCursor, setTextSelection, setTransform, showAlert, showConfirm, showPrompt, showPrompt, supportExtension
-
Field Details
-
e
-
-
Constructor Details
-
TestUserAgent
TestUserAgent()
-
-
Method Details
-
getExternalResourceSecurity
public ExternalResourceSecurity getExternalResourceSecurity(ParsedURL resourceURL, ParsedURL docURL) Description copied from class:UserAgentAdapterReturns the security settings for the given resource url and document url- Specified by:
getExternalResourceSecurityin interfaceUserAgent- Overrides:
getExternalResourceSecurityin classUserAgentAdapter- Parameters:
resourceURL- url for the resource, as defined in the resource's xlink:href attribute. If that attribute was empty, then this parameter should be nulldocURL- url for the document into which the resource was found.
-
getScriptSecurity
Description copied from class:UserAgentAdapterReturns the security settings for the given script type, script url and document url- Specified by:
getScriptSecurityin interfaceUserAgent- Overrides:
getScriptSecurityin classUserAgentAdapter- Parameters:
scriptType- type of script, as found in the type attribute of the <script> element.scriptURL- url for the script, as defined in the script's xlink:href attribute. If that attribute was empty, then this parameter should be nulldocURL- url for the document into which the script was found.
-
displayError
Description copied from class:UserAgentAdapterDisplay the specified error (forwards call to displayError(String))- Specified by:
displayErrorin interfaceUserAgent- Overrides:
displayErrorin classUserAgentAdapter
-