Enum Class ParseOptions.TextMode

java.lang.Object
java.lang.Enum<ParseOptions.TextMode>
com.jalios.jcms.search.queryparser.ParseOptions.TextMode
All Implemented Interfaces:
Serializable, Comparable<ParseOptions.TextMode>, Constable
Enclosing class:
ParseOptions

public static enum ParseOptions.TextMode extends Enum<ParseOptions.TextMode>
  • Enum Constant Details

    • ALL_WORDS

      public static final ParseOptions.TextMode ALL_WORDS
      The mode value to use to perform a text search matching all the words of the search string.
      Since:
      jcms-6.1.0
    • ANY_WORD

      public static final ParseOptions.TextMode ANY_WORD
      The mode value to use to perform a text search matching at least one of the words of the search string.
      Since:
      jcms-6.1.0
    • EXACT

      public static final ParseOptions.TextMode EXACT
      The mode value to use to perform a text search matching the exact phrase specified in the search string.
      Since:
      jcms-6.1.0
    • ADVANCED

      public static final ParseOptions.TextMode ADVANCED
      The mode value to use to perform a text search with advanced search syntax (wildcard, field, etc).
      Since:
      jcms-6.1.0
  • Method Details

    • values

      public static ParseOptions.TextMode[] 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 ParseOptions.TextMode 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