aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax')
-rw-r--r--libjava/javax/print/attribute/standard/DocumentName.java95
-rw-r--r--libjava/javax/print/attribute/standard/JobHoldUntil.java96
-rw-r--r--libjava/javax/print/attribute/standard/JobMessageFromOperator.java95
-rw-r--r--libjava/javax/print/attribute/standard/JobName.java96
-rw-r--r--libjava/javax/print/attribute/standard/JobOriginatingUserName.java95
-rw-r--r--libjava/javax/print/attribute/standard/OutputDeviceAssigned.java95
-rw-r--r--libjava/javax/print/attribute/standard/PrinterInfo.java95
-rw-r--r--libjava/javax/print/attribute/standard/PrinterLocation.java95
-rw-r--r--libjava/javax/print/attribute/standard/PrinterMakeAndModel.java95
-rw-r--r--libjava/javax/print/attribute/standard/PrinterMessageFromOperator.java95
-rw-r--r--libjava/javax/print/attribute/standard/PrinterName.java95
-rw-r--r--libjava/javax/print/attribute/standard/RequestingUserName.java95
12 files changed, 1142 insertions, 0 deletions
diff --git a/libjava/javax/print/attribute/standard/DocumentName.java b/libjava/javax/print/attribute/standard/DocumentName.java
new file mode 100644
index 0000000..da6b214
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/DocumentName.java
@@ -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 <code>DocumentName</code> 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 <code>DocumentName</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/JobHoldUntil.java b/libjava/javax/print/attribute/standard/JobHoldUntil.java
new file mode 100644
index 0000000..7370ba8
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/JobHoldUntil.java
@@ -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 <code>JobHoldUntil</code> 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 <code>JobHoldUntil</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/JobMessageFromOperator.java b/libjava/javax/print/attribute/standard/JobMessageFromOperator.java
new file mode 100644
index 0000000..0caa805
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/JobMessageFromOperator.java
@@ -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 <code>JobMessageFromOperator</code> 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 <code>JobMessageFromOperator</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/JobName.java b/libjava/javax/print/attribute/standard/JobName.java
new file mode 100644
index 0000000..c69434b
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/JobName.java
@@ -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 <code>JobName</code> 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 <code>JobName</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/JobOriginatingUserName.java b/libjava/javax/print/attribute/standard/JobOriginatingUserName.java
new file mode 100644
index 0000000..925a5f4
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/JobOriginatingUserName.java
@@ -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 <code>JobOriginatingUserName</code> 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 <code>JobOriginatingUserName</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/OutputDeviceAssigned.java b/libjava/javax/print/attribute/standard/OutputDeviceAssigned.java
new file mode 100644
index 0000000..155b6c7
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/OutputDeviceAssigned.java
@@ -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 <code>OutputDeviceAssigned</code> 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 <code>OutputDeviceAssigned</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/PrinterInfo.java b/libjava/javax/print/attribute/standard/PrinterInfo.java
new file mode 100644
index 0000000..a4f77d2
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/PrinterInfo.java
@@ -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 <code>PrinterInfo</code> 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 <code>PrinterInfo</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/PrinterLocation.java b/libjava/javax/print/attribute/standard/PrinterLocation.java
new file mode 100644
index 0000000..d405d25
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/PrinterLocation.java
@@ -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 <code>PrinterLocation</code> 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 <code>PrinterLocation</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/PrinterMakeAndModel.java b/libjava/javax/print/attribute/standard/PrinterMakeAndModel.java
new file mode 100644
index 0000000..2609750
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/PrinterMakeAndModel.java
@@ -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 <code>PrinterMakeAndModel</code> 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 <code>PrinterMakeAndModel</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/PrinterMessageFromOperator.java b/libjava/javax/print/attribute/standard/PrinterMessageFromOperator.java
new file mode 100644
index 0000000..aa1c022
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/PrinterMessageFromOperator.java
@@ -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 <code>PrinterMessageFromOperator</code> 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 <code>PrinterMessageFromOperator</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/PrinterName.java b/libjava/javax/print/attribute/standard/PrinterName.java
new file mode 100644
index 0000000..0c55e5f
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/PrinterName.java
@@ -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 <code>PrinterName</code> 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 <code>PrinterName</code> 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";
+ }
+}
diff --git a/libjava/javax/print/attribute/standard/RequestingUserName.java b/libjava/javax/print/attribute/standard/RequestingUserName.java
new file mode 100644
index 0000000..6805fe8
--- /dev/null
+++ b/libjava/javax/print/attribute/standard/RequestingUserName.java
@@ -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 <code>RequestingUserName</code> 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 <code>RequestingUserName</code> 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";
+ }
+}