javax.print.attribute.standard
public final class JobMessageFromOperator extends TextSyntax implements PrintJobAttribute
JobMessageFromOperator
printing attribute provides
a message from an operator or a system administrator related to the
print job. This may include information why a certain action has been
taken on the print job like a modification.
IPP Compatibility: JobMessageFromOperator is an IPP 1.1 attribute.
Constructor and Description |
---|
JobMessageFromOperator(String message,
Locale locale)
Creates a
JobMessageFromOperator 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, toString
public JobMessageFromOperator(String message, Locale locale)
JobMessageFromOperator
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 TextSyntax
obj
- the object to testtrue
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
JobMessageFromOperator
itself.