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 and Description |
|---|
OutputDeviceAssigned(String deviceName,
Locale locale)
Creates a
OutputDeviceAssigned object. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getLocale, getValue, hashCode, toStringpublic OutputDeviceAssigned(String deviceName, Locale locale)
OutputDeviceAssigned object.deviceName - the name of the device.locale - the locale to use, if null the default
locale is used.NullPointerException - if deviceName is null.public boolean equals(Object obj)
equals in class TextSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public Class<? extends Attribute> getCategory()
getCategory in interface AttributeOutputDeviceAssigned itself.