Package io.fabric8.maven
Enum XMLFormat.TextMode
- All Implemented Interfaces:
Serializable,Comparable<XMLFormat.TextMode>,java.lang.constant.Constable
- Enclosing class:
XMLFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMode for text normalization (left and right trim plus internal whitespace is normalized to a single space.Mode for literal text preservation.Mode for text trimming (left and right trim).Mode for text trimming of content consisting of nothing but whitespace but otherwise not changing output. -
Method Summary
Modifier and TypeMethodDescriptionstatic XMLFormat.TextModeReturns the enum constant of this type with the specified name.static XMLFormat.TextMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRESERVE
Mode for literal text preservation. -
TRIM
Mode for text trimming (left and right trim). -
NORMALIZE
Mode for text normalization (left and right trim plus internal whitespace is normalized to a single space.- See Also:
-
TRIM_FULL_WHITE
Mode for text trimming of content consisting of nothing but whitespace but otherwise not changing output.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-