1 7 package javax.print.attribute.standard; 8 9 import java.util.Locale ; 10 11 import javax.print.attribute.Attribute ; 12 import javax.print.attribute.TextSyntax ; 13 import javax.print.attribute.PrintServiceAttribute ; 14 15 40 public final class PrinterMessageFromOperator extends TextSyntax 41 implements PrintServiceAttribute { 42 43 static final long serialVersionUID = -4486871203218629318L; 44 45 57 public PrinterMessageFromOperator(String message, Locale locale) { 58 super (message, locale); 59 } 60 61 84 public boolean equals(Object object) { 85 return (super.equals(object) && 86 object instanceof PrinterMessageFromOperator ); 87 } 88 89 99 public final Class <? extends Attribute > getCategory() { 100 return PrinterMessageFromOperator .class; 101 } 102 103 112 public final String getName() { 113 return "printer-message-from-operator"; 114 } 115 116 } 117 | Popular Tags |