Package org.idpf.epubcheck.util.css
Enum CssExceptions.CssErrorCode
- java.lang.Object
-
- java.lang.Enum<CssExceptions.CssErrorCode>
-
- org.idpf.epubcheck.util.css.CssExceptions.CssErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CssExceptions.CssErrorCode>
- Enclosing class:
- CssExceptions
public static enum CssExceptions.CssErrorCode extends java.lang.Enum<CssExceptions.CssErrorCode>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringvalue
-
Constructor Summary
Constructors Modifier Constructor Description privateCssErrorCode(java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static CssExceptions.CssErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CssExceptions.CssErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCANNER_ILLEGAL_SYNTAX
public static final CssExceptions.CssErrorCode SCANNER_ILLEGAL_SYNTAX
-
SCANNER_ILLEGAL_CHAR
public static final CssExceptions.CssErrorCode SCANNER_ILLEGAL_CHAR
-
SCANNER_ILLEGAL_FIRSTCHAR
public static final CssExceptions.CssErrorCode SCANNER_ILLEGAL_FIRSTCHAR
-
SCANNER_MALFORMED_ESCAPE
public static final CssExceptions.CssErrorCode SCANNER_MALFORMED_ESCAPE
-
SCANNER_ILLEGAL_URANGE
public static final CssExceptions.CssErrorCode SCANNER_ILLEGAL_URANGE
-
SCANNER_PREMATURE_EOF
public static final CssExceptions.CssErrorCode SCANNER_PREMATURE_EOF
-
GRAMMAR_PREMATURE_EOF
public static final CssExceptions.CssErrorCode GRAMMAR_PREMATURE_EOF
-
GRAMMAR_UNEXPECTED_TOKEN
public static final CssExceptions.CssErrorCode GRAMMAR_UNEXPECTED_TOKEN
-
GRAMMAR_EXPECTING_TOKEN
public static final CssExceptions.CssErrorCode GRAMMAR_EXPECTING_TOKEN
-
GRAMMAR_INVALID_SELECTOR
public static final CssExceptions.CssErrorCode GRAMMAR_INVALID_SELECTOR
-
-
Method Detail
-
values
public static CssExceptions.CssErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CssExceptions.CssErrorCode c : CssExceptions.CssErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CssExceptions.CssErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<CssExceptions.CssErrorCode>
-
-