Enum Token.ID

    • Enum Constant Detail

      • Alias

        public static final Token.ID Alias
      • Anchor

        public static final Token.ID Anchor
      • BlockEnd

        public static final Token.ID BlockEnd
      • BlockEntry

        public static final Token.ID BlockEntry
      • BlockMappingStart

        public static final Token.ID BlockMappingStart
      • BlockSequenceStart

        public static final Token.ID BlockSequenceStart
      • Directive

        public static final Token.ID Directive
      • DocumentEnd

        public static final Token.ID DocumentEnd
      • DocumentStart

        public static final Token.ID DocumentStart
      • FlowEntry

        public static final Token.ID FlowEntry
      • FlowMappingEnd

        public static final Token.ID FlowMappingEnd
      • FlowMappingStart

        public static final Token.ID FlowMappingStart
      • FlowSequenceEnd

        public static final Token.ID FlowSequenceEnd
      • FlowSequenceStart

        public static final Token.ID FlowSequenceStart
      • Scalar

        public static final Token.ID Scalar
      • StreamEnd

        public static final Token.ID StreamEnd
      • StreamStart

        public static final Token.ID StreamStart
      • Value

        public static final Token.ID Value
      • Whitespace

        public static final Token.ID Whitespace
      • Comment

        public static final Token.ID Comment
      • Error

        public static final Token.ID Error
    • Method Detail

      • values

        public static Token.ID[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Token.ID c : Token.ID.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Token.ID 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