public final class NumberUpSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
NumberUpSupported
printing attribute specifies the
supported value or range of values for the
NumberUp
attribute.
IPP Compatibility: NumberUpSupported is an IPP 1.1 attribute.
Constructor and Description |
---|
NumberUpSupported(int member)
Constructs a
NumberUpSupported object. |
NumberUpSupported(int[][] members)
Constructs a
NumberUpSupported object. |
NumberUpSupported(int lowerBound,
int upperBound)
Constructs a
NumberUpSupported object with the
given range for supported number up 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 NumberUpSupported(int member)
NumberUpSupported
object.member
- the only one value supported for number up.IllegalArgumentException
- if member is < 1public NumberUpSupported(int[][] members)
NumberUpSupported
object.members
- the members supported for number up.IllegalArgumentException
- if any element is invalidNullPointerException
- if members is null
or any
element of members is null
.public NumberUpSupported(int lowerBound, int upperBound)
NumberUpSupported
object with the
given range for supported number up values.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
NumberUpSupported
itself.