public final class CopiesSupported extends javax.print.attribute.SetOfIntegerSyntax implements javax.print.attribute.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(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 CopiesSupported(int member)
CopiesSupported object with
the given value. This means that only this value is
supported for copies.member - the member valuejava.lang.IllegalArgumentException - 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 valuejava.lang.IllegalArgumentException - if 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.AttributeCopiesSupported itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute