javax.print.attribute.standard

Class PagesPerMinute

public final class PagesPerMinute extends IntegerSyntax implements PrintServiceAttribute

The PagesPerMinute printing attribute specifies the nominal number of pages per minute which may be printed by the printer.

IPP Compatibility: PagesPerMinute is an IPP 1.1 attribute.

Constructor Summary
PagesPerMinute(int value)
Creates a PagesPerMinute object.
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

PagesPerMinute

public PagesPerMinute(int value)
Creates a PagesPerMinute object.

Parameters: value the number of pages per minute

Throws: IllegalArgumentException if value < 0

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 PagesPerMinute itself.

getName

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

Returns: The name "pages-per-minute".