Class JexlSandbox.BlackSet

java.lang.Object
org.apache.commons.jexl3.introspection.JexlSandbox.Names
org.apache.commons.jexl3.introspection.JexlSandbox.BlackSet
Enclosing class:
JexlSandbox

@Deprecated public static final class JexlSandbox.BlackSet extends JexlSandbox.Names
Deprecated.
since 3.2, use JexlSandbox.BlockSet
  • Constructor Details

    • BlackSet

      public BlackSet()
      Deprecated.
  • Method Details

    • add

      public boolean add(String name)
      Description copied from class: JexlSandbox.Names
      Adds a name to this set.
      Specified by:
      add in class JexlSandbox.Names
      Parameters:
      name - the name to add
      Returns:
      true if the name was really added, false if not
    • copy

      protected JexlSandbox.Names copy()
      Overrides:
      copy in class JexlSandbox.Names
      Returns:
      a copy of these Names
    • get

      public String get(String name)
      Description copied from class: JexlSandbox.Names
      Whether a given name is allowed or not.
      Overrides:
      get in class JexlSandbox.Names
      Parameters:
      name - the method/property name to check
      Returns:
      null (or NULL if name is null) if not allowed, the actual name to use otherwise