Package 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.

See: Description

Package javax.print.attribute Description:

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:

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