public final class PrinterMoreInfo extends javax.print.attribute.URISyntax implements javax.print.attribute.PrintServiceAttribute
PrinterMoreInfo attribute provides a URI that can be used
to obtain more information about the printer.
The URI may for example contain a reference to a HTML page with information. The information is normally intended for end users.
IPP Compatibility: PrinterMoreInfo is an IPP 1.1 attribute.
| Constructor and Description |
|---|
PrinterMoreInfo(java.net.URI uri)
Constructs a
PrinterMoreInfo 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 PrinterMoreInfo(java.net.URI uri)
PrinterMoreInfo object.uri - the URI of the information.java.lang.NullPointerException - if the given uri is null.public boolean equals(java.lang.Object obj)
equals in class javax.print.attribute.URISyntaxobj - 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.AttributePrinterMoreInfo itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute