Class NoLoadScriptSecurity

java.lang.Object
org.apache.batik.bridge.NoLoadScriptSecurity
All Implemented Interfaces:
ScriptSecurity

public class NoLoadScriptSecurity extends Object implements ScriptSecurity
This implementation for the ScriptSecurity interface does not allow scripts to be loaded.
Version:
$Id: NoLoadScriptSecurity.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

    • ERROR_NO_SCRIPT_OF_TYPE_ALLOWED

      public static final String ERROR_NO_SCRIPT_OF_TYPE_ALLOWED
      Message when trying to load a script file and the Document does not have a URL
      See Also:
    • se

      protected SecurityException se
      The exception is built in the constructor and thrown if the checkLoadScript method is called.
  • Constructor Details

    • NoLoadScriptSecurity

      public NoLoadScriptSecurity(String scriptType)
      Creates a new NoLoadScriptSecurity object.
      Parameters:
      scriptType - type of script, as found in the type attribute of the <script> element.
  • Method Details