public enum TagType extends Enum<TagType>
Enum Constant and Description |
---|
CORPUS |
PATCH |
PRIMARY |
SUPPLEMENTAL |
Modifier and Type | Method and Description |
---|---|
static String |
displayTagTypes()
Return display type of TagType
|
String |
getName()
Get the name of the tagtype
|
static TagType |
lookup(String value)
Get list of tag type values
|
static TagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagType CORPUS
public static final TagType PRIMARY
public static final TagType PATCH
public static final TagType SUPPLEMENTAL
public static TagType[] values()
for (TagType c : TagType.values()) System.out.println(c);
public static TagType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TagType lookup(String value)
value
- the tag typepublic String getName()
public static String displayTagTypes()
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.