public final class JobImpressionsSupported extends javax.print.attribute.SetOfIntegerSyntax implements javax.print.attribute.SupportedValuesAttribute
JobImpressionsSupported printing attribute specifies the
supported range of values for the
JobImpressions attribute.
IPP Compatibility: JobImpressionsSupported is an IPP 1.1 attribute.
| Constructor and Description |
|---|
JobImpressionsSupported(int lowerBound,
int upperBound)
Constructs a
JobImpressionsSupported object with the
given range of supported job impressions values. |
| 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 JobImpressionsSupported(int lowerBound, int upperBound)
JobImpressionsSupported object with the
given range of supported job impressions values.lowerBound - the lower bound valueupperBound - the upper bound valuejava.lang.IllegalArgumentException - if lowerBound <= upperbound
and lowerBound < 1public boolean equals(java.lang.Object obj)
equals in class javax.print.attribute.SetOfIntegerSyntaxobj - 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.AttributeJobImpressionsSupported itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute