Enum Grammar.FollowUp

java.lang.Object
java.lang.Enum<Grammar.FollowUp>
org.apache.directory.api.asn1.ber.grammar.Grammar.FollowUp
All Implemented Interfaces:
Serializable, Comparable<Grammar.FollowUp>
Enclosing interface:
Grammar<C extends Asn1Container>

public static enum Grammar.FollowUp extends Enum<Grammar.FollowUp>
The flag used to tell if a given state must have a follow up in the same PDU or not
Author:
Apache Directory Project
  • Enum Constant Details

    • MANDATORY

      public static final Grammar.FollowUp MANDATORY
      When a following state is mandatory
    • OPTIONAL

      public static final Grammar.FollowUp OPTIONAL
      When a following state is optional
  • Method Details

    • values

      public static Grammar.FollowUp[] 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 Grammar.FollowUp 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