Enum TagAttr

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TagAttr>

    public enum TagAttr
    extends java.lang.Enum<TagAttr>
    List of attributes that a JsonML element may have.
    • Enum Constant Detail

      • BODY

        public static final TagAttr BODY
      • DIRECTIVE

        public static final TagAttr DIRECTIVE
      • END_COLUMN

        public static final TagAttr END_COLUMN
      • END_LINE

        public static final TagAttr END_LINE
      • FLAGS

        public static final TagAttr FLAGS
      • IS_PREFIX

        public static final TagAttr IS_PREFIX
      • LABEL

        public static final TagAttr LABEL
      • NAME

        public static final TagAttr NAME
      • OP

        public static final TagAttr OP
      • OPAQUE_POSITION

        public static final TagAttr OPAQUE_POSITION
      • SOURCE

        public static final TagAttr SOURCE
      • START_COLUMN

        public static final TagAttr START_COLUMN
      • START_LINE

        public static final TagAttr START_LINE
      • TYPE

        public static final TagAttr TYPE
      • VALUE

        public static final TagAttr VALUE
    • Method Detail

      • values

        public static TagAttr[] 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 (TagAttr c : TagAttr.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TagAttr valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • get

        public static TagAttr get​(java.lang.String name)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<TagAttr>