public final class NumberOfDocuments extends IntegerSyntax implements PrintJobAttribute
NumberOfDocuments printing attribute specifies
the number of documents in a job.
IPP Compatibility: NumberOfDocuments is an IPP 1.1 attribute.
| Constructor and Description |
|---|
NumberOfDocuments(int value)
Creates a
NumberOfDocuments object. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getValue, hashCode, toStringpublic NumberOfDocuments(int value)
NumberOfDocuments object.value - the number of documentsIllegalArgumentException - if value < 0public boolean equals(Object obj)
equals in class IntegerSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public Class<? extends Attribute> getCategory()
getCategory in interface AttributeNumberOfDocuments itself.