Package org.apache.synapse.commons.staxon.core.json.stream

# Enum JsonStreamToken

java.lang.Object
java.lang.Enum<JsonStreamToken>
org.apache.synapse.commons.staxon.core.json.stream.JsonStreamToken

All Implemented Interfaces:
  `Serializable`, `Comparable<JsonStreamToken>`, `java.lang.constant.Constable`

public enum JsonStreamToken extends Enum<JsonStreamToken>
JSON stream token.

- ## 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
  `END_ARRAY`
  End array
  `END_OBJECT`
  End object
  `NAME`
  Field name
  `NONE`
  End of input
  `START_ARRAY`
  Start array
  `START_OBJECT`
  Start object
  `VALUE`
  Simple value

- ## Method Summary

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

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

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

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

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

- ## Enum Constant Details

  - ### START_OBJECT

    public static final JsonStreamToken START_OBJECT
    Start object

  - ### END_OBJECT

    public static final JsonStreamToken END_OBJECT
    End object

  - ### START_ARRAY

    public static final JsonStreamToken START_ARRAY
    Start array

  - ### END_ARRAY

    public static final JsonStreamToken END_ARRAY
    End array

  - ### NAME

    public static final JsonStreamToken NAME
    Field name

  - ### VALUE

    public static final JsonStreamToken VALUE
    Simple value

  - ### NONE

    public static final JsonStreamToken NONE
    End of input

- ## Method Details

  - ### values

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