javax.print.attribute.standard
public final class Destination extends URISyntax implements PrintJobAttribute, PrintRequestAttribute
Destination attribute provides a URI for an alternate
 destination of the printing output.
 As not an IPP attribute many print services will not support this attribute and only provide the printer device as a destination. An alternate output destination would be a file on the local harddisk given as a file scheme URI.
If a print service does not support the destination attributes URI it will throw a PrintException. This exception may further implement the interface {@link javax.print.URIException}.
IPP Compatibility: Destination is not an IPP 1.1 attribute.
See Also: PrintException 
 
| Constructor Summary | |
|---|---|
| Destination(URI uri) 
 Constructs a  Destinationobject. | |
| Method Summary | |
|---|---|
| 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.
 | 
Destination object.
Parameters: uri the URI of the output destination.
Throws: NullPointerException if the given uri is null.
Parameters: obj the object to test
Returns: true if both objects are equal, 
 false otherwise. 
Returns: The class Destination itself. 
Returns: The name "spool-data-destination"