public enum TagClass extends Enum<TagClass>
| Enum Constant and Description |
|---|
APPLICATION |
CONTEXT_SPECIFIC |
PRIVATE |
UNIVERSAL |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static TagClass |
fromTag(int tag)
Converted from a tag value, which contains tag class info.
|
static TagClass |
fromValue(int value)
Converted from an integer
|
int |
getValue()
Get the tag class value.
|
boolean |
isAppSpecific() |
boolean |
isContextSpecific() |
boolean |
isSpecific() |
boolean |
isUniversal()
Tell it's universal or not.
|
static TagClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagClass UNKNOWN
public static final TagClass UNIVERSAL
public static final TagClass APPLICATION
public static final TagClass CONTEXT_SPECIFIC
public static final TagClass PRIVATE
public static TagClass[] values()
for (TagClass c : TagClass.values()) System.out.println(c);
public static TagClass 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 int getValue()
public boolean isUniversal()
public boolean isAppSpecific()
public boolean isContextSpecific()
public boolean isSpecific()
public static TagClass fromValue(int value)
value - The int value of tag classpublic static TagClass fromTag(int tag)
tag - The int value of tag classCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.