Enum Class ProcessingAttribute

java.lang.Object
java.lang.Enum<ProcessingAttribute>
org.apache.nifi.xml.processing.ProcessingAttribute
All Implemented Interfaces:
Serializable, Comparable<ProcessingAttribute>, Constable

public enum ProcessingAttribute extends Enum<ProcessingAttribute>
XML Processing Attributes
  • Enum Constant Details

    • ACCESS_EXTERNAL_DTD

      public static final ProcessingAttribute ACCESS_EXTERNAL_DTD
      Access External Document Type Declaration with an empty string to deny all access to external references
    • ACCESS_EXTERNAL_STYLESHEET

      public static final ProcessingAttribute ACCESS_EXTERNAL_STYLESHEET
      Access External Stylesheet with an empty string to deny all access to external references
  • Field Details

    • attribute

      private final String attribute
    • value

      private final Object value
  • Constructor Details

    • ProcessingAttribute

      private ProcessingAttribute(String attribute, Object value)
  • Method Details

    • values

      public static ProcessingAttribute[] 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 ProcessingAttribute 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
    • getAttribute

      public String getAttribute()
    • getValue

      public Object getValue()