ParserEventTypeEnum (Apache OpenNLP :: API 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.parser, enum: ParserEventTypeEnum

Package opennlp.tools.parser

# Enum Class ParserEventTypeEnum

java.lang.Object
java.lang.Enum<ParserEventTypeEnum>
opennlp.tools.parser.ParserEventTypeEnum

All Implemented Interfaces:
  `Serializable`, `Comparable<ParserEventTypeEnum>`, `Constable`

public enum ParserEventTypeEnum extends Enum<ParserEventTypeEnum>
Enumeration of event types for a `Parser`.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `ATTACH`
  `BUILD`
  `CHECK`
  `CHUNK`
  Deprecated.
  `TAG`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ParserEventTypeEnum`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ParserEventTypeEnum[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### BUILD

    public static final ParserEventTypeEnum BUILD

  - ### CHECK

    public static final ParserEventTypeEnum CHECK

  - ### CHUNK

    @Deprecated public static final ParserEventTypeEnum CHUNK
    Deprecated.

  - ### TAG

    @Deprecated public static final ParserEventTypeEnum TAG
    Deprecated.

  - ### ATTACH

    public static final ParserEventTypeEnum ATTACH

- ## Method Details

  - ### values

    public static ParserEventTypeEnum[] 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 ParserEventTypeEnum 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