1 7 package javax.print.attribute.standard; 8 9 import java.net.URI ; 10 11 import javax.print.attribute.Attribute ; 12 import javax.print.attribute.URISyntax ; 13 import javax.print.attribute.PrintServiceAttribute ; 14 15 38 public final class PrinterMoreInfo extends URISyntax 39 implements PrintServiceAttribute { 40 41 private static final long serialVersionUID = 4555850007675338574L; 42 43 51 public PrinterMoreInfo(URI uri) { 52 super (uri); 53 } 54 55 74 public boolean equals(Object object) { 75 return (super.equals(object) && 76 object instanceof PrinterMoreInfo ); 77 } 78 79 88 public final Class <? extends Attribute > getCategory() { 89 return PrinterMoreInfo .class; 90 } 91 92 101 public final String getName() { 102 return "printer-more-info"; 103 } 104 105 } 106 | Popular Tags |