Package com.adobe.epubcheck.util
Enum SourceSet.ParseError
- java.lang.Object
-
- java.lang.Enum<SourceSet.ParseError>
-
- com.adobe.epubcheck.util.SourceSet.ParseError
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SourceSet.ParseError>
- Enclosing class:
- SourceSet
public static enum SourceSet.ParseError extends java.lang.Enum<SourceSet.ParseError>
Codes for the various parsing errors. See https://html.spec.whatwg.org/#concept-microsyntax-parse-error
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateParseError()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SourceSet.ParseErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SourceSet.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 SourceSet.ParseError NULL_OR_EMPTY
-
EMPTY_START
public static final SourceSet.ParseError EMPTY_START
-
EMPTY_MIDDLE
public static final SourceSet.ParseError EMPTY_MIDDLE
-
DESCRIPTOR_MIX_WIDTH_DENSITY
public static final SourceSet.ParseError DESCRIPTOR_MIX_WIDTH_DENSITY
-
DESCRIPTOR_DENSITY_MORE_THAN_ONCE
public static final SourceSet.ParseError DESCRIPTOR_DENSITY_MORE_THAN_ONCE
-
DESCRIPTOR_DENSITY_NEGATIVE
public static final SourceSet.ParseError DESCRIPTOR_DENSITY_NEGATIVE
-
DESCRIPTOR_DENSITY_NOT_FLOAT
public static final SourceSet.ParseError DESCRIPTOR_DENSITY_NOT_FLOAT
-
DESCRIPTOR_WIDTH_MORE_THAN_ONCE
public static final SourceSet.ParseError DESCRIPTOR_WIDTH_MORE_THAN_ONCE
-
DESCRIPTOR_WIDTH_SIGNED
public static final SourceSet.ParseError DESCRIPTOR_WIDTH_SIGNED
-
DESCRIPTOR_WIDTH_NOT_INT
public static final SourceSet.ParseError DESCRIPTOR_WIDTH_NOT_INT
-
DESCRIPTOR_WIDTH_ZERO
public static final SourceSet.ParseError DESCRIPTOR_WIDTH_ZERO
-
DESCRIPTOR_FUTURE_H_ZERO
public static final SourceSet.ParseError DESCRIPTOR_FUTURE_H_ZERO
-
DESCRIPTOR_FUTURE_H_MORE_THAN_ONCE
public static final SourceSet.ParseError DESCRIPTOR_FUTURE_H_MORE_THAN_ONCE
-
DESCRIPTOR_FUTURE_H_NOT_INT
public static final SourceSet.ParseError DESCRIPTOR_FUTURE_H_NOT_INT
-
DESCRIPTOR_FUTURE_H_WITHOUT_WIDTH
public static final SourceSet.ParseError DESCRIPTOR_FUTURE_H_WITHOUT_WIDTH
-
DESCRIPTOR_FUTURE_H_WITH_DENSITY
public static final SourceSet.ParseError DESCRIPTOR_FUTURE_H_WITH_DENSITY
-
DESCRIPTOR_UNKNOWN_SUFFIX
public static final SourceSet.ParseError DESCRIPTOR_UNKNOWN_SUFFIX
-
-
Method Detail
-
values
public static SourceSet.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 (SourceSet.ParseError c : SourceSet.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 SourceSet.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
-
-