|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Object Enum<XmlEscapeType> org.unbescape.xml.XmlEscapeType
public enum XmlEscapeType
Types of escape operations to be performed on XML text:
XmlEscapeLevel
), and default to using Decimal Character References
for escaped characters that do not have an associated CER.XmlEscapeLevel
), and default to using Hexadecimal Character References
for escaped characters that do not have an associated CER.
For further information, see the Glossary and the References sections at the
documentation for the XmlEscape
class.
Enum Constant Summary | |
---|---|
CHARACTER_ENTITY_REFERENCES_DEFAULT_TO_DECIMAL
Use Character Entity References if possible, default to Decimal Character References. |
|
CHARACTER_ENTITY_REFERENCES_DEFAULT_TO_HEXA
Use Character Entity Referencess if possible, default to Hexadecimal Character References. |
|
DECIMAL_REFERENCES
Always use Decimal Character References (no CERs will be used). |
|
HEXADECIMAL_REFERENCES
Always use Hexadecimal Character References (no CERs will be used). |
Method Summary | |
---|---|
static XmlEscapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static XmlEscapeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final XmlEscapeType CHARACTER_ENTITY_REFERENCES_DEFAULT_TO_DECIMAL
public static final XmlEscapeType CHARACTER_ENTITY_REFERENCES_DEFAULT_TO_HEXA
public static final XmlEscapeType DECIMAL_REFERENCES
public static final XmlEscapeType HEXADECIMAL_REFERENCES
Method Detail |
---|
public static XmlEscapeType[] values()
for (XmlEscapeType c : XmlEscapeType.values()) System.out.println(c);
public static XmlEscapeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |