javax.print.attribute.standard
public final class JobKOctetsSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
JobKOctetsSupported
printing attribute specifies the
supported range of values for the
JobKOctets
attribute.
IPP Compatibility: JobKOctetsSupported is an IPP 1.1 attribute.
Constructor and Description |
---|
JobKOctetsSupported(int lowerBound,
int upperBound)
Constructs a
JobKOctetsSupported object with the
given range for supported K octets. |
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.
|
contains, contains, getMembers, hashCode, next, toString
public JobKOctetsSupported(int lowerBound, int upperBound)
JobKOctetsSupported
object with the
given range for supported K octets.lowerBound
- the lower bound valueupperBound
- the upper bound valueIllegalArgumentException
- if lowerBound <= upperbound
and lowerBound < 1public boolean equals(Object obj)
equals
in class SetOfIntegerSyntax
obj
- the object to testtrue
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
JobKOctetsSupported
itself.