Enum Class SubtreeMode

java.lang.Object
java.lang.Enum<SubtreeMode>
com.deltaxml.core.config.subtreeProcessing.SubtreeMode
All Implemented Interfaces:
Serializable, Comparable<SubtreeMode>, Constable

public enum SubtreeMode extends Enum<SubtreeMode>
This enumeration contains options for the type of content in the element subtree.
  • Enum Constant Details

    • TEXT

      public static final SubtreeMode TEXT
      This type is used for text in the element subtree.
    • DATA

      public static final SubtreeMode DATA
      This type is used for data in the element subtree.
  • Method Details

    • values

      public static SubtreeMode[] 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 SubtreeMode 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
    • getSubtreeMode

      public static SubtreeMode getSubtreeMode(String val)