/* PagesPerMinute.java --
- Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
package javax.print.attribute.standard;
+import javax.print.attribute.Attribute;
import javax.print.attribute.IntegerSyntax;
import javax.print.attribute.PrintServiceAttribute;
/**
+ * The <code>PagesPerMinute</code> printing attribute specifies
+ * the nominal number of pages per minute which may be printed
+ * by the printer.
+ * <p>
+ * <b>IPP Compatibility:</b> PagesPerMinute is an IPP 1.1 attribute.
+ * </p>
+ *
* @author Michael Koch (konqueror@gmx.de)
*/
public final class PagesPerMinute extends IntegerSyntax
*
* @param value the number of pages per minute
*
- * @exception IllegalArgumentException if value < 0
+ * @exception IllegalArgumentException if value < 0
*/
public PagesPerMinute(int value)
{
}
/**
- * Tests of obj is equal to this object.
+ * Tests if the given object is equal to this object.
*
* @param obj the object to test
*
- * @return true if both objects are equal, false otherwise.
+ * @return <code>true</code> if both objects are equal,
+ * <code>false</code> otherwise.
*/
public boolean equals(Object obj)
{
/**
* Returns category of this class.
*
- * @return the class <code>PagesPerMinute</code> itself
+ * @return The class <code>PagesPerMinute</code> itself.
*/
- public Class getCategory()
+ public Class< ? extends Attribute> getCategory()
{
return PagesPerMinute.class;
}
/**
- * Returns name of this class.
+ * Returns the name of this attribute.
*
- * @return the string "pages-per-minute"
+ * @return The name "pages-per-minute".
*/
public String getName()
{