summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-04-29 10:39:00 +0000
committerMichael Koch <konqueror@gmx.de>2004-04-29 10:39:00 +0000
commit253738e23e487af85a28a85411bb5d8e74391df7 (patch)
tree769ccb3a3129c05e524207af5464e7b7f02559b3
parentedda2700f128d9778cdf5118a025790747f1747c (diff)
downloadclasspath-253738e23e487af85a28a85411bb5d8e74391df7.tar.gz
2004-04-29 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/ColorSupported.java, javax/print/attribute/standard/Compression.java, javax/print/attribute/standard/CopiesSupported.java, javax/print/attribute/standard/Fidelity.java, javax/print/attribute/standard/Finishings.java, javax/print/attribute/standard/JobImpressionsSupported.java, javax/print/attribute/standard/JobKOctetsSupported.java, javax/print/attribute/standard/JobMediaSheetsSupported.java, javax/print/attribute/standard/JobSheets.java, javax/print/attribute/standard/JobState.java, javax/print/attribute/standard/JobStateReason.java, javax/print/attribute/standard/JobStateReasons.java, javax/print/attribute/standard/Media.java, javax/print/attribute/standard/MediaSizeName.java, javax/print/attribute/standard/MultipleDocumentHandling.java, javax/print/attribute/standard/NumberUpSupported.java, javax/print/attribute/standard/OrientationRequested.java, javax/print/attribute/standard/PDLOverrideSupported.java, javax/print/attribute/standard/PageRanges.java, javax/print/attribute/standard/PresentationDirection.java, javax/print/attribute/standard/PrintQuality.java, javax/print/attribute/standard/PrinterIsAcceptingJobs.java, javax/print/attribute/standard/PrinterMoreInfo.java, javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, javax/print/attribute/standard/PrinterResolution.java, javax/print/attribute/standard/PrinterState.java, javax/print/attribute/standard/PrinterStateReason.java, javax/print/attribute/standard/PrinterStateReasons.java, javax/print/attribute/standard/PrinterURI.java, javax/print/attribute/standard/ReferenceUriSchemesSupported.java, javax/print/attribute/standard/Severity.java, javax/print/attribute/standard/SheetCollate.java, javax/print/attribute/standard/Sides.java: New files. * javax/print/attribute/standard/Makefile.am (EXTRA_DIST): Added new files.
-rw-r--r--ChangeLog38
-rw-r--r--javax/print/attribute/standard/ColorSupported.java82
-rw-r--r--javax/print/attribute/standard/Compression.java84
-rw-r--r--javax/print/attribute/standard/CopiesSupported.java85
-rw-r--r--javax/print/attribute/standard/Fidelity.java83
-rw-r--r--javax/print/attribute/standard/Finishings.java100
-rw-r--r--javax/print/attribute/standard/JobImpressionsSupported.java77
-rw-r--r--javax/print/attribute/standard/JobKOctetsSupported.java77
-rw-r--r--javax/print/attribute/standard/JobMediaSheetsSupported.java77
-rw-r--r--javax/print/attribute/standard/JobSheets.java81
-rw-r--r--javax/print/attribute/standard/JobState.java86
-rw-r--r--javax/print/attribute/standard/JobStateReason.java79
-rw-r--r--javax/print/attribute/standard/JobStateReasons.java69
-rw-r--r--javax/print/attribute/standard/Makefile.am30
-rw-r--r--javax/print/attribute/standard/Media.java79
-rw-r--r--javax/print/attribute/standard/MediaSizeName.java133
-rw-r--r--javax/print/attribute/standard/MultipleDocumentHandling.java81
-rw-r--r--javax/print/attribute/standard/NumberUpSupported.java93
-rw-r--r--javax/print/attribute/standard/OrientationRequested.java88
-rw-r--r--javax/print/attribute/standard/PDLOverrideSupported.java82
-rw-r--r--javax/print/attribute/standard/PageRanges.java95
-rw-r--r--javax/print/attribute/standard/PresentationDirection.java95
-rw-r--r--javax/print/attribute/standard/PrintQuality.java83
-rw-r--r--javax/print/attribute/standard/PrinterIsAcceptingJobs.java82
-rw-r--r--javax/print/attribute/standard/PrinterMoreInfo.java78
-rw-r--r--javax/print/attribute/standard/PrinterMoreInfoManufacturer.java78
-rw-r--r--javax/print/attribute/standard/PrinterResolution.java80
-rw-r--r--javax/print/attribute/standard/PrinterState.java82
-rw-r--r--javax/print/attribute/standard/PrinterStateReason.java138
-rw-r--r--javax/print/attribute/standard/PrinterStateReasons.java69
-rw-r--r--javax/print/attribute/standard/PrinterURI.java78
-rw-r--r--javax/print/attribute/standard/ReferenceUriSchemesSupported.java94
-rw-r--r--javax/print/attribute/standard/Severity.java81
-rw-r--r--javax/print/attribute/standard/SheetCollate.java79
-rw-r--r--javax/print/attribute/standard/Sides.java87
35 files changed, 2903 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 42abcd401..b9703f6ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,41 @@
+2004-04-29 Michael Koch <konqueror@gmx.de>
+
+ * javax/print/attribute/standard/ColorSupported.java,
+ javax/print/attribute/standard/Compression.java,
+ javax/print/attribute/standard/CopiesSupported.java,
+ javax/print/attribute/standard/Fidelity.java,
+ javax/print/attribute/standard/Finishings.java,
+ javax/print/attribute/standard/JobImpressionsSupported.java,
+ javax/print/attribute/standard/JobKOctetsSupported.java,
+ javax/print/attribute/standard/JobMediaSheetsSupported.java,
+ javax/print/attribute/standard/JobSheets.java,
+ javax/print/attribute/standard/JobState.java,
+ javax/print/attribute/standard/JobStateReason.java,
+ javax/print/attribute/standard/JobStateReasons.java,
+ javax/print/attribute/standard/Media.java,
+ javax/print/attribute/standard/MediaSizeName.java,
+ javax/print/attribute/standard/MultipleDocumentHandling.java,
+ javax/print/attribute/standard/NumberUpSupported.java,
+ javax/print/attribute/standard/OrientationRequested.java,
+ javax/print/attribute/standard/PDLOverrideSupported.java,
+ javax/print/attribute/standard/PageRanges.java,
+ javax/print/attribute/standard/PresentationDirection.java,
+ javax/print/attribute/standard/PrintQuality.java,
+ javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
+ javax/print/attribute/standard/PrinterMoreInfo.java,
+ javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
+ javax/print/attribute/standard/PrinterResolution.java,
+ javax/print/attribute/standard/PrinterState.java,
+ javax/print/attribute/standard/PrinterStateReason.java,
+ javax/print/attribute/standard/PrinterStateReasons.java,
+ javax/print/attribute/standard/PrinterURI.java,
+ javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
+ javax/print/attribute/standard/Severity.java,
+ javax/print/attribute/standard/SheetCollate.java,
+ javax/print/attribute/standard/Sides.java: New files.
+ * javax/print/attribute/standard/Makefile.am
+ (EXTRA_DIST): Added new files.
+
2004-04-29 Mark Wielaard <mark@klomp.org>
* gnu/java/lang/Makefile.am (EXTRA_DIST): Removed
diff --git a/javax/print/attribute/standard/ColorSupported.java b/javax/print/attribute/standard/ColorSupported.java
new file mode 100644
index 000000000..bd080b3eb
--- /dev/null
+++ b/javax/print/attribute/standard/ColorSupported.java
@@ -0,0 +1,82 @@
+/* ColorSupported.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 javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintServiceAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class ColorSupported extends EnumSyntax
+ implements PrintServiceAttribute
+{
+ public static final ColorSupported NOT_SUPPORTED = new ColorSupported(0);
+ public static final ColorSupported SUPPORTED = new ColorSupported(1);
+
+ /**
+ * Constructs a <code>ColorSupported</code> object.
+ *
+ * @param value the value
+ */
+ protected ColorSupported(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>ColorSupported</code> itself
+ */
+ public final Class getCategory()
+ {
+ return ColorSupported.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "color-supported";
+ }
+}
diff --git a/javax/print/attribute/standard/Compression.java b/javax/print/attribute/standard/Compression.java
new file mode 100644
index 000000000..a27cf1891
--- /dev/null
+++ b/javax/print/attribute/standard/Compression.java
@@ -0,0 +1,84 @@
+/* Compression.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 javax.print.attribute.DocAttribute;
+import javax.print.attribute.EnumSyntax;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public class Compression extends EnumSyntax
+ implements DocAttribute
+{
+ public static final Compression NONE = new Compression(0);
+ public static final Compression DEFLATE = new Compression(1);
+ public static final Compression GZIP = new Compression(2);
+ public static final Compression COMPRESS = new Compression(3);
+
+ /**
+ * Constructs a <code>Compression</code> object.
+ *
+ * @param value that value
+ */
+ protected Compression(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>Compression</code> itself
+ */
+ public final Class getCategory()
+ {
+ return Compression.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "compression";
+ }
+}
diff --git a/javax/print/attribute/standard/CopiesSupported.java b/javax/print/attribute/standard/CopiesSupported.java
new file mode 100644
index 000000000..4c960f1d3
--- /dev/null
+++ b/javax/print/attribute/standard/CopiesSupported.java
@@ -0,0 +1,85 @@
+/* CopiesSupported.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 javax.print.attribute.SetOfIntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class CopiesSupported extends SetOfIntegerSyntax
+ implements SupportedValuesAttribute
+{
+ /**
+ * Constructs a <code>CopiesSupported</code> object.
+ */
+ public CopiesSupported(int member)
+ {
+ super(member);
+ }
+
+ /**
+ * Constructs a <code>CopiesSupported</code> object.
+ */
+ public CopiesSupported(int lowerBound, int upperBound)
+ {
+ super(lowerBound, upperBound);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>CopiesSupported</code> itself
+ */
+ public final Class getCategory()
+ {
+ return CopiesSupported.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "copies-supported";
+ }
+}
diff --git a/javax/print/attribute/standard/Fidelity.java b/javax/print/attribute/standard/Fidelity.java
new file mode 100644
index 000000000..ac1770b0d
--- /dev/null
+++ b/javax/print/attribute/standard/Fidelity.java
@@ -0,0 +1,83 @@
+/* Fidelity.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 javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class Fidelity extends EnumSyntax
+ implements PrintJobAttribute, PrintRequestAttribute
+{
+ public static final Fidelity FIDELITY_TRUE = new Fidelity(0);
+ public static final Fidelity FIDELITY_FALSE = new Fidelity(1);
+
+ /**
+ * Constructs a <code>Fidelity</code> object.
+ *
+ * @param value the value
+ */
+ protected Fidelity(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>Fidelity</code> itself
+ */
+ public final Class getCategory()
+ {
+ return Fidelity.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "fidelity";
+ }
+}
diff --git a/javax/print/attribute/standard/Finishings.java b/javax/print/attribute/standard/Finishings.java
new file mode 100644
index 000000000..3eacd4fb9
--- /dev/null
+++ b/javax/print/attribute/standard/Finishings.java
@@ -0,0 +1,100 @@
+/* Finishings.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 javax.print.attribute.DocAttribute;
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class Finishings extends EnumSyntax
+ implements DocAttribute, PrintJobAttribute, PrintRequestAttribute
+{
+ public static final Finishings NONE = new Finishings(0);
+ public static final Finishings STAPLE = new Finishings(1);
+ public static final Finishings COVER = new Finishings(2);
+ public static final Finishings BIND = new Finishings(3);
+ public static final Finishings SADDLE_STITCH = new Finishings(4);
+ public static final Finishings EDGE_STITCH = new Finishings(5);
+ public static final Finishings STAPLE_TOP_LEFT = new Finishings(6);
+ public static final Finishings STAPLE_BOTTOM_LEFT = new Finishings(7);
+ public static final Finishings STAPLE_TOP_RIGHT = new Finishings(8);
+ public static final Finishings STAPLE_BOTTOM_RIGHT = new Finishings(9);
+ public static final Finishings EDGE_STITCH_LEFT = new Finishings(10);
+ public static final Finishings EDGE_STITCH_TOP = new Finishings(11);
+ public static final Finishings EDGE_STITCH_RIGHT = new Finishings(12);
+ public static final Finishings EDGE_STITCH_BOTTOM = new Finishings(13);
+ public static final Finishings STAPLE_DUAL_LEFT = new Finishings(14);
+ public static final Finishings STAPLE_DUAL_TOP = new Finishings(15);
+ public static final Finishings STAPLE_DUAL_RIGHT = new Finishings(16);
+ public static final Finishings STAPLE_DUAL_BOTTOM = new Finishings(17);
+
+ /**
+ * Constructs a <code>Finishings</code> object.
+ *
+ * @param value the value
+ */
+ protected Finishings(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>Finishings</code> itself
+ */
+ public final Class getCategory()
+ {
+ return Finishings.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "finishings";
+ }
+}
diff --git a/javax/print/attribute/standard/JobImpressionsSupported.java b/javax/print/attribute/standard/JobImpressionsSupported.java
new file mode 100644
index 000000000..0d8be151e
--- /dev/null
+++ b/javax/print/attribute/standard/JobImpressionsSupported.java
@@ -0,0 +1,77 @@
+/* JobImpressionsSupported.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 javax.print.attribute.SetOfIntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class JobImpressionsSupported extends SetOfIntegerSyntax
+ implements SupportedValuesAttribute
+{
+ /**
+ * Constructs a <code>JobImpressionsSupported</code> object.
+ */
+ public JobImpressionsSupported(int lowerBound, int upperBound)
+ {
+ super(lowerBound, upperBound);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>JobImpressionsSupported</code> itself
+ */
+ public final Class getCategory()
+ {
+ return JobImpressionsSupported.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "job-impressions-supported";
+ }
+}
diff --git a/javax/print/attribute/standard/JobKOctetsSupported.java b/javax/print/attribute/standard/JobKOctetsSupported.java
new file mode 100644
index 000000000..815321879
--- /dev/null
+++ b/javax/print/attribute/standard/JobKOctetsSupported.java
@@ -0,0 +1,77 @@
+/* JobKOctetsSupported.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 javax.print.attribute.SetOfIntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class JobKOctetsSupported extends SetOfIntegerSyntax
+ implements SupportedValuesAttribute
+{
+ /**
+ * Constructs a <code>JobKOctetsSupported</code> object.
+ */
+ public JobKOctetsSupported(int lowerBound, int upperBound)
+ {
+ super(lowerBound, upperBound);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>ColorSupported</code> itself
+ */
+ public final Class getCategory()
+ {
+ return JobKOctetsSupported.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "job-k-octets-supported";
+ }
+}
diff --git a/javax/print/attribute/standard/JobMediaSheetsSupported.java b/javax/print/attribute/standard/JobMediaSheetsSupported.java
new file mode 100644
index 000000000..450ecf330
--- /dev/null
+++ b/javax/print/attribute/standard/JobMediaSheetsSupported.java
@@ -0,0 +1,77 @@
+/* JobMediaSheetsSupported.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 javax.print.attribute.SetOfIntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class JobMediaSheetsSupported extends SetOfIntegerSyntax
+ implements SupportedValuesAttribute
+{
+ /**
+ * Constructs a <code>JobMediaSheetsSupported</code> object.
+ */
+ public JobMediaSheetsSupported(int lowerBound, int upperBound)
+ {
+ super(lowerBound, upperBound);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>JobMediaSheetsSupported</code> itself
+ */
+ public final Class getCategory()
+ {
+ return JobMediaSheetsSupported.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "job-media-sheets-supported";
+ }
+}
diff --git a/javax/print/attribute/standard/JobSheets.java b/javax/print/attribute/standard/JobSheets.java
new file mode 100644
index 000000000..c3936614d
--- /dev/null
+++ b/javax/print/attribute/standard/JobSheets.java
@@ -0,0 +1,81 @@
+/* JobSheets.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 javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class JobSheets extends EnumSyntax
+ implements PrintJobAttribute, PrintRequestAttribute
+{
+ public static final JobSheets NONE = new JobSheets(0);
+ public static final JobSheets STANDARD = new JobSheets(1);
+
+ /**
+ * Constructs a <code>JobSheets</code> object.
+ */
+ protected JobSheets(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>JobSheets</code> itself
+ */
+ public final Class getCategory()
+ {
+ return JobSheets.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "job-sheets";
+ }
+}
diff --git a/javax/print/attribute/standard/JobState.java b/javax/print/attribute/standard/JobState.java
new file mode 100644
index 000000000..3aa61a8d8
--- /dev/null
+++ b/javax/print/attribute/standard/JobState.java
@@ -0,0 +1,86 @@
+/* JobState.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 javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class JobState extends EnumSyntax
+ implements PrintJobAttribute
+{
+ public static final JobState UNKNOWN = new JobState(0);
+ public static final JobState PENDING = new JobState(1);
+ public static final JobState PENDING_HELD = new JobState(2);
+ public static final JobState PROCESSING = new JobState(3);
+ public static final JobState PROCESSING_STOPPED = new JobState(4);
+ public static final JobState CANCELED = new JobState(5);
+ public static final JobState ABORTED = new JobState(6);
+ public static final JobState COMPLETED = new JobState(7);
+
+ /**
+ * Constructs a <code>JobState</code> object.
+ */
+ protected JobState(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>JobState</code> itself
+ */
+ public final Class getCategory()
+ {
+ return JobState.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "job-state";
+ }
+}
diff --git a/javax/print/attribute/standard/JobStateReason.java b/javax/print/attribute/standard/JobStateReason.java
new file mode 100644
index 000000000..9468ef98b
--- /dev/null
+++ b/javax/print/attribute/standard/JobStateReason.java
@@ -0,0 +1,79 @@
+/* JobStateReason.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 javax.print.attribute.Attribute;
+import javax.print.attribute.EnumSyntax;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public class JobStateReason extends EnumSyntax
+ implements Attribute
+{
+ public static final JobStateReason ABORTED_BY_SYSTEM = new JobStateReason(1);
+
+ /**
+ * Constructs a <code>JobStateReason</code> object.
+ */
+ protected JobStateReason(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>JobStateReason</code> itself
+ */
+ public final Class getCategory()
+ {
+ return JobStateReason.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "job-state-reason";
+ }
+}
diff --git a/javax/print/attribute/standard/JobStateReasons.java b/javax/print/attribute/standard/JobStateReasons.java
new file mode 100644
index 000000000..a8663aee6
--- /dev/null
+++ b/javax/print/attribute/standard/JobStateReasons.java
@@ -0,0 +1,69 @@
+/* JobStateReasons.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.HashSet;
+import javax.print.attribute.PrintJobAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class JobStateReasons extends HashSet
+ implements PrintJobAttribute
+{
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>ColorSupported</code> itself
+ */
+ public final Class getCategory()
+ {
+ return JobStateReasons.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "job-state-reasons";
+ }
+}
diff --git a/javax/print/attribute/standard/Makefile.am b/javax/print/attribute/standard/Makefile.am
index 80eb18eff..89ff89393 100644
--- a/javax/print/attribute/standard/Makefile.am
+++ b/javax/print/attribute/standard/Makefile.am
@@ -1,11 +1,16 @@
## Input file for automake to generate the Makefile.in used by configure
EXTRA_DIST = \
+ColorSupported.java \
+Compression.java \
Copies.java \
+CopiesSupported.java \
DateTimeAtCompleted.java \
DateTimeAtCreation.java \
DateTimeAtProcessing.java \
DocumentName.java \
+Fidelity.java \
+Finishings.java \
JobHoldUntil.java \
JobImpressions.java \
JobImpressionsCompleted.java \
@@ -18,17 +23,42 @@ JobName.java \
JobOriginatingUserName.java \
JobPriority.java \
JobPrioritySupported.java \
+JobSheets.java \
+JobState.java \
+JobStateReason.java \
+JobStateReasons.java \
+Media.java \
+MediaSizeName.java \
+MultipleDocumentHandling.java \
NumberOfDocuments.java \
NumberOfInterveningJobs.java \
NumberUp.java \
+NumberUpSupported.java \
+OrientationRequested.java \
OutputDeviceAssigned.java \
PagesPerMinute.java \ \
PagesPerMinuteColor.java \
+PageRanges.java \
+PDLOverrideSupported.java \
+PresentationDirection.java \
PrinterInfo.java \
+PrinterIsAcceptingJobs.java \
PrinterLocation.java \
PrinterMakeAndModel.java \
PrinterMessageFromOperator.java \
+PrinterMoreInfo.java \
+PrinterMoreInfoManufacturer.java \
PrinterName.java \
+PrinterResolution.java \
+PrinterState.java \
+PrinterStateReason.java \
+PrinterStateReasons.java \
+PrinterURI.java \
+PrintQuality.java \
QueuedJobCount.java \
+ReferenceUriSchemeSupported.java \
RequestingUserName.java \
+Severity.java \
+SheetCollate.java \
+Sides.java \
package.html
diff --git a/javax/print/attribute/standard/Media.java b/javax/print/attribute/standard/Media.java
new file mode 100644
index 000000000..addf99808
--- /dev/null
+++ b/javax/print/attribute/standard/Media.java
@@ -0,0 +1,79 @@
+/* Media.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 javax.print.attribute.DocAttribute;
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public abstract class Media extends EnumSyntax
+ implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
+{
+ /**
+ * Constructs a <code>Media</code> object.
+ */
+ protected Media(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>Media</code> itself
+ */
+ public final Class getCategory()
+ {
+ return Media.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "media";
+ }
+}
diff --git a/javax/print/attribute/standard/MediaSizeName.java b/javax/print/attribute/standard/MediaSizeName.java
new file mode 100644
index 000000000..1b6b8579c
--- /dev/null
+++ b/javax/print/attribute/standard/MediaSizeName.java
@@ -0,0 +1,133 @@
+/* MediaSizeName.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;
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public class MediaSizeName extends Media
+{
+ public static final MediaSizeName ISO_A0 = new MediaSizeName(0);
+ public static final MediaSizeName ISO_A1 = new MediaSizeName(1);
+ public static final MediaSizeName ISO_A2 = new MediaSizeName(2);
+ public static final MediaSizeName ISO_A3 = new MediaSizeName(3);
+ public static final MediaSizeName ISO_A4 = new MediaSizeName(4);
+ public static final MediaSizeName ISO_A5 = new MediaSizeName(5);
+ public static final MediaSizeName ISO_A6 = new MediaSizeName(6);
+ public static final MediaSizeName ISO_A7 = new MediaSizeName(7);
+ public static final MediaSizeName ISO_A8 = new MediaSizeName(8);
+ public static final MediaSizeName ISO_A9 = new MediaSizeName(9);
+ public static final MediaSizeName ISO_A10 = new MediaSizeName(10);
+ public static final MediaSizeName ISO_B0 = new MediaSizeName(11);
+ public static final MediaSizeName ISO_B1 = new MediaSizeName(12);
+ public static final MediaSizeName ISO_B2 = new MediaSizeName(13);
+ public static final MediaSizeName ISO_B3 = new MediaSizeName(14);
+ public static final MediaSizeName ISO_B4 = new MediaSizeName(15);
+ public static final MediaSizeName ISO_B5 = new MediaSizeName(16);
+ public static final MediaSizeName ISO_B6 = new MediaSizeName(17);
+ public static final MediaSizeName ISO_B7 = new MediaSizeName(18);
+ public static final MediaSizeName ISO_B8 = new MediaSizeName(19);
+ public static final MediaSizeName ISO_B9 = new MediaSizeName(20);
+ public static final MediaSizeName ISO_B10 = new MediaSizeName(21);
+ public static final MediaSizeName JIS_B0 = new MediaSizeName(22);
+ public static final MediaSizeName JIS_B1 = new MediaSizeName(23);
+ public static final MediaSizeName JIS_B2 = new MediaSizeName(24);
+ public static final MediaSizeName JIS_B3 = new MediaSizeName(25);
+ public static final MediaSizeName JIS_B4 = new MediaSizeName(26);
+ public static final MediaSizeName JIS_B5 = new MediaSizeName(27);
+ public static final MediaSizeName JIS_B6 = new MediaSizeName(28);
+ public static final MediaSizeName JIS_B7 = new MediaSizeName(29);
+ public static final MediaSizeName JIS_B8 = new MediaSizeName(30);
+ public static final MediaSizeName JIS_B9 = new MediaSizeName(31);
+ public static final MediaSizeName JIS_B10 = new MediaSizeName(32);
+ public static final MediaSizeName ISO_C0 = new MediaSizeName(33);
+ public static final MediaSizeName ISO_C1 = new MediaSizeName(34);
+ public static final MediaSizeName ISO_C2 = new MediaSizeName(35);
+ public static final MediaSizeName ISO_C3 = new MediaSizeName(36);
+ public static final MediaSizeName ISO_C4 = new MediaSizeName(37);
+ public static final MediaSizeName ISO_C5 = new MediaSizeName(38);
+ public static final MediaSizeName ISO_C6 = new MediaSizeName(39);
+ public static final MediaSizeName NA_LETTER = new MediaSizeName(40);
+ public static final MediaSizeName NA_LEGAL = new MediaSizeName(41);
+ public static final MediaSizeName EXECUTIVE = new MediaSizeName(42);
+ public static final MediaSizeName LEDGER = new MediaSizeName(43);
+ public static final MediaSizeName TABLOID = new MediaSizeName(44);
+ public static final MediaSizeName INVOICE = new MediaSizeName(45);
+ public static final MediaSizeName FOLIO = new MediaSizeName(46);
+ public static final MediaSizeName QUARTO = new MediaSizeName(47);
+ public static final MediaSizeName JAPANESE_POSTCARD = new MediaSizeName(48);
+ public static final MediaSizeName JAPANESE_DOUBLE_POSTCARD =
+ new MediaSizeName(49);
+ public static final MediaSizeName A = new MediaSizeName(50);
+ public static final MediaSizeName B = new MediaSizeName(51);
+ public static final MediaSizeName C = new MediaSizeName(52);
+ public static final MediaSizeName D = new MediaSizeName(53);
+ public static final MediaSizeName E = new MediaSizeName(54);
+ public static final MediaSizeName ISO_DESIGNATED_LONG =
+ new MediaSizeName(55);
+ public static final MediaSizeName ITALY_ENVELOPE = new MediaSizeName(56);
+ public static final MediaSizeName MONARCH_ENVELOPE = new MediaSizeName(57);
+ public static final MediaSizeName PERSONAL_ENVELOPE = new MediaSizeName(58);
+ public static final MediaSizeName NA_NUMBER_9_ENVELOPE =
+ new MediaSizeName(59);
+ public static final MediaSizeName NA_NUMBER_10_ENVELOPE =
+ new MediaSizeName(60);
+ public static final MediaSizeName NA_NUMBER_11_ENVELOPE =
+ new MediaSizeName(61);
+ public static final MediaSizeName NA_NUMBER_12_ENVELOPE =
+ new MediaSizeName(62);
+ public static final MediaSizeName NA_NUMBER_14_ENVELOPE =
+ new MediaSizeName(63);
+ public static final MediaSizeName NA_6X9_ENVELOPE = new MediaSizeName(64);
+ public static final MediaSizeName NA_7X9_ENVELOPE = new MediaSizeName(65);
+ public static final MediaSizeName NA_9X11_ENVELOPE = new MediaSizeName(66);
+ public static final MediaSizeName NA_9X12_ENVELOPE = new MediaSizeName(67);
+ public static final MediaSizeName NA_10X13_ENVELOPE = new MediaSizeName(68);
+ public static final MediaSizeName NA_10X14_ENVELOPE = new MediaSizeName(69);
+ public static final MediaSizeName NA_10X15_ENVELOPE = new MediaSizeName(70);
+ public static final MediaSizeName NA_5X7 = new MediaSizeName(71);
+ public static final MediaSizeName NA_8X10 = new MediaSizeName(72);
+
+ /**
+ * Constructs a <code>MediaSizeName</code> object.
+ */
+ protected MediaSizeName(int value)
+ {
+ super(value);
+ }
+}
diff --git a/javax/print/attribute/standard/MultipleDocumentHandling.java b/javax/print/attribute/standard/MultipleDocumentHandling.java
new file mode 100644
index 000000000..eab2f9347
--- /dev/null
+++ b/javax/print/attribute/standard/MultipleDocumentHandling.java
@@ -0,0 +1,81 @@
+/* MultipleDocumentHandling.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 javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class MultipleDocumentHandling extends EnumSyntax
+ implements PrintJobAttribute, PrintRequestAttribute
+{
+ public static final MultipleDocumentHandling SEPARATE_DOCUMENTS_COLLATED_COPIES =
+ new MultipleDocumentHandling(2);
+
+ /**
+ * Constructs a <code>MultipleDocumentHandling</code> object.
+ */
+ protected MultipleDocumentHandling(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>MultipleDocumentHandling</code> itself
+ */
+ public final Class getCategory()
+ {
+ return MultipleDocumentHandling.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "multiple-document-handling";
+ }
+}
diff --git a/javax/print/attribute/standard/NumberUpSupported.java b/javax/print/attribute/standard/NumberUpSupported.java
new file mode 100644
index 000000000..ab01c1f22
--- /dev/null
+++ b/javax/print/attribute/standard/NumberUpSupported.java
@@ -0,0 +1,93 @@
+/* NumberUpSupported.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 javax.print.attribute.SetOfIntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class NumberUpSupported extends SetOfIntegerSyntax
+ implements SupportedValuesAttribute
+{
+ /**
+ * Constructs a <code>NumberUp</code> object.
+ */
+ public NumberUpSupported(int member)
+ {
+ super(member);
+ }
+
+ /**
+ * Constructs a <code>NumberUp</code> object.
+ */
+ public NumberUpSupported(int[][] members)
+ {
+ super(members);
+ }
+
+ /**
+ * Constructs a <code>NumberUp</code> object.
+ */
+ public NumberUpSupported(int lowerBound, int upperBound)
+ {
+ super(lowerBound, upperBound);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>NumberUpSupported</code> itself
+ */
+ public final Class getCategory()
+ {
+ return NumberUpSupported.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "number-up-supported";
+ }
+}
diff --git a/javax/print/attribute/standard/OrientationRequested.java b/javax/print/attribute/standard/OrientationRequested.java
new file mode 100644
index 000000000..e6881b8f3
--- /dev/null
+++ b/javax/print/attribute/standard/OrientationRequested.java
@@ -0,0 +1,88 @@
+/* OrientationRequested.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 javax.print.attribute.DocAttribute;
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class OrientationRequested extends EnumSyntax
+ implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
+{
+ public static final OrientationRequested PORTRAIT =
+ new OrientationRequested(0);
+ public static final OrientationRequested LANDSCAPE =
+ new OrientationRequested(1);
+ public static final OrientationRequested REVERSE_LANDSCAPE =
+ new OrientationRequested(2);
+ public static final OrientationRequested REVERSE_PORTRAIT =
+ new OrientationRequested(3);
+
+ /**
+ * Constructs a <code>OrientationRequested</code> object.
+ */
+ protected OrientationRequested(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>OrientationRequested</code> itself
+ */
+ public final Class getCategory()
+ {
+ return OrientationRequested.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "orientation-requested";
+ }
+}
diff --git a/javax/print/attribute/standard/PDLOverrideSupported.java b/javax/print/attribute/standard/PDLOverrideSupported.java
new file mode 100644
index 000000000..46c51e70e
--- /dev/null
+++ b/javax/print/attribute/standard/PDLOverrideSupported.java
@@ -0,0 +1,82 @@
+/* PDLOverrideSupported.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 javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintServiceAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public class PDLOverrideSupported extends EnumSyntax
+ implements PrintServiceAttribute
+{
+ public static final PDLOverrideSupported NOT_ATTEMPTED =
+ new PDLOverrideSupported(0);
+ public static final PDLOverrideSupported ATTEMPTED =
+ new PDLOverrideSupported(0);
+
+ /**
+ * Constructs a <code>PDLOverrideSupported</code> object.
+ */
+ protected PDLOverrideSupported(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PDLOverrideSupported</code> itself
+ */
+ public final Class getCategory()
+ {
+ return PDLOverrideSupported.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "pdl-override-supported";
+ }
+}
diff --git a/javax/print/attribute/standard/PageRanges.java b/javax/print/attribute/standard/PageRanges.java
new file mode 100644
index 000000000..4bfd1359c
--- /dev/null
+++ b/javax/print/attribute/standard/PageRanges.java
@@ -0,0 +1,95 @@
+/* PageRanges.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 javax.print.attribute.DocAttribute;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+import javax.print.attribute.SetOfIntegerSyntax;
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class PageRanges extends SetOfIntegerSyntax
+ implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
+{
+ /**
+ * Constructs a <code>PageRanges</code> object.
+ */
+ public PageRanges(int member)
+ {
+ super(member);
+ }
+
+ /**
+ * Constructs a <code>PageRanges</code> object.
+ */
+ public PageRanges(int[][] members)
+ {
+ super(members);
+ }
+
+ /**
+ * Constructs a <code>PageRanges</code> object.
+ */
+ public PageRanges(int lowerBound, int upperBound)
+ {
+ super(lowerBound, upperBound);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PageRanges</code> itself
+ */
+ public final Class getCategory()
+ {
+ return PageRanges.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "page-ranges";
+ }
+}
diff --git a/javax/print/attribute/standard/PresentationDirection.java b/javax/print/attribute/standard/PresentationDirection.java
new file mode 100644
index 000000000..c3c01cdc2
--- /dev/null
+++ b/javax/print/attribute/standard/PresentationDirection.java
@@ -0,0 +1,95 @@
+/* PresentationDirection.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 javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class PresentationDirection extends EnumSyntax
+ implements PrintRequestAttribute, PrintJobAttribute
+{
+ public static final PresentationDirection TOBOTTOM_TORIGHT =
+ new PresentationDirection(0);
+ public static final PresentationDirection TOBOTTOM_TOLEFT =
+ new PresentationDirection(1);
+ public static final PresentationDirection TOTOP_TORIGHT =
+ new PresentationDirection(2);
+ public static final PresentationDirection TOTOP_TOLEFT =
+ new PresentationDirection(3);
+ public static final PresentationDirection TORIGHT_TOBOTTOM =
+ new PresentationDirection(4);
+ public static final PresentationDirection TORIGHT_TOTOP =
+ new PresentationDirection(5);
+ public static final PresentationDirection TOLEFT_TOBOTTOM =
+ new PresentationDirection(6);
+ public static final PresentationDirection TOLEFT_TOTOP =
+ new PresentationDirection(7);
+
+ /**
+ * Constructs a <code>PresentationDirection</code> object.
+ */
+ private PresentationDirection(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PresentationDirection</code> itself
+ */
+ public Class getCategory()
+ {
+ return PresentationDirection.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public String getName()
+ {
+ return "presentation-direction";
+ }
+}
diff --git a/javax/print/attribute/standard/PrintQuality.java b/javax/print/attribute/standard/PrintQuality.java
new file mode 100644
index 000000000..5dc508ba0
--- /dev/null
+++ b/javax/print/attribute/standard/PrintQuality.java
@@ -0,0 +1,83 @@
+/* PrintQuality.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 javax.print.attribute.DocAttribute;
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public class PrintQuality extends EnumSyntax
+ implements DocAttribute, PrintJobAttribute, PrintRequestAttribute
+{
+ public static final PrintQuality DRAFT = new PrintQuality(0);
+ public static final PrintQuality NORMAL = new PrintQuality(1);
+ public static final PrintQuality HIGH = new PrintQuality(2);
+
+ /**
+ * Constructs a <code>PrintQuality</code> object.
+ */
+ protected PrintQuality(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PrintQuality</code> itself
+ */
+ public final Class getCategory()
+ {
+ return PrintQuality.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "print-quality"
+ */
+ public final String getName()
+ {
+ return "print-quality";
+ }
+}
diff --git a/javax/print/attribute/standard/PrinterIsAcceptingJobs.java b/javax/print/attribute/standard/PrinterIsAcceptingJobs.java
new file mode 100644
index 000000000..c6152449d
--- /dev/null
+++ b/javax/print/attribute/standard/PrinterIsAcceptingJobs.java
@@ -0,0 +1,82 @@
+/* PrinterIsAcceptingJobs.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 javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintServiceAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public class PrinterIsAcceptingJobs extends EnumSyntax
+ implements PrintServiceAttribute
+{
+ public static final PrinterIsAcceptingJobs NOT_ACCEPTING_JOBS =
+ new PrinterIsAcceptingJobs(0);
+ public static final PrinterIsAcceptingJobs ACCEPTING_JOBS =
+ new PrinterIsAcceptingJobs(1);
+
+ /**
+ * Constructs a <code>PrinterIsAcceptingJobs</code> object.
+ */
+ protected PrinterIsAcceptingJobs(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PrinterIsAcceptingJobs</code> itself
+ */
+ public final Class getCategory()
+ {
+ return PrinterIsAcceptingJobs.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public final String getName()
+ {
+ return "printer-is-accepting-jobs";
+ }
+}
diff --git a/javax/print/attribute/standard/PrinterMoreInfo.java b/javax/print/attribute/standard/PrinterMoreInfo.java
new file mode 100644
index 000000000..5e9da05b8
--- /dev/null
+++ b/javax/print/attribute/standard/PrinterMoreInfo.java
@@ -0,0 +1,78 @@
+/* PrinterMoreInfo.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.net.URI;
+import javax.print.attribute.PrintServiceAttribute;
+import javax.print.attribute.URISyntax;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class PrinterMoreInfo extends URISyntax
+ implements PrintServiceAttribute
+{
+ /**
+ * Constructs a <code>PrinterMoreInfo</code> object.
+ */
+ public PrinterMoreInfo(URI uri)
+ {
+ super(uri);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PrinterMoreInfo</code> itself
+ */
+ public Class getCategory()
+ {
+ return PrinterMoreInfo.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public String getName()
+ {
+ return "printer-more-info";
+ }
+}
diff --git a/javax/print/attribute/standard/PrinterMoreInfoManufacturer.java b/javax/print/attribute/standard/PrinterMoreInfoManufacturer.java
new file mode 100644
index 000000000..894a35333
--- /dev/null
+++ b/javax/print/attribute/standard/PrinterMoreInfoManufacturer.java
@@ -0,0 +1,78 @@
+/* PrinterMoreInfoManufacturer.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.net.URI;
+import javax.print.attribute.PrintServiceAttribute;
+import javax.print.attribute.URISyntax;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class PrinterMoreInfoManufacturer extends URISyntax
+ implements PrintServiceAttribute
+{
+ /**
+ * Constructs a <code>PrinterMoreInfoManufacturer</code> object.
+ */
+ public PrinterMoreInfoManufacturer(URI uri)
+ {
+ super(uri);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PrinterMoreInfoManufacturer</code> itself
+ */
+ public Class getCategory()
+ {
+ return PrinterMoreInfoManufacturer.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public String getName()
+ {
+ return "printer-more-info-manufacturer";
+ }
+}
diff --git a/javax/print/attribute/standard/PrinterResolution.java b/javax/print/attribute/standard/PrinterResolution.java
new file mode 100644
index 000000000..bf2898c6e
--- /dev/null
+++ b/javax/print/attribute/standard/PrinterResolution.java
@@ -0,0 +1,80 @@
+/* PrinterMoreInfoManufacturer.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 javax.print.attribute.DocAttribute;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+import javax.print.attribute.ResolutionSyntax;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class PrinterResolution extends ResolutionSyntax
+ implements DocAttribute, PrintJobAttribute, PrintRequestAttribute
+{
+ /**
+ * Constructs a <code>PrinterResolution</code> object.
+ */
+ public PrinterResolution(int crossFeedResolution, int feedResolution,
+ int units)
+ {
+ super(crossFeedResolution, feedResolution, units);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PrinterResolution</code> itself
+ */
+ public Class getCategory()
+ {
+ return PrinterResolution.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public String getName()
+ {
+ return "printer-resolution";
+ }
+}
diff --git a/javax/print/attribute/standard/PrinterState.java b/javax/print/attribute/standard/PrinterState.java
new file mode 100644
index 000000000..cafa502cd
--- /dev/null
+++ b/javax/print/attribute/standard/PrinterState.java
@@ -0,0 +1,82 @@
+/* PrinterState.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 javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintServiceAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class PrinterState extends EnumSyntax
+ implements PrintServiceAttribute
+{
+ public static final PrinterState UNKNOWN = new PrinterState(0);
+ public static final PrinterState IDLE = new PrinterState(1);
+ public static final PrinterState PROCESSING = new PrinterState(2);
+ public static final PrinterState STOPPED = new PrinterState(3);
+
+ /**
+ * Constructs a <code>PrinterState</code> object.
+ */
+ protected PrinterState(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PrinterState</code> itself
+ */
+ public Class getCategory()
+ {
+ return PrinterState.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public String getName()
+ {
+ return "printer-state";
+ }
+}
diff --git a/javax/print/attribute/standard/PrinterStateReason.java b/javax/print/attribute/standard/PrinterStateReason.java
new file mode 100644
index 000000000..90a4be6bb
--- /dev/null
+++ b/javax/print/attribute/standard/PrinterStateReason.java
@@ -0,0 +1,138 @@
+/* PrinterStateReason.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 javax.print.attribute.Attribute;
+import javax.print.attribute.EnumSyntax;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public class PrinterStateReason extends EnumSyntax
+ implements Attribute
+{
+ public static final PrinterStateReason OTHER = new PrinterStateReason(0);
+ public static final PrinterStateReason MEDIA_NEEDED =
+ new PrinterStateReason(1);
+ public static final PrinterStateReason MEDIA_JAM = new PrinterStateReason(2);
+ public static final PrinterStateReason MOVING_TO_PAUSED =
+ new PrinterStateReason(3);
+ public static final PrinterStateReason PAUSED = new PrinterStateReason(4);
+ public static final PrinterStateReason SHUTDOWN = new PrinterStateReason(5);
+ public static final PrinterStateReason CONNECTING_TO_DEVICE =
+ new PrinterStateReason(6);
+ public static final PrinterStateReason TIMED_OUT = new PrinterStateReason(7);
+ public static final PrinterStateReason STOPPING = new PrinterStateReason(8);
+ public static final PrinterStateReason STOPPED_PARTLY =
+ new PrinterStateReason(9);
+ public static final PrinterStateReason TONER_LOW =
+ new PrinterStateReason(10);
+ public static final PrinterStateReason TONER_EMPTY =
+ new PrinterStateReason(11);
+ public static final PrinterStateReason SPOOL_AREA_FULL =
+ new PrinterStateReason(12);
+ public static final PrinterStateReason COVER_OPEN =
+ new PrinterStateReason(13);
+ public static final PrinterStateReason INTERLOCK_OPEN =
+ new PrinterStateReason(14);
+ public static final PrinterStateReason DOOR_OPEN =
+ new PrinterStateReason(15);
+ public static final PrinterStateReason INPUT_TRAY_MISSING =
+ new PrinterStateReason(16);
+ public static final PrinterStateReason MEDIA_LOW =
+ new PrinterStateReason(17);
+ public static final PrinterStateReason MEDIA_EMPTY =
+ new PrinterStateReason(18);
+ public static final PrinterStateReason OUTPUT_TRAY_MISSING =
+ new PrinterStateReason(19);
+ public static final PrinterStateReason OUTPUT_AREA_ALMOST_FULL =
+ new PrinterStateReason(20);
+ public static final PrinterStateReason OUTPUT_AREA_FULL =
+ new PrinterStateReason(21);
+ public static final PrinterStateReason MARKER_SUPPLY_LOW =
+ new PrinterStateReason(22);
+ public static final PrinterStateReason MARKER_SUPPLY_EMPTY =
+ new PrinterStateReason(23);
+ public static final PrinterStateReason MARKER_WASTE_ALMOST_FULL =
+ new PrinterStateReason(24);
+ public static final PrinterStateReason MARKER_WASTE_FULL =
+ new PrinterStateReason(25);
+ public static final PrinterStateReason FUSER_OVER_TEMP =
+ new PrinterStateReason(26);
+ public static final PrinterStateReason FUSER_UNDER_TEMP =
+ new PrinterStateReason(27);
+ public static final PrinterStateReason OPC_NEAR_EOL =
+ new PrinterStateReason(28);
+ public static final PrinterStateReason OPC_LIFE_OVER =
+ new PrinterStateReason(29);
+ public static final PrinterStateReason DEVELOPER_LOW =
+ new PrinterStateReason(30);
+ public static final PrinterStateReason DEVELOPER_EMPTY =
+ new PrinterStateReason(31);
+ public static final PrinterStateReason INTERPRETER_RESOURCE_UNAVAILABLE =
+ new PrinterStateReason(32);
+
+ /**
+ * Constructs a <code>PrinterStateReason</code> object.
+ */
+ protected PrinterStateReason(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PrintStateReason</code> itself
+ */
+ public final Class getCategory()
+ {
+ return PrinterStateReason.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "printer-state-reason"
+ */
+ public final String getName()
+ {
+ return "printer-state-reason";
+ }
+}
diff --git a/javax/print/attribute/standard/PrinterStateReasons.java b/javax/print/attribute/standard/PrinterStateReasons.java
new file mode 100644
index 000000000..171fa9119
--- /dev/null
+++ b/javax/print/attribute/standard/PrinterStateReasons.java
@@ -0,0 +1,69 @@
+/* PrinterStateReasons.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.HashMap;
+import javax.print.attribute.PrintServiceAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class PrinterStateReasons extends HashMap
+ implements PrintServiceAttribute
+{
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PrintStateReasons</code> itself
+ */
+ public Class getCategory()
+ {
+ return PrinterStateReasons.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "printer-state-reasons"
+ */
+ public String getName()
+ {
+ return "printer-state-reasons";
+ }
+}
diff --git a/javax/print/attribute/standard/PrinterURI.java b/javax/print/attribute/standard/PrinterURI.java
new file mode 100644
index 000000000..fcf0220c7
--- /dev/null
+++ b/javax/print/attribute/standard/PrinterURI.java
@@ -0,0 +1,78 @@
+/* PrinterURI.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.net.URI;
+import javax.print.attribute.PrintServiceAttribute;
+import javax.print.attribute.URISyntax;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class PrinterURI extends URISyntax
+ implements PrintServiceAttribute
+{
+ /**
+ * Constructs a <code>PrinterURI</code> object.
+ */
+ public PrinterURI(URI uri)
+ {
+ super(uri);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>PrinterURI</code> itself
+ */
+ public Class getCategory()
+ {
+ return PrinterURI.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "printer-uri"
+ */
+ public String getName()
+ {
+ return "printer-uri";
+ }
+}
diff --git a/javax/print/attribute/standard/ReferenceUriSchemesSupported.java b/javax/print/attribute/standard/ReferenceUriSchemesSupported.java
new file mode 100644
index 000000000..02e1d2be2
--- /dev/null
+++ b/javax/print/attribute/standard/ReferenceUriSchemesSupported.java
@@ -0,0 +1,94 @@
+/* ReferenceUriSchemesSupported.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 javax.print.attribute.Attribute;
+import javax.print.attribute.EnumSyntax;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public class ReferenceUriSchemesSupported extends EnumSyntax
+ implements Attribute
+{
+ public static final ReferenceUriSchemesSupported FTP =
+ new ReferenceUriSchemesSupported(0);
+ public static final ReferenceUriSchemesSupported HTTP =
+ new ReferenceUriSchemesSupported(1);
+ public static final ReferenceUriSchemesSupported HTTPS =
+ new ReferenceUriSchemesSupported(2);
+ public static final ReferenceUriSchemesSupported GOPHER =
+ new ReferenceUriSchemesSupported(3);
+ public static final ReferenceUriSchemesSupported NEWS =
+ new ReferenceUriSchemesSupported(4);
+ public static final ReferenceUriSchemesSupported NNTP =
+ new ReferenceUriSchemesSupported(5);
+ public static final ReferenceUriSchemesSupported WAIS =
+ new ReferenceUriSchemesSupported(6);
+ public static final ReferenceUriSchemesSupported FILE =
+ new ReferenceUriSchemesSupported(7);
+
+ /**
+ * Constructs a <code>ReferenceUriSchemeSupported</code> object.
+ */
+ protected ReferenceUriSchemesSupported(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>ReferenceUriSchemesSupported</code> itself
+ */
+ public final Class getCategory()
+ {
+ return ReferenceUriSchemesSupported.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "reference-uri-schemes-supported"
+ */
+ public final String getName()
+ {
+ return "reference-uri-schemes-supported";
+ }
+}
diff --git a/javax/print/attribute/standard/Severity.java b/javax/print/attribute/standard/Severity.java
new file mode 100644
index 000000000..d0bba476d
--- /dev/null
+++ b/javax/print/attribute/standard/Severity.java
@@ -0,0 +1,81 @@
+/* Severity.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 javax.print.attribute.Attribute;
+import javax.print.attribute.EnumSyntax;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class Severity extends EnumSyntax
+ implements Attribute
+{
+ public static final Severity REPORT = new Severity(0);
+ public static final Severity WARNING = new Severity(1);
+ public static final Severity ERROR = new Severity(2);
+
+ /**
+ * Constructs a <code>Severity</code> object.
+ */
+ protected Severity(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>Severity</code> itself
+ */
+ public Class getCategory()
+ {
+ return Severity.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "severity"
+ */
+ public String getName()
+ {
+ return "severity";
+ }
+}
diff --git a/javax/print/attribute/standard/SheetCollate.java b/javax/print/attribute/standard/SheetCollate.java
new file mode 100644
index 000000000..f1d78f775
--- /dev/null
+++ b/javax/print/attribute/standard/SheetCollate.java
@@ -0,0 +1,79 @@
+/* SheetCollate.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 javax.print.attribute.DocAttribute;
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class SheetCollate extends EnumSyntax
+ implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
+{
+ public static final SheetCollate UNCOLLATED = new SheetCollate(0);
+ public static final SheetCollate COLLATED = new SheetCollate(1);
+
+ protected SheetCollate(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>SheetCollate</code> itself
+ */
+ public Class getCategory()
+ {
+ return SheetCollate.class;
+ }
+
+ /**
+ * Returns name of this class.
+ *
+ * @return the string "sheet-collate"
+ */
+ public String getName()
+ {
+ return "sheet-collate";
+ }
+}
diff --git a/javax/print/attribute/standard/Sides.java b/javax/print/attribute/standard/Sides.java
new file mode 100644
index 000000000..cddff1b49
--- /dev/null
+++ b/javax/print/attribute/standard/Sides.java
@@ -0,0 +1,87 @@
+/* Sides.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 javax.print.attribute.DocAttribute;
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+
+/**
+ * @author Michael Koch (konqueror@gmx.de)
+ */
+public final class Sides extends EnumSyntax
+ implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
+{
+ public static final Sides ONE_SIDED = new Sides(0);
+ public static final Sides TWO_SIDED_LONG_EDGE = new Sides(1);
+ public static final Sides TWO_SIDED_SHORT_EDGE = new Sides(2);
+ public static final Sides DUPLEX = new Sides(3);
+ public static final Sides TUMBLE = new Sides(4);
+
+ /**
+ * Creates a <code>Sides</code> object.
+ *
+ * @param value the number of sides
+ */
+ protected Sides(int value)
+ {
+ super(value);
+ }
+
+ /**
+ * Returns category of this class.
+ *
+ * @return the class <code>Sides</code> itself
+ */
+ public Class getCategory()
+ {
+ return Sides.class;
+ }
+
+ /**
+ * Returns the name of this attribute.
+ *
+ * @return the name
+ */
+ public String getName()
+ {
+ return "sides";
+ }
+}