Enum GS1Constants.ParseMode
- All Implemented Interfaces:
Serializable, Comparable<GS1Constants.ParseMode>, java.lang.constant.Constable
- Enclosing class:
GS1Constants
Controls how deeply
GS1AIParser validates a GS1 element string.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFull pipeline: syntax tokenisation, structural checks, and content validation.Full pipeline plus enrichment: decomposes each element into labelled, human-readable interpretation segments.Tokenise and check structure only; skip content validation. -
Method Summary
Modifier and TypeMethodDescriptionstatic GS1Constants.ParseModeReturns the enum constant of this type with the specified name.static GS1Constants.ParseMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SYNTAX
Tokenise and check structure only; skip content validation. -
CONTENT
Full pipeline: syntax tokenisation, structural checks, and content validation. -
INTERPRETATION
Full pipeline plus enrichment: decomposes each element into labelled, human-readable interpretation segments. Does not perform additional validation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-