public final class JobMessageFromOperator extends javax.print.attribute.TextSyntax implements javax.print.attribute.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(java.lang.String message,
java.util.Locale locale)
Creates a
JobMessageFromOperator 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 JobMessageFromOperator(java.lang.String message, java.util.Locale locale)
JobMessageFromOperator 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.AttributeJobMessageFromOperator itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute