public enum EntityReferencePreservationMode extends Enum<EntityReferencePreservationMode>
Enum Constant and Description |
---|
PRESERVE_REFERENCES
Entity references remain in the body of the XML content.
|
PRESERVE_REFERENCES_ENCODED_FORM
Entity references remain in the body of the XML content in encoded output format.
|
USE_REPLACEMENT_TEXT
Entity references are replaced with their 'replacement text' (which may actually include general XML such as text, attributes
and elements).
|
Modifier and Type | Method and Description |
---|---|
static EntityReferencePreservationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityReferencePreservationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityReferencePreservationMode USE_REPLACEMENT_TEXT
public static final EntityReferencePreservationMode PRESERVE_REFERENCES
public static final EntityReferencePreservationMode PRESERVE_REFERENCES_ENCODED_FORM
public static EntityReferencePreservationMode[] values()
for (EntityReferencePreservationMode c : EntityReferencePreservationMode.values()) System.out.println(c);
public static EntityReferencePreservationMode 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 © 2023 Deltaman Group Ltd. All Rights Reserved.