GNU Classpath - javax.print.attribute

Provides classes and interfaces describing the roles and syntax of attribute objects in the Java Print Service API.

The package contains the base attribute interface and several subinterfaces describing the different attribute roles of printing attributes. Furthermore, abstract classes defining the syntax of attributes are provided. For collections of attributes based on their roles different set interfaces and implementing classes are available.

Existing attribute roles are:

- PrintServiceAttributes describing the state and other informations of a PrintService.
- PrintJobAttributes describing the state of the print job.
- PrintRequestAttributes specifying how a print job should be printed and are applied to a complete print job.
- PrintJobAttribute s specifying how a single document in the print job should be printed.

Every attribute is of a certain syntax which defines its type and the representation of its value. The different syntax types are provided as abstract syntax classes (e.g. `IntegerSyntax`). Concrete attribute implementations are subclasses of these abstract syntax classes.

Attributes may be collected as sets of attributes. Different interfaces for attribute collections per role and implementations based on a HashMap are provided (for example HashPrintJobAttributeSet for the print job attributes).

Since: 1.4