@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum TrailingSpaceBehavior extends java.lang.Enum<TrailingSpaceBehavior>
| Enum Constant and Description |
|---|
REJECT
Indicates that illegal trailing spaces should cause the associated entry to
be rejected.
|
RETAIN
Indicates that illegal trailing spaces should be retained (as if the value
had been base64-encoded).
|
STRIP
Indicates that illegal trailing spaces should be silently stripped from
attribute values.
|
| Modifier and Type | Method and Description |
|---|---|
static TrailingSpaceBehavior |
forName(java.lang.String name)
Retrieves the trailing space behavior with the specified name.
|
static TrailingSpaceBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrailingSpaceBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrailingSpaceBehavior STRIP
public static final TrailingSpaceBehavior RETAIN
public static final TrailingSpaceBehavior REJECT
public static TrailingSpaceBehavior[] values()
for (TrailingSpaceBehavior c : TrailingSpaceBehavior.values()) System.out.println(c);
public static TrailingSpaceBehavior valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Nullable public static TrailingSpaceBehavior forName(@NotNull java.lang.String name)
name - The name of the trailing space behavior to retrieve. It must
not be null.null if no such
behavior is defined.