Index: javax/print/attribute/standard/DocumentName.java
===================================================================
RCS file: javax/print/attribute/standard/DocumentName.java
diff -N javax/print/attribute/standard/DocumentName.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/DocumentName.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* DocumentName.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.DocAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class DocumentName extends TextSyntax
+ implements DocAttribute
+{
+ private static final long serialVersionUID = 7883105848533280430L;
+
+ /**
+ * Creates a DocumentName
object.
+ *
+ * @param documentName the document name
+ *
+ * @exception NullPointerException if documentName is null
+ */
+ public DocumentName(String documentName, Locale locale)
+ {
+ super(documentName, locale);
+ }
+
+ /**
+ * 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 DocumentName))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class DocumentName
itself
+ */
+ public final Class getCategory()
+ {
+ return DocumentName.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "document-name"
+ */
+ public final String getName()
+ {
+ return "document-name";
+ }
+}
Index: javax/print/attribute/standard/JobHoldUntil.java
===================================================================
RCS file: javax/print/attribute/standard/JobHoldUntil.java
diff -N javax/print/attribute/standard/JobHoldUntil.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/JobHoldUntil.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,96 @@
+/* JobHoldUntil.java --
+ Copyright (C) 2004 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;
+import javax.print.attribute.PrintRequestAttribute;
+
+public final class JobHoldUntil extends DateTimeSyntax
+ implements PrintJobAttribute, PrintRequestAttribute
+{
+ private static final long serialVersionUID = -1664471048860415024L;
+
+ /**
+ * Creates a JobHoldUntil
object.
+ *
+ * @param value the date to hold the job until
+ *
+ * @exception NullPointerException if value is null
+ */
+ public JobHoldUntil(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 JobHoldUntil))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class JobHoldUntil
itself
+ */
+ public final Class getCategory()
+ {
+ return JobHoldUntil.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "job-hold-until"
+ */
+ public final String getName()
+ {
+ return "job-hold-until";
+ }
+}
Index: javax/print/attribute/standard/JobMessageFromOperator.java
===================================================================
RCS file: javax/print/attribute/standard/JobMessageFromOperator.java
diff -N javax/print/attribute/standard/JobMessageFromOperator.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/JobMessageFromOperator.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* JobMessageFromOperator.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class JobMessageFromOperator extends TextSyntax
+ implements PrintJobAttribute
+{
+ private static final long serialVersionUID = -4620751846003142047L;
+
+ /**
+ * Creates a JobMessageFromOperator
object.
+ *
+ * @param message the message
+ *
+ * @exception NullPointerException if message is null
+ */
+ public JobMessageFromOperator(String message, Locale locale)
+ {
+ super(message, locale);
+ }
+
+ /**
+ * 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 JobMessageFromOperator))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class JobMessageFromOperator
itself
+ */
+ public final Class getCategory()
+ {
+ return JobMessageFromOperator.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "job-message-from-operator"
+ */
+ public final String getName()
+ {
+ return "job-message-from-operator";
+ }
+}
Index: javax/print/attribute/standard/JobName.java
===================================================================
RCS file: javax/print/attribute/standard/JobName.java
diff -N javax/print/attribute/standard/JobName.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/JobName.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,96 @@
+/* JobName.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class JobName extends TextSyntax
+ implements PrintJobAttribute, PrintRequestAttribute
+{
+ private static final long serialVersionUID = 4660359192078689545L;
+
+ /**
+ * Creates a JobName
object.
+ *
+ * @param jobName the job name
+ *
+ * @exception NullPointerException if jobName is null
+ */
+ public JobName(String jobName, Locale locale)
+ {
+ super(jobName, locale);
+ }
+
+ /**
+ * 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 JobName))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class JobName
itself
+ */
+ public final Class getCategory()
+ {
+ return JobName.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "job-name"
+ */
+ public final String getName()
+ {
+ return "job-name";
+ }
+}
Index: javax/print/attribute/standard/JobOriginatingUserName.java
===================================================================
RCS file: javax/print/attribute/standard/JobOriginatingUserName.java
diff -N javax/print/attribute/standard/JobOriginatingUserName.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/JobOriginatingUserName.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* JobOriginatingUserName.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class JobOriginatingUserName extends TextSyntax
+ implements PrintJobAttribute
+{
+ private static final long serialVersionUID = -8052537926362933477L;
+
+ /**
+ * Creates a JobOriginatingUserName
object.
+ *
+ * @param userName the user name
+ *
+ * @exception NullPointerException if userName is null
+ */
+ public JobOriginatingUserName(String userName, Locale locale)
+ {
+ super(userName, locale);
+ }
+
+ /**
+ * 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 JobOriginatingUserName))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class JobOriginatingUserName
itself
+ */
+ public final Class getCategory()
+ {
+ return JobOriginatingUserName.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "job-originating-user-name"
+ */
+ public final String getName()
+ {
+ return "job-originating-user-name";
+ }
+}
Index: javax/print/attribute/standard/OutputDeviceAssigned.java
===================================================================
RCS file: javax/print/attribute/standard/OutputDeviceAssigned.java
diff -N javax/print/attribute/standard/OutputDeviceAssigned.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/OutputDeviceAssigned.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* OutputDeviceAssigned.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class OutputDeviceAssigned extends TextSyntax
+ implements PrintJobAttribute
+{
+ private static final long serialVersionUID = 5486733778854271081L;
+
+ /**
+ * Creates a OutputDeviceAssigned
object.
+ *
+ * @param deviceName the user name
+ *
+ * @exception NullPointerException if deviceName is null
+ */
+ public OutputDeviceAssigned(String deviceName, Locale locale)
+ {
+ super(deviceName, locale);
+ }
+
+ /**
+ * 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 OutputDeviceAssigned))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class OutputDeviceAssigned
itself
+ */
+ public final Class getCategory()
+ {
+ return OutputDeviceAssigned.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "output-device-assigened"
+ */
+ public final String getName()
+ {
+ return "output-device-assigened";
+ }
+}
Index: javax/print/attribute/standard/PrinterInfo.java
===================================================================
RCS file: javax/print/attribute/standard/PrinterInfo.java
diff -N javax/print/attribute/standard/PrinterInfo.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/PrinterInfo.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* PrinterInfo.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintServiceAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class PrinterInfo extends TextSyntax
+ implements PrintServiceAttribute
+{
+ private static final long serialVersionUID = 7765280618777599727L;
+
+ /**
+ * Creates a PrinterInfo
object.
+ *
+ * @param printerInfo the printer info
+ *
+ * @exception NullPointerException if printerInfo is null
+ */
+ public PrinterInfo(String printerInfo, Locale locale)
+ {
+ super(printerInfo, locale);
+ }
+
+ /**
+ * 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 PrinterInfo))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class PrinterInfo
itself
+ */
+ public final Class getCategory()
+ {
+ return PrinterInfo.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "printer-info"
+ */
+ public final String getName()
+ {
+ return "printer-info";
+ }
+}
Index: javax/print/attribute/standard/PrinterLocation.java
===================================================================
RCS file: javax/print/attribute/standard/PrinterLocation.java
diff -N javax/print/attribute/standard/PrinterLocation.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/PrinterLocation.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* PrinterLocation.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintServiceAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class PrinterLocation extends TextSyntax
+ implements PrintServiceAttribute
+{
+ private static final long serialVersionUID = -1598610039865566337L;
+
+ /**
+ * Creates a PrinterLocation
object.
+ *
+ * @param printerLocation the printer location
+ *
+ * @exception NullPointerException if printerLocation is null
+ */
+ public PrinterLocation(String printerLocation, Locale locale)
+ {
+ super(printerLocation, locale);
+ }
+
+ /**
+ * 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 PrinterLocation))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class PrinterLocation
itself
+ */
+ public final Class getCategory()
+ {
+ return PrinterLocation.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "printer-location"
+ */
+ public final String getName()
+ {
+ return "printer-location";
+ }
+}
Index: javax/print/attribute/standard/PrinterMakeAndModel.java
===================================================================
RCS file: javax/print/attribute/standard/PrinterMakeAndModel.java
diff -N javax/print/attribute/standard/PrinterMakeAndModel.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/PrinterMakeAndModel.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* PrinterMakeAndModel.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintServiceAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class PrinterMakeAndModel extends TextSyntax
+ implements PrintServiceAttribute
+{
+ private static final long serialVersionUID = 4580461489499351411L;
+
+ /**
+ * Creates a PrinterMakeAndModel
object.
+ *
+ * @param makeAndModel the make and model string
+ *
+ * @exception NullPointerException if makeAndModel is null
+ */
+ public PrinterMakeAndModel(String makeAndModel, Locale locale)
+ {
+ super(makeAndModel, locale);
+ }
+
+ /**
+ * 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 PrinterMakeAndModel))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class PrinterMakeAndModel
itself
+ */
+ public final Class getCategory()
+ {
+ return PrinterMakeAndModel.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "printer-make-and-model"
+ */
+ public final String getName()
+ {
+ return "printer-make-and-model";
+ }
+}
Index: javax/print/attribute/standard/PrinterMessageFromOperator.java
===================================================================
RCS file: javax/print/attribute/standard/PrinterMessageFromOperator.java
diff -N javax/print/attribute/standard/PrinterMessageFromOperator.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/PrinterMessageFromOperator.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* PrinterMessageFromOperator.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintServiceAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class PrinterMessageFromOperator extends TextSyntax
+ implements PrintServiceAttribute
+{
+ private static final long serialVersionUID = -4486871203218629318L;
+
+ /**
+ * Creates a PrinterMessageFromOperator
object.
+ *
+ * @param message the message
+ *
+ * @exception NullPointerException if message is null
+ */
+ public PrinterMessageFromOperator(String message, Locale locale)
+ {
+ super(message, locale);
+ }
+
+ /**
+ * 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 PrinterMessageFromOperator))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class PrinterMessageFromOperator
itself
+ */
+ public final Class getCategory()
+ {
+ return PrinterMessageFromOperator.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "printer-message-from-operator"
+ */
+ public final String getName()
+ {
+ return "printer-message-from-operator";
+ }
+}
Index: javax/print/attribute/standard/PrinterName.java
===================================================================
RCS file: javax/print/attribute/standard/PrinterName.java
diff -N javax/print/attribute/standard/PrinterName.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/PrinterName.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* PrinterName.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintServiceAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class PrinterName extends TextSyntax
+ implements PrintServiceAttribute
+{
+ private static final long serialVersionUID = 299740639137803127L;
+
+ /**
+ * Creates a PrinterName
object.
+ *
+ * @param printerName the printer name
+ *
+ * @exception NullPointerException if printerName is null
+ */
+ public PrinterName(String printerName, Locale locale)
+ {
+ super(printerName, locale);
+ }
+
+ /**
+ * 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 PrinterName))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class PrinterName
itself
+ */
+ public final Class getCategory()
+ {
+ return PrinterName.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "printer-name"
+ */
+ public final String getName()
+ {
+ return "printer-name";
+ }
+}
Index: javax/print/attribute/standard/RequestingUserName.java
===================================================================
RCS file: javax/print/attribute/standard/RequestingUserName.java
diff -N javax/print/attribute/standard/RequestingUserName.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ javax/print/attribute/standard/RequestingUserName.java 9 Jan 2004 11:24:06 -0000
@@ -0,0 +1,95 @@
+/* RequestingUserName.java --
+ Copyright (C) 2004 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.Locale;
+import javax.print.attribute.PrintRequestAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class RequestingUserName extends TextSyntax
+ implements PrintRequestAttribute
+{
+ private static final long serialVersionUID = 4660359192078689545L;
+
+ /**
+ * Creates a RequestingUserName
object.
+ *
+ * @param userName the job name
+ *
+ * @exception NullPointerException if userName is null
+ */
+ public RequestingUserName(String userName, Locale locale)
+ {
+ super(userName, locale);
+ }
+
+ /**
+ * 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 RequestingUserName))
+ return false;
+
+ return super.equals(obj);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class RequestingUserName
itself
+ */
+ public final Class getCategory()
+ {
+ return RequestingUserName.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "requesting-user-name"
+ */
+ public final String getName()
+ {
+ return "requesting-user-name";
+ }
+}
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.351
diff -u -b -B -r1.351 Makefile.am
--- Makefile.am 6 Jan 2004 13:48:51 -0000 1.351
+++ Makefile.am 9 Jan 2004 11:24:08 -0000
@@ -1790,20 +1790,32 @@
javax/print/attribute/standard/DateTimeAtCompleted.java \
javax/print/attribute/standard/DateTimeAtCreation.java \
javax/print/attribute/standard/DateTimeAtProcessing.java \
+javax/print/attribute/standard/DocumentName.java \
+javax/print/attribute/standard/JobHoldUntil.java \
javax/print/attribute/standard/JobImpressions.java \
javax/print/attribute/standard/JobImpressionsCompleted.java \
javax/print/attribute/standard/JobKOctets.java \
javax/print/attribute/standard/JobKOctetsProcessed.java \
javax/print/attribute/standard/JobMediaSheets.java \
javax/print/attribute/standard/JobMediaSheetsCompleted.java \
+javax/print/attribute/standard/JobMessageFromOperator.java \
+javax/print/attribute/standard/JobName.java \
+javax/print/attribute/standard/JobOriginatingUserName.java \
javax/print/attribute/standard/JobPriority.java \
javax/print/attribute/standard/JobPrioritySupported.java \
javax/print/attribute/standard/NumberOfDocuments.java \
javax/print/attribute/standard/NumberOfInterveningJobs.java \
javax/print/attribute/standard/NumberUp.java \
+javax/print/attribute/standard/OutputDeviceAssigned.java \
javax/print/attribute/standard/PagesPerMinute.java \
javax/print/attribute/standard/PagesPerMinuteColor.java \
+javax/print/attribute/standard/PrinterInfo.java \
+javax/print/attribute/standard/PrinterLocation.java \
+javax/print/attribute/standard/PrinterMakeAndModel.java \
+javax/print/attribute/standard/PrinterMessageFromOperator.java \
+javax/print/attribute/standard/PrinterName.java \
javax/print/attribute/standard/QueuedJobCount.java \
+javax/print/attribute/standard/RequestingUserName.java \
javax/security/auth/x500/X500Principal.java \
javax/sql/ConnectionEvent.java \
javax/sql/ConnectionEventListener.java \
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.in,v
retrieving revision 1.375
diff -u -b -B -r1.375 Makefile.in
--- Makefile.in 6 Jan 2004 13:48:51 -0000 1.375
+++ Makefile.in 9 Jan 2004 11:24:10 -0000
@@ -1508,20 +1508,32 @@
javax/print/attribute/standard/DateTimeAtCompleted.java \
javax/print/attribute/standard/DateTimeAtCreation.java \
javax/print/attribute/standard/DateTimeAtProcessing.java \
+javax/print/attribute/standard/DocumentName.java \
+javax/print/attribute/standard/JobHoldUntil.java \
javax/print/attribute/standard/JobImpressions.java \
javax/print/attribute/standard/JobImpressionsCompleted.java \
javax/print/attribute/standard/JobKOctets.java \
javax/print/attribute/standard/JobKOctetsProcessed.java \
javax/print/attribute/standard/JobMediaSheets.java \
javax/print/attribute/standard/JobMediaSheetsCompleted.java \
+javax/print/attribute/standard/JobMessageFromOperator.java \
+javax/print/attribute/standard/JobName.java \
+javax/print/attribute/standard/JobOriginatingUserName.java \
javax/print/attribute/standard/JobPriority.java \
javax/print/attribute/standard/JobPrioritySupported.java \
javax/print/attribute/standard/NumberOfDocuments.java \
javax/print/attribute/standard/NumberOfInterveningJobs.java \
javax/print/attribute/standard/NumberUp.java \
+javax/print/attribute/standard/OutputDeviceAssigned.java \
javax/print/attribute/standard/PagesPerMinute.java \
javax/print/attribute/standard/PagesPerMinuteColor.java \
+javax/print/attribute/standard/PrinterInfo.java \
+javax/print/attribute/standard/PrinterLocation.java \
+javax/print/attribute/standard/PrinterMakeAndModel.java \
+javax/print/attribute/standard/PrinterMessageFromOperator.java \
+javax/print/attribute/standard/PrinterName.java \
javax/print/attribute/standard/QueuedJobCount.java \
+javax/print/attribute/standard/RequestingUserName.java \
javax/security/auth/x500/X500Principal.java \
javax/sql/ConnectionEvent.java \
javax/sql/ConnectionEventListener.java \
@@ -4235,20 +4247,32 @@
.deps/javax/print/attribute/standard/DateTimeAtCompleted.P \
.deps/javax/print/attribute/standard/DateTimeAtCreation.P \
.deps/javax/print/attribute/standard/DateTimeAtProcessing.P \
+.deps/javax/print/attribute/standard/DocumentName.P \
+.deps/javax/print/attribute/standard/JobHoldUntil.P \
.deps/javax/print/attribute/standard/JobImpressions.P \
.deps/javax/print/attribute/standard/JobImpressionsCompleted.P \
.deps/javax/print/attribute/standard/JobKOctets.P \
.deps/javax/print/attribute/standard/JobKOctetsProcessed.P \
.deps/javax/print/attribute/standard/JobMediaSheets.P \
.deps/javax/print/attribute/standard/JobMediaSheetsCompleted.P \
+.deps/javax/print/attribute/standard/JobMessageFromOperator.P \
+.deps/javax/print/attribute/standard/JobName.P \
+.deps/javax/print/attribute/standard/JobOriginatingUserName.P \
.deps/javax/print/attribute/standard/JobPriority.P \
.deps/javax/print/attribute/standard/JobPrioritySupported.P \
.deps/javax/print/attribute/standard/NumberOfDocuments.P \
.deps/javax/print/attribute/standard/NumberOfInterveningJobs.P \
.deps/javax/print/attribute/standard/NumberUp.P \
+.deps/javax/print/attribute/standard/OutputDeviceAssigned.P \
.deps/javax/print/attribute/standard/PagesPerMinute.P \
.deps/javax/print/attribute/standard/PagesPerMinuteColor.P \
+.deps/javax/print/attribute/standard/PrinterInfo.P \
+.deps/javax/print/attribute/standard/PrinterLocation.P \
+.deps/javax/print/attribute/standard/PrinterMakeAndModel.P \
+.deps/javax/print/attribute/standard/PrinterMessageFromOperator.P \
+.deps/javax/print/attribute/standard/PrinterName.P \
.deps/javax/print/attribute/standard/QueuedJobCount.P \
+.deps/javax/print/attribute/standard/RequestingUserName.P \
.deps/javax/rmi/BAD_OPERATION.P .deps/javax/rmi/CORBA/ClassDesc.P \
.deps/javax/rmi/CORBA/ObjectImpl.P \
.deps/javax/rmi/CORBA/PortableRemoteObjectDelegate.P \