Enum GS1Constants.ParseMode

java.lang.Object
java.lang.Enum<GS1Constants.ParseMode>
tools.pantheum.gaia.gs1.constants.GS1Constants.ParseMode
All Implemented Interfaces:
Serializable, Comparable<GS1Constants.ParseMode>, java.lang.constant.Constable
Enclosing class:
GS1Constants

public static enum GS1Constants.ParseMode extends Enum<GS1Constants.ParseMode>
Controls how deeply GS1AIParser validates a GS1 element string.
  • Enum Constant Details

    • SYNTAX

      public static final GS1Constants.ParseMode SYNTAX
      Tokenise and check structure only; skip content validation.
    • CONTENT

      public static final GS1Constants.ParseMode CONTENT
      Full pipeline: syntax tokenisation, structural checks, and content validation.
    • INTERPRETATION

      public static final GS1Constants.ParseMode INTERPRETATION
      Full pipeline plus enrichment: decomposes each element into labelled, human-readable interpretation segments. Does not perform additional validation.
  • Method Details

    • values

      public static GS1Constants.ParseMode[] 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

      public static GS1Constants.ParseMode valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null