javax.print.attribute.standard
public final class OutputDeviceAssigned extends TextSyntax implements PrintJobAttribute
OutputDeviceAssigned printing attribute specifies the
output printer device assigned by a print service to a print job.
This may be empty if a print service is embedded in a printer, e.g. is the output device. However there exist print services with several physical output devices (e.g. CUPS classes) where this attribute provides the actual output device.
IPP Compatibility: OutputDeviceAssigned is an IPP 1.1 attribute.
| Constructor Summary | |
|---|---|
| OutputDeviceAssigned(String deviceName, Locale locale)
Creates a OutputDeviceAssigned object.
| |
| Method Summary | |
|---|---|
| boolean | equals(Object obj)
Tests if the given object is equal to this object.
|
| Class<? extends Attribute> | getCategory()
Returns category of this class.
|
| String | getName()
Returns the name of this attribute.
|
OutputDeviceAssigned object.
Parameters: deviceName the name of the device. locale the locale to use, if null the default
locale is used.
Throws: NullPointerException if deviceName is null.
Parameters: obj the object to test
Returns: true if both objects are equal,
false otherwise.
Returns: The class OutputDeviceAssigned itself.
Returns: The name "output-device-assigned".