javax.print.attribute.standard
public final class PrinterMakeAndModel extends TextSyntax implements PrintServiceAttribute
PrinterMakeAndModel printing attribute provides the name
of the maker and the model of the printer.
IPP Compatibility: PrinterMakeAndModel is an IPP 1.1 attribute.
| Constructor Summary | |
|---|---|
| PrinterMakeAndModel(String makeAndModel, Locale locale)
Creates a PrinterMakeAndModel object.
| |
| 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.
|
PrinterMakeAndModel object.
Parameters: makeAndModel the make and model string locale the locale to use, if null the default
locale is used.
Throws: NullPointerException if makeAndModel is null.
Parameters: obj the object to test
Returns: true if both objects are equal,
false otherwise.
Returns: The class PrinterMakeAndModel itself.
Returns: The name "printer-make-and-model".