javax.print.attribute.standard

Class JobImpressionsSupported

public final class JobImpressionsSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute

The JobImpressionsSupported printing attribute specifies the supported range of values for the {@link javax.print.attribute.standard.JobImpressions} attribute.

IPP Compatibility: JobImpressionsSupported is an IPP 1.1 attribute.

Constructor Summary
JobImpressionsSupported(int lowerBound, int upperBound)
Constructs a JobImpressionsSupported object with the given range of supported job impressions values.
Method Summary
booleanequals(Object obj)
Tests if the given object is equal to this object.
Class<? extends Attribute>getCategory()
Returns category of this class.
StringgetName()
Returns the name of this attribute.

Constructor Detail

JobImpressionsSupported

public JobImpressionsSupported(int lowerBound, int upperBound)
Constructs a JobImpressionsSupported object with the given range of supported job impressions values.

Parameters: lowerBound the lower bound value upperBound the upper bound value

Throws: IllegalArgumentException if lowerBound <= upperbound and lowerBound < 1

Method Detail

equals

public boolean equals(Object obj)
Tests if the given object is equal to this object.

Parameters: obj the object to test

Returns: true if both objects are equal, false otherwise.

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Returns: The class JobImpressionsSupported itself.

getName

public String getName()
Returns the name of this attribute.

Returns: The name "job-impressions-supported".