harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r454289 [7/22] - in /incubator/harmony/enhanced/classlib/trunk/modules/H-1609: ./ modules/ modules/applet/ modules/applet/src/ modules/applet/src/main/ modules/applet/src/main/java/ modules/applet/src/main/java/java/ modules/applet/src/main...
Date Mon, 09 Oct 2006 05:33:21 GMT
Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/ColorSupported.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/ColorSupported.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/ColorSupported.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/ColorSupported.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,65 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintServiceAttribute;
+
+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);
+    
+    
+    private static final String[] stringTable = { "false",
+                                                  "true" };
+
+    private static final ColorSupported[] enumValueTable = { NOT_SUPPORTED,
+                                                             SUPPORTED };
+
+    
+    protected ColorSupported(int value) {
+        super(value);
+    }
+    
+    
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes 
+       Class<? extends Attribute> getCategory() { */
+        return ColorSupported.class;
+    }
+    
+    protected EnumSyntax[] getEnumValueTable() {
+        return enumValueTable;
+    }
+    
+    public final String getName() {
+        return "color-supported";
+    }
+    
+    protected String[] getStringTable() {
+        return stringTable;
+    }
+    
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/ColorSupported.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Compression.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Compression.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Compression.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Compression.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,72 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.DocAttribute;
+import javax.print.attribute.EnumSyntax;
+
+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);
+    
+
+    private static final Compression[] enumValueTable = { NONE,
+                                                          DEFLATE,
+                                                          GZIP,
+                                                          COMPRESS };
+    
+    private static final String[] stringTable = { "none",
+                                                  "deflate",
+                                                  "gzip",
+                                                  "compress" };
+
+    
+    protected Compression(int value) {
+        super(value);
+    }
+    
+    
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes 
+       Class<? extends Attribute> getCategory() { */
+        return Compression.class;
+    }
+    
+    protected EnumSyntax[] getEnumValueTable() {
+        return (EnumSyntax[]) enumValueTable.clone();
+    }
+    
+    public final String getName() {
+        return "compression";
+    }
+    
+    protected String[] getStringTable() {
+        return (String[]) stringTable.clone();
+    }   
+    
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Compression.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Copies.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Copies.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Copies.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Copies.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,55 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+public final class Copies extends IntegerSyntax 
+    implements PrintJobAttribute, PrintRequestAttribute {
+
+
+    public Copies(int value) {
+        super(value, 1, Integer.MAX_VALUE);
+    }
+
+ 
+    public boolean equals(Object object) {
+
+        if ( !(object instanceof Copies) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes 
+       Class<? extends Attribute> getCategory() { */
+        return Copies.class;
+    }
+
+    public final String getName() {
+        return "copies";
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Copies.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/CopiesSupported.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/CopiesSupported.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/CopiesSupported.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/CopiesSupported.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,66 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.SetOfIntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+public final class CopiesSupported extends SetOfIntegerSyntax 
+    implements SupportedValuesAttribute {
+
+
+    public CopiesSupported(int value) {
+        super(value);
+        if (value < 1) {
+            throw new IllegalArgumentException("Value" + value +
+                                                "is less than 1");
+        }
+    }
+
+    public CopiesSupported(int lowerBound, int upperBound) {
+        super(lowerBound, upperBound);
+        if (lowerBound > upperBound) {
+            throw new IllegalArgumentException("Null range");
+        } else if (lowerBound < 1) {
+            throw new IllegalArgumentException("Lower bound" + lowerBound +
+                                                "is less than 1");
+        }
+    }
+
+
+    public boolean equals(Object object) {
+        if( !(object instanceof CopiesSupported) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return CopiesSupported.class;
+    }
+
+    public String getName() {
+        return "copies-supported";
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/CopiesSupported.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCompleted.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCompleted.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCompleted.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCompleted.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,55 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import java.util.Date;
+
+import javax.print.attribute.DateTimeSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+public final class DateTimeAtCompleted extends DateTimeSyntax 
+    implements PrintJobAttribute {
+
+    
+    public DateTimeAtCompleted(Date value) {
+        super (value);
+    }
+
+
+    public boolean equals (Object object) {
+
+        if ( !(object instanceof DateTimeAtCompleted) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return DateTimeAtCompleted.class;
+    }
+
+    public final String getName() {
+        return "date-time-at-completed";
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCompleted.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCreation.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCreation.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCreation.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCreation.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,56 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import java.util.Date;
+
+import javax.print.attribute.DateTimeSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+
+public final class DateTimeAtCreation extends DateTimeSyntax 
+    implements PrintJobAttribute {
+
+
+    public DateTimeAtCreation(Date value) {
+        super (value);
+    }
+
+
+    public boolean equals(Object object) {
+
+        if ( !(object instanceof DateTimeAtCreation) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return DateTimeAtCreation.class;
+    }
+
+    public final String getName() {
+        return "date-time-at-creation";
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCreation.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtProcessing.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtProcessing.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtProcessing.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtProcessing.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,55 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import java.util.Date;
+
+import javax.print.attribute.DateTimeSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+public final class DateTimeAtProcessing extends DateTimeSyntax 
+    implements PrintJobAttribute {
+
+
+    public DateTimeAtProcessing(Date value) {
+        super(value);
+    }
+
+
+    public boolean equals (Object object) {
+
+        if ( !(object instanceof DateTimeAtProcessing) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return DateTimeAtProcessing.class;
+    }
+
+    public final String getName() {
+        return "date-time-at-processing";
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtProcessing.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Destination.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Destination.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Destination.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Destination.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,55 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import java.net.URI;
+
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+import javax.print.attribute.URISyntax;
+
+public final class Destination extends URISyntax 
+    implements PrintJobAttribute, PrintRequestAttribute {
+
+
+    public Destination(URI uri) {
+        super(uri);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof Destination) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return Destination.class;
+    }
+
+    public final String getName() {
+        return "spool-data-destination";
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Destination.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DocumentName.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DocumentName.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DocumentName.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DocumentName.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,53 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import java.util.Locale;
+
+import javax.print.attribute.DocAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class DocumentName extends TextSyntax implements DocAttribute {
+
+
+    public DocumentName(String documentName, Locale locale) {
+        super (documentName, locale);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( ! (object instanceof DocumentName) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return DocumentName.class;
+    }
+
+    public final String getName() {
+        return "document-name";
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/DocumentName.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Fidelity.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Fidelity.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Fidelity.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Fidelity.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,66 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+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);
+
+
+    private static final Fidelity[] enumValueTable = { FIDELITY_TRUE,
+                                                       FIDELITY_FALSE };
+
+    private static final String[] stringTable = { "true",
+                                                  "false" };
+
+
+    protected Fidelity (int value) {
+        super(value);
+    }
+
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return Fidelity.class;
+    }
+
+    protected EnumSyntax[] getEnumValueTable() {
+        return enumValueTable;
+    }
+
+    public final String getName() {
+        return "ipp-attribute-fidelity";
+    }
+
+    protected String[] getStringTable() {
+        return stringTable;
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Fidelity.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Finishings.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Finishings.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Finishings.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Finishings.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,162 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+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;
+
+    /*
+     * Table values are obtained from RFC2911: Internet Printing Protocol/1.1: 
+     * Model and Semantics, section 4.2.6, http://ietf.org/rfc/rfc2911.txt?number=2911
+     */
+
+public class Finishings extends EnumSyntax 
+    implements DocAttribute, PrintJobAttribute, PrintRequestAttribute {
+
+
+    public static final Finishings NONE = new Finishings(3);
+
+    public static final Finishings STAPLE = new Finishings(4);
+
+    public static final Finishings COVER = new Finishings(6);
+
+    public static final Finishings BIND = new Finishings(7);
+
+    public static final Finishings SADDLE_STITCH = new Finishings(8);
+
+    public static final Finishings EDGE_STITCH = new Finishings(9);
+
+    public static final Finishings STAPLE_TOP_LEFT = new Finishings(20);
+
+    public static final Finishings STAPLE_BOTTOM_LEFT = new Finishings(21);
+
+    public static final Finishings STAPLE_TOP_RIGHT = new Finishings(22);
+
+    public static final Finishings STAPLE_BOTTOM_RIGHT = new Finishings(23);
+
+    public static final Finishings EDGE_STITCH_LEFT = new Finishings(24);
+   
+    public static final Finishings EDGE_STITCH_TOP = new Finishings(25);
+
+    public static final Finishings EDGE_STITCH_RIGHT = new Finishings(26);
+    
+    public static final Finishings EDGE_STITCH_BOTTOM = new Finishings(27);
+    
+    public static final Finishings STAPLE_DUAL_LEFT = new Finishings(28);
+
+    public static final Finishings STAPLE_DUAL_TOP = new Finishings(29);
+
+    public static final Finishings STAPLE_DUAL_RIGHT = new Finishings(30);
+
+    public static final Finishings STAPLE_DUAL_BOTTOM = new Finishings(31);
+
+    
+    private static final Finishings[] enumValueTable = { NONE,
+                                                         STAPLE,
+                                                         null,
+                                                         COVER,
+                                                         BIND,
+                                                         SADDLE_STITCH,
+                                                         EDGE_STITCH,
+                                                         null,
+                                                         null,
+                                                         null,
+                                                         null,
+                                                         null,
+                                                         null,
+                                                         null,
+                                                         null,
+                                                         null,
+                                                         null,
+                                                         STAPLE_TOP_LEFT,
+                                                         STAPLE_BOTTOM_LEFT,
+                                                         STAPLE_TOP_RIGHT,
+                                                         STAPLE_BOTTOM_RIGHT,
+                                                         EDGE_STITCH_LEFT,
+                                                         EDGE_STITCH_TOP,
+                                                         EDGE_STITCH_RIGHT,
+                                                         EDGE_STITCH_BOTTOM,
+                                                         STAPLE_DUAL_LEFT,
+                                                         STAPLE_DUAL_TOP,
+                                                         STAPLE_DUAL_RIGHT,
+                                                         STAPLE_DUAL_BOTTOM };
+    
+
+    private static final String[] stringTable = { "none",
+                                                  "staple",
+                                                  null,
+                                                  "cover",
+                                                  "bind",
+                                                  "saddle-stitch",
+                                                  "edge-stitch",
+                                                  null,
+                                                  null,
+                                                  null,
+                                                  null,
+                                                  null,
+                                                  null,
+                                                  null,
+                                                  null,
+                                                  null,
+                                                  null,
+                                                  "staple-top-left",
+                                                  "staple-bottom-left",
+                                                  "staple-top-right",
+                                                  "staple-bottom-right",
+                                                  "edge-stitch-left",
+                                                  "edge-stitch-top",
+                                                  "edge-stitch-right",
+                                                  "edge-stitch-bottom",
+                                                  "staple-dual-left",
+                                                  "staple-dual-top",
+                                                  "staple-dual-right",
+                                                  "staple-dual-bottom" };
+    
+    protected Finishings(int value){
+        super(value);
+    }
+    
+    
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes 
+       Class<? extends Attribute> getCategory() { */
+        return Finishings.class;
+    }
+    
+    protected EnumSyntax[] getEnumValueTable() {
+        return (EnumSyntax[]) enumValueTable.clone();
+    }
+    
+    public final String getName() {
+        return "finishings";
+    }
+    
+    protected int getOffset() {
+        return 3;
+    }
+    
+    protected String[] getStringTable() {
+        return (String[]) stringTable.clone();
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/Finishings.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobHoldUntil.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobHoldUntil.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobHoldUntil.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobHoldUntil.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,57 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import java.util.Date;
+
+import javax.print.attribute.DateTimeSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+public final class JobHoldUntil extends DateTimeSyntax 
+    implements PrintJobAttribute, PrintRequestAttribute {
+
+
+    public JobHoldUntil(Date date){
+        super(date);
+    }
+
+
+    public boolean equals(Object object) {
+
+        if ( !(object instanceof JobHoldUntil) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobHoldUntil.class;
+    }
+
+    public final String getName() {
+        return "job-hold-until";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobHoldUntil.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressions.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressions.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressions.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressions.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,54 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+public final class JobImpressions extends IntegerSyntax 
+    implements PrintJobAttribute, PrintRequestAttribute {
+
+
+    public JobImpressions(int value) {
+        super(value, 0, Integer.MAX_VALUE);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobImpressions) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobImpressions.class;
+    }
+
+    public final String getName() {
+        return "job-impressions";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressions.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsCompleted.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsCompleted.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsCompleted.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsCompleted.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,53 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+public final class JobImpressionsCompleted extends IntegerSyntax 
+    implements PrintJobAttribute {
+
+
+    public JobImpressionsCompleted(int value) {
+        super(value, 0, Integer.MAX_VALUE);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobImpressionsCompleted) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobImpressionsCompleted.class;
+    }
+
+    public final String getName() {
+        return "job-impressions-completed";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsCompleted.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsSupported.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsSupported.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsSupported.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsSupported.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,60 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.SetOfIntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+public final class JobImpressionsSupported extends SetOfIntegerSyntax 
+    implements SupportedValuesAttribute {
+
+
+    public JobImpressionsSupported(int lowerBound, int upperBound) {
+        super(lowerBound, upperBound);
+        if (lowerBound > upperBound) {
+            throw new IllegalArgumentException("Null range: lowerBound " +
+                                                            "> upperBound");
+        } else if (lowerBound < 0) {
+            throw new IllegalArgumentException("Lower bound " + lowerBound +
+                                                            " is less than 0");
+        }
+    }
+
+
+    public boolean equals(Object object) {
+        if( !(object instanceof JobImpressionsSupported) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobImpressionsSupported.class;
+    }
+
+    public String getName() {
+        return "job-impressions-supported";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsSupported.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctets.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctets.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctets.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctets.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,54 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+public final class JobKOctets extends IntegerSyntax 
+    implements PrintJobAttribute, PrintRequestAttribute {
+
+
+    public JobKOctets(int value) {
+        super(value, 0, Integer.MAX_VALUE);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobKOctets) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobKOctets.class;
+    }
+
+    public final String getName() {
+        return "job-k-octets";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctets.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsProcessed.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsProcessed.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsProcessed.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsProcessed.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,53 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+public final class JobKOctetsProcessed extends IntegerSyntax 
+    implements PrintJobAttribute {
+
+
+    public JobKOctetsProcessed(int value) {
+        super(value, 0, Integer.MAX_VALUE);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobKOctetsProcessed) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobKOctetsProcessed.class;
+    }
+
+    public final String getName() {
+        return "job-k-octets-processed";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsProcessed.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsSupported.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsSupported.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsSupported.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsSupported.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,60 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.SetOfIntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+public final class JobKOctetsSupported extends SetOfIntegerSyntax 
+    implements SupportedValuesAttribute {
+
+
+    public JobKOctetsSupported(int lowerBound, int upperBound) {
+        super(lowerBound, upperBound);
+        if (lowerBound > upperBound) {
+            throw new IllegalArgumentException("Null range: lowerBound " +
+                                                            "> upperBound");
+        } else if (lowerBound < 0) {
+            throw new IllegalArgumentException("Lower bound " + lowerBound +
+                                                            " is less than 0");
+        }
+    }
+
+
+    public boolean equals(Object object) {
+        if( !(object instanceof JobKOctetsSupported) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobKOctetsSupported.class;
+    }
+
+    public String getName() {
+        return "job-k-octets-supported";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobKOctetsSupported.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheets.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheets.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheets.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheets.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,54 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+public class JobMediaSheets extends IntegerSyntax 
+    implements PrintJobAttribute, PrintRequestAttribute {
+
+
+    public JobMediaSheets(int value) {
+        super(value, 0, Integer.MAX_VALUE);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobMediaSheets) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobMediaSheets.class;
+    }
+
+    public final String getName() {
+        return "job-media-sheets";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheets.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsCompleted.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsCompleted.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsCompleted.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsCompleted.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,52 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+public final class JobMediaSheetsCompleted extends IntegerSyntax 
+    implements PrintJobAttribute {
+
+
+    public JobMediaSheetsCompleted(int value) {
+        super(value, 0, Integer.MAX_VALUE);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobMediaSheetsCompleted) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobMediaSheetsCompleted.class;
+    }
+
+    public final String getName() {
+        return "job-media-sheets-completed";
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsCompleted.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsSupported.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsSupported.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsSupported.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsSupported.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,60 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.SetOfIntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+public final class JobMediaSheetsSupported extends SetOfIntegerSyntax 
+    implements SupportedValuesAttribute {
+
+
+    public JobMediaSheetsSupported(int lowerBound, int upperBound) {
+        super(lowerBound, upperBound);
+        if (lowerBound > upperBound) {
+            throw new IllegalArgumentException("Null range: lowerBound " +
+                                                            "> upperBound");
+        } else if (lowerBound < 0) {
+            throw new IllegalArgumentException("Lower bound " + lowerBound +
+                                                            " is less then 0");
+        }
+    }
+
+
+    public boolean equals(Object object) {
+        if( !(object instanceof JobMediaSheetsSupported) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobMediaSheetsSupported.class;
+    }
+
+    public String getName() {
+        return "job-media-sheets-supported";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMediaSheetsSupported.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMessageFromOperator.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMessageFromOperator.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMessageFromOperator.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMessageFromOperator.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,55 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import java.util.Locale;
+
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class JobMessageFromOperator extends TextSyntax 
+    implements PrintJobAttribute {
+
+
+    public JobMessageFromOperator(String message, Locale locale) {
+        super(message, locale);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobMessageFromOperator) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobMessageFromOperator.class;
+    }
+
+    public final String getName() {
+        return "job-message-from-operator";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobMessageFromOperator.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobName.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobName.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobName.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobName.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,56 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import java.util.Locale;
+
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class JobName extends TextSyntax 
+    implements PrintJobAttribute, PrintRequestAttribute {
+
+
+    public JobName(String jobName, Locale locale) {
+        super(jobName, locale);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobName) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobName.class;
+    }
+
+    public final String getName() {
+        return "job-name";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobName.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobOriginatingUserName.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobOriginatingUserName.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobOriginatingUserName.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobOriginatingUserName.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,55 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import java.util.Locale;
+
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.TextSyntax;
+
+public final class JobOriginatingUserName extends TextSyntax 
+    implements PrintJobAttribute {
+
+
+    public JobOriginatingUserName(String jobName, Locale locale) {
+        super(jobName, locale);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobOriginatingUserName) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobOriginatingUserName.class;
+    }
+
+    public final String getName() {
+        return "job-originating-user-name";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobOriginatingUserName.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPriority.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPriority.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPriority.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPriority.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,54 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+public final class JobPriority extends IntegerSyntax 
+    implements PrintJobAttribute, PrintRequestAttribute {
+
+
+    public JobPriority(int value) {
+        super(value, 1, 100);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobPriority) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobPriority.class;
+    }
+
+    public final String getName() {
+        return "job-priority";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPriority.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPrioritySupported.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPrioritySupported.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPrioritySupported.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPrioritySupported.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,53 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.IntegerSyntax;
+import javax.print.attribute.SupportedValuesAttribute;
+
+public final class JobPrioritySupported extends IntegerSyntax 
+    implements SupportedValuesAttribute {
+
+
+    public JobPrioritySupported(int value) {
+        super(value, 1, 100);
+    }
+
+
+    public boolean equals(Object object) {
+        if ( !(object instanceof JobPrioritySupported) ) {
+            return false;
+        }
+        return super.equals(object);
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobPrioritySupported.class;
+    }
+
+    public final String getName() {
+        return "job-priority-supported";
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobPrioritySupported.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobSheets.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobSheets.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobSheets.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobSheets.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,67 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+import javax.print.attribute.PrintRequestAttribute;
+
+public class JobSheets extends EnumSyntax 
+    implements PrintJobAttribute, PrintRequestAttribute {
+
+
+    public static final JobSheets NONE = new JobSheets(0);
+
+    public static final JobSheets STANDARD = new JobSheets(1);
+
+
+    private static final JobSheets[] enumValueTable = { NONE,
+                                                        STANDARD };
+
+    private static final String[] stringTable = { "none",
+                                                  "standard" };
+
+
+    protected JobSheets(int value) {
+        super(value);
+    }
+
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes
+       Class<? extends Attribute> getCategory() { */
+        return JobSheets.class;
+    }
+
+    protected EnumSyntax[] getEnumValueTable() {
+        return (EnumSyntax[]) enumValueTable.clone();
+    }
+
+    public final String getName() {
+        return "job-sheets";
+    }
+
+    protected String[] getStringTable() {
+        return (String[]) stringTable.clone();
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobSheets.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobState.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobState.java?view=auto&rev=454289
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobState.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobState.java Sun Oct  8 22:33:09 2006
@@ -0,0 +1,100 @@
+/*
+ *  Copyright 2005 - 2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Elena V. Sayapina 
+ * @version $Revision: 1.5 $ 
+ */ 
+
+package javax.print.attribute.standard;
+
+import javax.print.attribute.EnumSyntax;
+import javax.print.attribute.PrintJobAttribute;
+
+/*
+ * @author esayapin
+ */
+
+/*
+ * Table values are obtained from RFC2911: Internet Printing Protocol/1.1: 
+ * Model and Semantics, section 4.3.7, http://ietf.org/rfc/rfc2911.txt?number=2911
+ */
+
+public class JobState extends EnumSyntax implements PrintJobAttribute {
+
+
+    public static final JobState UNKNOWN = new JobState(0);
+
+    public static final JobState PENDING = new JobState(3);
+
+    public static final JobState PENDING_HELD = new JobState(4);
+    
+    public static final JobState PROCESSING = new JobState(5);
+
+    public static final JobState PROCESSING_STOPPED = new JobState(6);
+    
+    public static final JobState CANCELED = new JobState(7);
+    
+    public static final JobState ABORTED = new JobState(8);
+
+    public static final JobState COMPLETED = new JobState(9);
+
+    private static final JobState[] enumValueTable = { UNKNOWN,
+                                                       null,
+                                                       null,
+                                                       PENDING,
+                                                       PENDING_HELD,
+                                                       PROCESSING,
+                                                       PROCESSING_STOPPED,
+                                                       CANCELED,
+                                                       ABORTED,
+                                                       COMPLETED };
+
+    private static final String[] stringTable = { "unknown",
+                                                  null,
+                                                  null,
+                                                  "pending",
+                                                  "pending-held",
+                                                  "processing",
+                                                  "processing-stopped",
+                                                  "canceled",
+                                                  "aborted",
+                                                  "completed" };
+    
+    protected JobState(int value) {
+        super(value);
+    }
+
+
+    protected EnumSyntax[] getEnumValueTable() {
+        return enumValueTable;
+    }
+
+    public final Class getCategory() {
+    /* 1.5 support requires the following changes 
+       Class<? extends Attribute> getCategory() { */
+        return JobState.class;
+    }
+
+    public final String getName() {
+        return "job-state";
+    }
+
+    protected String[] getStringTable() {
+        return stringTable;
+    }
+
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/H-1609/modules/print/src/main/java/common/javax/print/attribute/standard/JobState.java
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message