Enum Class NoAttribute.NoAttrScope

java.lang.Object
java.lang.Enum<NoAttribute.NoAttrScope>
net.sourceforge.pmd.lang.rule.xpath.NoAttribute.NoAttrScope
All Implemented Interfaces:
Serializable, Comparable<NoAttribute.NoAttrScope>, Constable
Enclosing class:
NoAttribute

public static enum NoAttribute.NoAttrScope extends Enum<NoAttribute.NoAttrScope>
  • Enum Constant Details

    • INHERITED

      public static final NoAttribute.NoAttrScope INHERITED
      Only attributes inherited from superclasses or superinterfaces are filtered out (except those from Node and AbstractNode). Attributes defined here, or overridden, are kept. Attributes can be suppressed individually with a NoAttribute on their accessor.
    • ALL

      public static final NoAttribute.NoAttrScope ALL
      All attributes are suppressed, except those from Node and AbstractNode. This extends INHERITED to the attributes defined in this class. Note that subclasses of the current class also will see those attributes suppressed unless they override them.
  • Method Details

    • values

      public static NoAttribute.NoAttrScope[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NoAttribute.NoAttrScope valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null