public enum DoctypePreservationMode extends Enum<DoctypePreservationMode>
Enum Constant and Description |
---|
ERROR_WHEN_CHANGED
if changes signal error, otherwise preserved in result.
|
PRESERVE_WHEN_UNCHANGED
if no changes then doctypes are preserved, otherwise removed.
|
REMOVE_ALWAYS
no doctypes appear in the result, irrespective of what's in the inputs.
|
Modifier and Type | Method and Description |
---|---|
static DoctypePreservationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoctypePreservationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DoctypePreservationMode REMOVE_ALWAYS
public static final DoctypePreservationMode PRESERVE_WHEN_UNCHANGED
public static final DoctypePreservationMode ERROR_WHEN_CHANGED
public static DoctypePreservationMode[] values()
for (DoctypePreservationMode c : DoctypePreservationMode.values()) System.out.println(c);
public static DoctypePreservationMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015 - 2019 DeltaXML Ltd. All Rights Reserved.