public final class PrinterMessageFromOperator extends javax.print.attribute.TextSyntax implements javax.print.attribute.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(java.lang.String message,
java.util.Locale locale)
Creates a
PrinterMessageFromOperator object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests if the given object is equal to this object.
|
java.lang.Class<? extends javax.print.attribute.Attribute> |
getCategory()
Returns category of this class.
|
java.lang.String |
getName()
Returns the name of this attribute.
|
public PrinterMessageFromOperator(java.lang.String message, java.util.Locale locale)
PrinterMessageFromOperator object.message - the messagelocale - the locale to use, if null the default
locale is used.java.lang.NullPointerException - if message is null.public boolean equals(java.lang.Object obj)
equals in class javax.print.attribute.TextSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
getCategory in interface javax.print.attribute.AttributePrinterMessageFromOperator itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute