| Package | Description |
|---|---|
| j4cups.protocol.attr |
In this package are the building blocks for attribute and attribute-groups.
|
| j4cups.protocol.tags |
This package represents the which are described in
section 3.5
of RFC-2910.
|
| Modifier and Type | Method and Description |
|---|---|
ValueTags |
Attribute.getValueTag()
The "value-tag" field specifies the attribute syntax, e.g. 0x44
for the attribute syntax 'keyword'.
|
ValueTags |
Attribute.AttributeWithOneValue.getValueTag()
The "value-tag" field specifies the attribute syntax, e.g. 0x44
for the attribute syntax 'keyword'.
|
| Modifier and Type | Method and Description |
|---|---|
static Attribute |
Attribute.of(ValueTags tag,
String name,
byte[] value)
Creates a singe-value attribute.
|
static Attribute |
Attribute.of(ValueTags tag,
String name,
int value)
Creates a singe-value attribute for integer based values.
|
static Attribute |
Attribute.of(ValueTags tag,
String name,
String value)
Creates a singe-value attribute for character-string values.
|
| Constructor and Description |
|---|
AttributeWithOneValue(ValueTags valueTag,
String name,
byte[] value)
Instantiates a new attribute-with-one-value.
|
| Modifier and Type | Method and Description |
|---|---|
static ValueTags |
ValueTags.of(int id)
Allows you to map a byte value to the corresponding tag.
|
static ValueTags |
ValueTags.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueTags[] |
ValueTags.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018. All rights reserved.