| Package | Description |
|---|---|
| j4cups.op |
This is the package for the IPP operations like 'print-job' or
'send-document'.
|
| j4cups.protocol |
This package supports the data types which are described in RFC-2910 and
RFC-8011.
|
| j4cups.protocol.attr |
In this package are the building blocks for attribute and attribute-groups.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
Operation.getAttribute(java.lang.String name)
Returns the attribute of the give name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Operation.setJobAttribute(Attribute attribute)
Sets the given job attribute in the generated IPP request.
|
void |
Operation.setOperationAttribute(Attribute attribute)
Sets the given operation attribute in the generated IPP request.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
AbstractIpp.getAttribute(java.lang.String name)
Gets the attribute with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Attribute> |
AbstractIpp.getAttributes()
Gets a collected list of all attributes of the attribute-groups.
|
java.util.List<Attribute> |
AbstractIpp.getOperationAttributes()
Gets a collected list of all operation attributes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractIpp.setAttribute(Attribute attr,
DelimiterTags groupTag)
Sets the attribute into the group defined by the groupTag.
|
void |
AbstractIpp.setJobAttribute(Attribute attr)
Sets the job attribute.
|
void |
AbstractIpp.setOperationAttribute(Attribute attr)
Sets the operation attribute.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
AttributeGroup.getAttribute(java.lang.String name)
Looks for the attribute with the given name and returns it.
|
static Attribute |
Attribute.of(java.lang.String name,
boolean value)
Creates a singe-value attribute for boolean values.
|
static Attribute |
Attribute.of(java.lang.String name,
java.nio.charset.Charset value)
Creates a singe-value attribute for charset values.
|
static Attribute |
Attribute.of(java.lang.String name,
int value)
Creates a singe-value attribute for integer values.
|
static Attribute |
Attribute.of(java.lang.String name,
int min,
int max)
Creates a singe-value attribute for a range of integer values.
|
static Attribute |
Attribute.of(java.lang.String name,
java.util.Locale value)
Creates a singe-value attribute for the given language.
|
static Attribute |
Attribute.of(java.lang.String name,
PrinterResolution... resolutions)
Creates a multi-value attribute with the different printer resolutions.
|
static Attribute |
Attribute.of(java.lang.String name,
java.net.URI value)
Creates a singe-value attribute for URI values.
|
static Attribute |
Attribute.of(ValueTags tag,
java.lang.String name,
byte[]... additionalValues)
Creates a multi-value attribute for the given value-tag.
|
static Attribute |
Attribute.of(ValueTags tag,
java.lang.String name,
byte[] value)
Creates a singe-value attribute.
|
static Attribute |
Attribute.of(ValueTags tag,
java.lang.String name,
int value)
Creates a singe-value attribute for integer based values.
|
static Attribute |
Attribute.of(ValueTags tag,
java.lang.String name,
java.lang.String... additionalValues)
Creates a multi-value attribute for character-string values.
|
static Attribute |
Attribute.of(ValueTags tag,
java.lang.String name,
java.lang.String value)
Creates a single-value attribute for character-string values.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Attribute> |
AttributeGroup.getAttributes()
An "attribute-group" field contains zero or more "attribute" fields.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Attribute.add(Attribute value)
For multi-value attributes you can use this method to add the single
values to the attribute.
|
void |
AttributeGroup.addAttribute(Attribute attr)
Adds an attribute to the given attributes.
|
| Constructor and Description |
|---|
AdditionalValue(Attribute attr) |
Copyright © 2018–2020. All rights reserved.