Enum XMLFormat.TextMode

java.lang.Object
java.lang.Enum<XMLFormat.TextMode>
io.fabric8.maven.XMLFormat.TextMode
All Implemented Interfaces:
Serializable, Comparable<XMLFormat.TextMode>, java.lang.constant.Constable
Enclosing class:
XMLFormat

public static enum XMLFormat.TextMode extends Enum<XMLFormat.TextMode>
  • Enum Constant Details

    • PRESERVE

      public static final XMLFormat.TextMode PRESERVE
      Mode for literal text preservation.
    • TRIM

      public static final XMLFormat.TextMode TRIM
      Mode for text trimming (left and right trim).
    • NORMALIZE

      public static final XMLFormat.TextMode NORMALIZE
      Mode for text normalization (left and right trim plus internal whitespace is normalized to a single space.
      See Also:
      • Element.getTextNormalize()
    • TRIM_FULL_WHITE

      public static final XMLFormat.TextMode TRIM_FULL_WHITE
      Mode for text trimming of content consisting of nothing but whitespace but otherwise not changing output.
  • Method Details

    • values

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

      public static XMLFormat.TextMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null