public enum DelimiterTags extends java.lang.Enum<DelimiterTags>
| Enum Constant and Description |
|---|
END_OF_ATTRIBUTES_TAG
end-of-attributes-tag.
|
JOB_ATTRIBUTES_TAG
job-attributes-tag.
|
OPERATION_ATTRIBUTES_TAG
operation-attributes-tag.
|
PRINTER_ATTRIBUTES_TAG
printer-attributes-tag.
|
RESERVED
Reserved for definition in a future IETF standards track document.
|
RESERVED_FOR_FUTURE
Reserved for future delimiters in IETF standards track documents (0x06-0x0f).
|
UNSUPPORTED_ATTRIBUTES_TAG
unsupported-attributes-tag.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getValue()
Gets the byte value of the tag.
|
static boolean |
isValid(int id)
The range for a delimiter-tag is between 0 and 0x0f.
|
static DelimiterTags |
of(int id)
Allows you to map a byte value to the corresponding tag.
|
java.lang.String |
toString()
This implementation generates the same representation as in the
corresponding RFCs.
|
static DelimiterTags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DelimiterTags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DelimiterTags RESERVED
public static final DelimiterTags OPERATION_ATTRIBUTES_TAG
public static final DelimiterTags JOB_ATTRIBUTES_TAG
public static final DelimiterTags END_OF_ATTRIBUTES_TAG
public static final DelimiterTags PRINTER_ATTRIBUTES_TAG
public static final DelimiterTags UNSUPPORTED_ATTRIBUTES_TAG
public static final DelimiterTags RESERVED_FOR_FUTURE
public static DelimiterTags[] values()
for (DelimiterTags c : DelimiterTags.values()) System.out.println(c);
public static DelimiterTags 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 java.lang.String toString()
toString in class java.lang.Enum<DelimiterTags>public static DelimiterTags of(int id)
id - e.g. 0x04public static boolean isValid(int id)
id - byte valueCopyright © 2018–2020. All rights reserved.