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.PrintRequestAttribute ; 14 import javax.print.attribute.PrintJobAttribute ; 15 16 39 public final class Destination extends URISyntax 40 implements PrintJobAttribute , PrintRequestAttribute { 41 42 private static final long serialVersionUID = 6776739171700415321L; 43 44 52 public Destination(URI uri) { 53 super (uri); 54 } 55 56 75 public boolean equals(Object object) { 76 return (super.equals(object) && 77 object instanceof Destination ); 78 } 79 80 89 public final Class <? extends Attribute > getCategory() { 90 return Destination .class; 91 } 92 93 101 public final String getName() { 102 return "spool-data-destination"; 103 } 104 105 } 106 | Popular Tags |