Index: javax/print/attribute/standard/DateTimeAtCompleted.java
===================================================================
RCS file: javax/print/attribute/standard/DateTimeAtCompleted.java
diff -N javax/print/attribute/standard/DateTimeAtCompleted.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/DateTimeAtCompleted.java 7 Jan 2004 10:17:59 -0000
@@ -0,0 +1,95 @@
+/* DateTimeAtCompleted.java --
+ Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package javax.print.attribute.standard;
+
+import java.util.Date;
+import javax.print.attribute.DateTimeSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+public final class DateTimeAtCompleted extends DateTimeSyntax
+ implements PrintJobAttribute
+{
+ private static final long serialVersionUID = 6497399708058490000L;
+
+ /**
+ * Creates a DateTimeAtCompleted
object.
+ *
+ * @param value the date at completion time
+ *
+ * @exception NullPointerException if value is null
+ */
+ public DateTimeAtCompleted(Date value)
+ {
+ super(value);
+ }
+
+ /**
+ * Tests of obj is equal to this object.
+ *
+ * @param obj the object to test
+ *
+ * @returns true if both objects are equal, false otherwise.
+ */
+ public boolean equals(Object obj)
+ {
+ if(! (obj instanceof DateTimeAtCompleted))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class DateTimeAtCompleted
itself
+ */
+ public final Class getCategory()
+ {
+ return DateTimeAtCompleted.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "date-time-at-completed"
+ */
+ public final String getName()
+ {
+ return "date-time-at-completed";
+ }
+}
Index: javax/print/attribute/standard/DateTimeAtCreation.java
===================================================================
RCS file: javax/print/attribute/standard/DateTimeAtCreation.java
diff -N javax/print/attribute/standard/DateTimeAtCreation.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/DateTimeAtCreation.java 7 Jan 2004 10:17:59 -0000
@@ -0,0 +1,95 @@
+/* DateTimeAtCreation.java --
+ Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package javax.print.attribute.standard;
+
+import java.util.Date;
+import javax.print.attribute.DateTimeSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+public final class DateTimeAtCreation extends DateTimeSyntax
+ implements PrintJobAttribute
+{
+ private static final long serialVersionUID = -2923732231056647903L;
+
+ /**
+ * Creates a DateTimeAtCreation
object.
+ *
+ * @param value the date at creation time
+ *
+ * @exception NullPointerException if value is null
+ */
+ public DateTimeAtCreation(Date value)
+ {
+ super(value);
+ }
+
+ /**
+ * Tests of obj is equal to this object.
+ *
+ * @param obj the object to test
+ *
+ * @returns true if both objects are equal, false otherwise.
+ */
+ public boolean equals(Object obj)
+ {
+ if(! (obj instanceof DateTimeAtCreation))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class DateTimeAtCreation
itself
+ */
+ public final Class getCategory()
+ {
+ return DateTimeAtCreation.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "date-time-at-creation"
+ */
+ public final String getName()
+ {
+ return "date-time-at-creation";
+ }
+}
Index: javax/print/attribute/standard/DateTimeAtProcessing.java
===================================================================
RCS file: javax/print/attribute/standard/DateTimeAtProcessing.java
diff -N javax/print/attribute/standard/DateTimeAtProcessing.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/DateTimeAtProcessing.java 7 Jan 2004 10:17:59 -0000
@@ -0,0 +1,95 @@
+/* DateTimeAtProcessing.java --
+ Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package javax.print.attribute.standard;
+
+import java.util.Date;
+import javax.print.attribute.DateTimeSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+public final class DateTimeAtProcessing extends DateTimeSyntax
+ implements PrintJobAttribute
+{
+ private static final long serialVersionUID = -3710068197278263244L;
+
+ /**
+ * Creates a DateTimeAtProcessing
object.
+ *
+ * @param value the date at processing time
+ *
+ * @exception NullPointerException if value is null
+ */
+ public DateTimeAtProcessing(Date value)
+ {
+ super(value);
+ }
+
+ /**
+ * Tests of obj is equal to this object.
+ *
+ * @param obj the object to test
+ *
+ * @returns true if both objects are equal, false otherwise.
+ */
+ public boolean equals(Object obj)
+ {
+ if(! (obj instanceof DateTimeAtProcessing))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class DateTimeAtProcessing
itself
+ */
+ public final Class getCategory()
+ {
+ return DateTimeAtProcessing.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "date-time-at-processing"
+ */
+ public final String getName()
+ {
+ return "date-time-at-processing";
+ }
+}
Index: javax/print/attribute/standard/JobImpressionsCompleted.java
===================================================================
RCS file: javax/print/attribute/standard/JobImpressionsCompleted.java
diff -N javax/print/attribute/standard/JobImpressionsCompleted.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/JobImpressionsCompleted.java 7 Jan 2004 10:17:59 -0000
@@ -0,0 +1,100 @@
+/* JobImpressionsCompleted.java --
+ Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+/**
+ * @author Michael Koch
+ */
+public final class JobImpressionsCompleted extends IntegerSyntax
+ implements PrintJobAttribute
+{
+ private static final long serialVersionUID = 6722648442432393294L;
+
+ /**
+ * Creates a JobImpressionsCompleted
object.
+ *
+ * @param value the number of completed impressions
+ *
+ * @exception IllegalArgumentException if value < 0
+ */
+ public JobImpressionsCompleted(int value)
+ {
+ super(value);
+
+ if (value < 0)
+ throw new IllegalArgumentException("value may not be less than 0");
+ }
+
+ /**
+ * Tests of obj is equal to this object.
+ *
+ * @param obj the object to test
+ *
+ * @returns true if both objects are equal, false otherwise.
+ */
+ public boolean equals(Object obj)
+ {
+ if(! (obj instanceof JobImpressionsCompleted))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class JobImpressionsCompleted
itself
+ */
+ public final Class getCategory()
+ {
+ return JobImpressionsCompleted.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "job-impressions-completed"
+ */
+ public final String getName()
+ {
+ return "job-impressions";
+ }
+}
Index: javax/print/attribute/standard/JobKOctets.java
===================================================================
RCS file: javax/print/attribute/standard/JobKOctets.java
diff -N javax/print/attribute/standard/JobKOctets.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/JobKOctets.java 7 Jan 2004 10:17:59 -0000
@@ -0,0 +1,101 @@
+/* JobKOctets.java --
+ Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+/**
+ * @author Michael Koch
+ */
+public final class JobKOctets extends IntegerSyntax
+ implements PrintJobAttribute, PrintRequestAttribute
+{
+ private static final long serialVersionUID = -8959710146498202869L;
+
+ /**
+ * Creates a JobKOctets
object.
+ *
+ * @param value the number of K octets
+ *
+ * @exception IllegalArgumentException if value < 0
+ */
+ public JobKOctets(int value)
+ {
+ super(value);
+
+ if (value < 0)
+ throw new IllegalArgumentException("value may not be less than 0");
+ }
+
+ /**
+ * Tests of obj is equal to this object.
+ *
+ * @param obj the object to test
+ *
+ * @returns true if both objects are equal, false otherwise.
+ */
+ public boolean equals(Object obj)
+ {
+ if(! (obj instanceof JobKOctets))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class JobKOctets
itself
+ */
+ public final Class getCategory()
+ {
+ return JobKOctets.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "job-k-octets"
+ */
+ public final String getName()
+ {
+ return "job-k-octets";
+ }
+}
Index: javax/print/attribute/standard/JobKOctetsProcessed.java
===================================================================
RCS file: javax/print/attribute/standard/JobKOctetsProcessed.java
diff -N javax/print/attribute/standard/JobKOctetsProcessed.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/JobKOctetsProcessed.java 7 Jan 2004 10:17:59 -0000
@@ -0,0 +1,101 @@
+/* JobKOctetsProcessed.java --
+ Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+/**
+ * @author Michael Koch
+ */
+public final class JobKOctetsProcessed extends IntegerSyntax
+ implements PrintJobAttribute, PrintRequestAttribute
+{
+ private static final long serialVersionUID = -6265238509657881806L;
+
+ /**
+ * Creates a JobKOctetsProcessed
object.
+ *
+ * @param value the number of processed K octets
+ *
+ * @exception IllegalArgumentException if value < 0
+ */
+ public JobKOctetsProcessed(int value)
+ {
+ super(value);
+
+ if (value < 0)
+ throw new IllegalArgumentException("value may not be less than 0");
+ }
+
+ /**
+ * Tests of obj is equal to this object.
+ *
+ * @param obj the object to test
+ *
+ * @returns true if both objects are equal, false otherwise.
+ */
+ public boolean equals(Object obj)
+ {
+ if(! (obj instanceof JobKOctetsProcessed))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class JobKOctetsProcessed
itself
+ */
+ public final Class getCategory()
+ {
+ return JobKOctetsProcessed.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "job-k-octets-processed"
+ */
+ public final String getName()
+ {
+ return "job-k-octets-processed";
+ }
+}
Index: javax/print/attribute/standard/JobMediaSheetsCompleted.java
===================================================================
RCS file: javax/print/attribute/standard/JobMediaSheetsCompleted.java
diff -N javax/print/attribute/standard/JobMediaSheetsCompleted.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/JobMediaSheetsCompleted.java 7 Jan 2004 10:17:59 -0000
@@ -0,0 +1,100 @@
+/* JobMediaSheetsCompleted.java --
+ Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+/**
+ * @author Michael Koch
+ */
+public class JobMediaSheetsCompleted extends IntegerSyntax
+ implements PrintJobAttribute
+{
+ private static final long serialVersionUID = 1739595973810840475L;
+
+ /**
+ * Creates a JobMediaSheetsCompleted
object.
+ *
+ * @param value the number of completed media sheets for a print job
+ *
+ * @exception IllegalArgumentException if value < 0
+ */
+ public JobMediaSheetsCompleted(int value)
+ {
+ super(value);
+
+ if (value < 0)
+ throw new IllegalArgumentException("value may not be less than 0");
+ }
+
+ /**
+ * Tests of obj is equal to this object.
+ *
+ * @param obj the object to test
+ *
+ * @returns true if both objects are equal, false otherwise.
+ */
+ public boolean equals(Object obj)
+ {
+ if(! (obj instanceof JobMediaSheetsCompleted))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class JobMediaSheetsCompleted
itself
+ */
+ public final Class getCategory()
+ {
+ return JobMediaSheetsCompleted.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "job-media-sheets-completed"
+ */
+ public final String getName()
+ {
+ return "job-media-sheets-completed";
+ }
+}
Index: javax/print/attribute/standard/JobPrioritySupported.java
===================================================================
RCS file: javax/print/attribute/standard/JobPrioritySupported.java
diff -N javax/print/attribute/standard/JobPrioritySupported.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/JobPrioritySupported.java 7 Jan 2004 10:17:59 -0000
@@ -0,0 +1,97 @@
+/* JobPrioritySupported.java --
+ Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+public final class JobPrioritySupported extends IntegerSyntax
+ implements SupportedValuesAttribute
+{
+ private static final long serialVersionUID = 2564840378013555894L;
+
+ /**
+ * Creates a JobPrioritySupported
object.
+ *
+ * @param value the priority
+ *
+ * @exception IllegalArgumentException if value < 1 or value > 100
+ */
+ public JobPrioritySupported(int value)
+ {
+ super(value);
+
+ if (value < 1 || value > 100)
+ throw new IllegalArgumentException("value out of range");
+ }
+
+ /**
+ * Tests of obj is equal to this object.
+ *
+ * @param obj the object to test
+ *
+ * @returns true if both objects are equal, false otherwise.
+ */
+ public boolean equals(Object obj)
+ {
+ if(! (obj instanceof JobPrioritySupported))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class JobPrioritySupported
itself
+ */
+ public final Class getCategory()
+ {
+ return JobPrioritySupported.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "job-priority-supported"
+ */
+ public final String getName()
+ {
+ return "job-priority-supported";
+ }
+}
Index: javax/print/attribute/standard/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/print/attribute/standard/Makefile.am,v
retrieving revision 1.1
diff -u -b -B -r1.1 Makefile.am
--- javax/print/attribute/standard/Makefile.am 26 Dec 2003 23:41:56 -0000 1.1
+++ javax/print/attribute/standard/Makefile.am 7 Jan 2004 10:17:59 -0000
@@ -2,9 +2,17 @@
EXTRA_DIST = \
Copies.java \
+DateTimeAtCompleted.java \
+DateTimeAtCreation.java \
+DateTimeAtProcessing.java \
JobImpressions.java \
+JobImpressionsCompleted.java \
+JobKOctets.java \
+JobKOctetsProcessed.java \
JobMediaSheets.java \
+JobMediaSheetsCompleted.java \
JobPriority.java \
+JobPrioritySupported.java \
NumberOfDocuments.java \
NumberOfInterveningJobs.java \
NumberUp.java \