public final class PrinterMessageFromOperator extends TextSyntax implements PrintServiceAttribute
PrinterMessageFromOperator printing attribute provides
a message from an operator or a system administrator related to the
printer. This may include informations about the status of the printer
or expected downtimes, etc.
IPP Compatibility: PrinterMessageFromOperator is an IPP 1.1 attribute.
| Constructor and Description |
|---|
PrinterMessageFromOperator(String message,
Locale locale)
Creates a
PrinterMessageFromOperator 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 PrinterMessageFromOperator(String message, Locale locale)
PrinterMessageFromOperator object.message - the messagelocale - the locale to use, if null the default
locale is used.NullPointerException - if message 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 AttributePrinterMessageFromOperator itself.