Class RhinoClassShutter

  • All Implemented Interfaces:
    org.mozilla.javascript.ClassShutter

    public class RhinoClassShutter
    extends java.lang.Object
    implements org.mozilla.javascript.ClassShutter
    Class shutter that restricts access to Batik internals from script.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.List<java.lang.String> WHITELIST  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean visibleToScripts​(java.lang.String fullClassName)
      Returns whether the given class is visible to scripts.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • WHITELIST

        public static final java.util.List<java.lang.String> WHITELIST
    • Constructor Detail

      • RhinoClassShutter

        public RhinoClassShutter()
    • Method Detail

      • visibleToScripts

        public boolean visibleToScripts​(java.lang.String fullClassName)
        Returns whether the given class is visible to scripts.
        Specified by:
        visibleToScripts in interface org.mozilla.javascript.ClassShutter