Enum Class ExpressionParserFactory.ParserStyle

java.lang.Object
java.lang.Enum<ExpressionParserFactory.ParserStyle>
noaa.coastwatch.util.expression.ExpressionParserFactory.ParserStyle
All Implemented Interfaces:
Serializable, Comparable<ExpressionParserFactory.ParserStyle>, java.lang.constant.Constable
Enclosing class:
ExpressionParserFactory

public static enum ExpressionParserFactory.ParserStyle extends Enum<ExpressionParserFactory.ParserStyle>
The various styles of parsers.
  • Enum Constant Details

    • LEGACY

      public static final ExpressionParserFactory.ParserStyle LEGACY
      The pure legacy parser, using only JEP style syntax and evaluation. Evaluation is done using JEP which has performance limitations and is not thread-safe.
    • LEGACY_EMULATED

      public static final ExpressionParserFactory.ParserStyle LEGACY_EMULATED
      The emulated legacy parser, using JEP syntax translated into Java syntax with high speed Java bytecode evaluation.
    • JAVA

      public static final ExpressionParserFactory.ParserStyle JAVA
      The Java syntax parser, using ony Java language syntax and high speed bytecode evaluation.
  • Method Details

    • values

      public static ExpressionParserFactory.ParserStyle[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExpressionParserFactory.ParserStyle valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null