public enum ValueTags extends java.lang.Enum<ValueTags>
For further information see RFC-2910 section 3.5.2.
| Enum Constant and Description |
|---|
BOOLEAN
boolean.
|
CHARSET
charset.
|
DATE_TIME
dateTime.
|
ENUM
enum.
|
GENERIC_INTEGER
0x20 is reserved for "generic integer" if it should ever be needed.
|
INTEGER
integer.
|
KEYWORD
keyword.
|
MIME_MEDIA_TYPE
mimeMediaType.
|
NAME_WITH_LANGUAGE
nameWithLanguage.
|
NAME_WITHOUT_LANGUAGE
nameWithoutLanguage.
|
NATURAL_LANGUAGE
naturalLanguage.
|
NO_VALUE
no-value.
|
RANGE_OF_INTEGER
rangeOfInteger.
|
RESERVED_34
reserved for future definition.
|
RESERVED_40
reserved for future definition.
|
RESERVED_43
reserved for future definition.
|
RESERVED_FOR_CHARACTER_STRING_TYPE
0x4A-0x5F is reserved for future character string type definitions.
|
RESERVED_FOR_DEFAULT
reserved for 'default' for definition in a future IETF document.
|
RESERVED_FOR_FUTURE_TYPE
The values 0x60-0xFF are reserved for future type definitions.
|
RESERVED_FOR_INTEGER_TYPE
0x24-0x2F is reserved for future integer type definitions.
|
RESERVED_FOR_OCTET_STRING_TYPE
0x37-0x3F is reserved for future octetString type definitions.
|
RESERVED_FOR_OUT_OF_BAND_VALUES
0x14-0x1F is reserved for future out-of-band" values.
|
RESOLUTION
resolution.
|
TEXT_WITH_LANGUAGE
textWithLanguage.
|
TEXT_WITHOUT_LANGUAGE
textWithoutLanguage.
|
UNKNOWN
unknown.
|
UNSPECIFIED_OCTET_STRING
octetString with an unspecified format.
|
UNSUPPORTED
unsupported.
|
URI
uri.
|
URI_SCHEME
uriScheme.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getValue()
Gets the byte value of the tag.
|
boolean |
isCharacterStringValue()
One kind of value tags are character-string values, which are the
values from 0x40 - 0x4f.
|
boolean |
isIntegerValue()
One kind of value tags are integer values, which are the
values from 0x20 - 0x2f.
|
static boolean |
isValid(int id)
The range for a value-tag is between 0x10 and 0x0f.
|
static ValueTags |
of(int id)
Allows you to map a byte value to the corresponding tag.
|
static ValueTags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValueTags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueTags UNSUPPORTED
public static final ValueTags RESERVED_FOR_DEFAULT
public static final ValueTags UNKNOWN
public static final ValueTags NO_VALUE
public static final ValueTags RESERVED_FOR_OUT_OF_BAND_VALUES
public static final ValueTags GENERIC_INTEGER
public static final ValueTags INTEGER
public static final ValueTags BOOLEAN
public static final ValueTags ENUM
public static final ValueTags RESERVED_FOR_INTEGER_TYPE
public static final ValueTags UNSPECIFIED_OCTET_STRING
public static final ValueTags DATE_TIME
public static final ValueTags RESOLUTION
public static final ValueTags RANGE_OF_INTEGER
public static final ValueTags RESERVED_34
public static final ValueTags TEXT_WITH_LANGUAGE
public static final ValueTags NAME_WITH_LANGUAGE
public static final ValueTags RESERVED_FOR_OCTET_STRING_TYPE
public static final ValueTags RESERVED_40
public static final ValueTags TEXT_WITHOUT_LANGUAGE
public static final ValueTags NAME_WITHOUT_LANGUAGE
public static final ValueTags RESERVED_43
public static final ValueTags KEYWORD
public static final ValueTags URI
public static final ValueTags URI_SCHEME
public static final ValueTags CHARSET
public static final ValueTags NATURAL_LANGUAGE
public static final ValueTags MIME_MEDIA_TYPE
public static final ValueTags RESERVED_FOR_CHARACTER_STRING_TYPE
public static final ValueTags RESERVED_FOR_FUTURE_TYPE
public static ValueTags[] values()
for (ValueTags c : ValueTags.values()) System.out.println(c);
public static ValueTags valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte getValue()
public boolean isIntegerValue()
public boolean isCharacterStringValue()
public static ValueTags of(int id)
id - e.g. 0x04public static boolean isValid(int id)
id - byte valueCopyright © 2018–2020. All rights reserved.