Enum ViewportMeta.ParseError
- java.lang.Object
-
- java.lang.Enum<ViewportMeta.ParseError>
-
- org.w3c.epubcheck.util.microsyntax.ViewportMeta.ParseError
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ViewportMeta.ParseError>
- Enclosing class:
- ViewportMeta
public static enum ViewportMeta.ParseError extends java.lang.Enum<ViewportMeta.ParseError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGN_UNEXPECTEDLEADING_SEPARATORNAME_EMPTYNULL_OR_EMPTYTRAILING_SEPARATORVALUE_EMPTY
-
Constructor Summary
Constructors Modifier Constructor Description privateParseError()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ViewportMeta.ParseErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ViewportMeta.ParseError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL_OR_EMPTY
public static final ViewportMeta.ParseError NULL_OR_EMPTY
-
NAME_EMPTY
public static final ViewportMeta.ParseError NAME_EMPTY
-
VALUE_EMPTY
public static final ViewportMeta.ParseError VALUE_EMPTY
-
LEADING_SEPARATOR
public static final ViewportMeta.ParseError LEADING_SEPARATOR
-
TRAILING_SEPARATOR
public static final ViewportMeta.ParseError TRAILING_SEPARATOR
-
ASSIGN_UNEXPECTED
public static final ViewportMeta.ParseError ASSIGN_UNEXPECTED
-
-
Method Detail
-
values
public static ViewportMeta.ParseError[] 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 (ViewportMeta.ParseError c : ViewportMeta.ParseError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ViewportMeta.ParseError 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
-
-