public final class CopiesSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
CopiesSupported
attribute specifies the supported
value or range of values for the
Copies
attribute.
IPP Compatibility: CopiesSupported is an IPP 1.1 attribute.
Constructor and Description |
---|
CopiesSupported(int member)
Constructs a
CopiesSupported object with
the given value. |
CopiesSupported(int lowerBound,
int upperBound)
Constructs a
CopiesSupported object with
the given range of values. |
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 CopiesSupported(int member)
CopiesSupported
object with
the given value. This means that only this value is
supported for copies.member
- the member valueIllegalArgumentException
- if member is < 1public CopiesSupported(int lowerBound, int upperBound)
CopiesSupported
object with
the given range of values. This means that values for
copies are supported inside the specified range.lowerBound
- the lower bound valueupperBound
- the upper bound valueIllegalArgumentException
- if 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
CopiesSupported
itself.