Enum TagAttr
- java.lang.Object
-
- java.lang.Enum<TagAttr>
-
- com.google.javascript.jscomp.jsonml.TagAttr
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BODYDIRECTIVEEND_COLUMNEND_LINEFLAGSIS_PREFIXLABELNAMEOPOPAQUE_POSITIONSOURCESTART_COLUMNSTART_LINETYPEVALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagAttrget(java.lang.String name)java.lang.StringtoString()static TagAttrvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TagAttr[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
get
public static TagAttr get(java.lang.String name)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<TagAttr>
-
-