public enum PreservationOutputType extends java.lang.Enum<PreservationOutputType>
Enum Constant and Description |
---|
AUTOMATIC
The automatic mode specifies that the default encoding style should be used.
|
ENCODED
The encoded preservation element should appear encoded in the output.
|
NORMAL
The encoded preservation element should be decoded by the final output transformation (which is typically part of
serialisation process).
|
Modifier and Type | Method and Description |
---|---|
static PreservationOutputType |
getOutputType(java.lang.String val)
Returns a OutputType object from the supplied String value if appropriate.
|
java.lang.String |
toString()
The string representation of the enumerated type constants.
|
static PreservationOutputType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreservationOutputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreservationOutputType AUTOMATIC
public static final PreservationOutputType NORMAL
public static final PreservationOutputType ENCODED
public static PreservationOutputType[] values()
for (PreservationOutputType c : PreservationOutputType.values()) System.out.println(c);
public static PreservationOutputType 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<PreservationOutputType>
public static PreservationOutputType getOutputType(java.lang.String val)
Returns a OutputType object from the supplied String value if appropriate.
This method should not be used under normal circumstances, enum instance values should be used instead.
val
- a String representation of a OutputType value or null for the default value