|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<CssStringEscapeType>
org.unbescape.css.CssStringEscapeType
public enum CssStringEscapeType
Types of escape operations to be performed on CSS strings:
CssStringEscapeLevel
). For escaped characters that do
not have an associated backslash escape, default to using
\FF* variable-length hexadecimal escapes.CssStringEscapeLevel
). For escaped characters that do
not have an associated backslash escape, default to using
\FFFFFF 6-digit hexadecimal escapes.
For further information, see the Glossary and the References sections at the
documentation for the CssEscape
class.
Enum Constant Summary | |
---|---|
BACKSLASH_ESCAPES_DEFAULT_TO_COMPACT_HEXA
Use backslash escapes if possible, default to \FF* variable-length hexadecimal escapes. |
|
BACKSLASH_ESCAPES_DEFAULT_TO_SIX_DIGIT_HEXA
Use backslash escapes if possible, default to \FFFFFF 6-digit hexadecimal escapes. |
|
COMPACT_HEXA
Always use \FF* variable-length hexadecimal escapes. |
|
SIX_DIGIT_HEXA
Always use \FFFFFF 6-digit hexadecimal escapes. |
Method Summary | |
---|---|
boolean |
getUseBackslashEscapes()
|
boolean |
getUseCompactHexa()
|
static CssStringEscapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CssStringEscapeType[] |
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 CssStringEscapeType BACKSLASH_ESCAPES_DEFAULT_TO_COMPACT_HEXA
public static final CssStringEscapeType BACKSLASH_ESCAPES_DEFAULT_TO_SIX_DIGIT_HEXA
public static final CssStringEscapeType COMPACT_HEXA
public static final CssStringEscapeType SIX_DIGIT_HEXA
Method Detail |
---|
public static CssStringEscapeType[] values()
for (CssStringEscapeType c : CssStringEscapeType.values()) System.out.println(c);
public static CssStringEscapeType 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 nullpublic boolean getUseBackslashEscapes()
public boolean getUseCompactHexa()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |