author | serb |
Thu, 31 Aug 2017 15:47:34 -0700 | |
changeset 47196 | a3211bb4daff |
parent 46847 | 3720a014bb74 |
permissions | -rw-r--r-- |
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
1 |
/* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
2 |
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
4 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
7 |
* published by the Free Software Foundation. Oracle designates this |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
8 |
* particular file as subject to the "Classpath" exception as provided |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
10 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
15 |
* accompanied this code). |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
16 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License version |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
20 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
22 |
* or visit www.oracle.com if you need additional information or have any |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
23 |
* questions. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
24 |
*/ |
2 | 25 |
|
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
26 |
/** |
47196 | 27 |
* Package {@code javax.print.attribute.standard} contains classes for specific |
28 |
* printing attributes. The parent package, <a href="../package-summary.html"> |
|
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
29 |
* javax.print.attribute</a>, provides classes and interfaces that describe the |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
30 |
* types of Java Print Service attributes and how they can be collected into |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
31 |
* attribute sets. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
32 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
33 |
* An attribute represents a printing feature that a print service can provide. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
34 |
* For each attribute, a print service either does or does not support the |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
35 |
* attribute. For each possible value of a supported attribute, a print service |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
36 |
* either does or does not support the value. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
37 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
38 |
* The API requires every print service to support certain attributes; other |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
39 |
* attributes are optional and the service can choose whether or not to support |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
40 |
* them. Each attribute has a set of values that it accepts. The API requires |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
41 |
* every print service to support certain values for certain attributes; other |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
42 |
* attribute values are optional and the service can choose whether or not to |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
43 |
* support them. These support requirements are recorded in the documentation |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
44 |
* for each attribute class. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
45 |
* <p> |
47196 | 46 |
* Package {@code javax.print.attribute.standard} contains standard printing |
47 |
* attributes and standard printing attribute values that are widely used in the |
|
48 |
* printing domain. A print service vendor can provide new vendor-specific |
|
49 |
* printing attributes in addition to the standard ones. A vendor can also |
|
50 |
* provide vendor-specific extensions (subclasses) of the standard printing |
|
51 |
* attributes -- for example, to provide additional vendor-specific values for |
|
52 |
* an existing standard attribute. Of course, if a vendor wants clients to be |
|
53 |
* able to use any added or extended attributes, the vendor must publish the new |
|
54 |
* attribute classes. |
|
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
55 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
56 |
* Many of the standard attribute classes extend one of the abstract syntax |
47196 | 57 |
* classes of the {@code javax.print.attribute} package. These abstract syntax |
58 |
* classes each represent a different type. The <a href="../EnumSyntax.html"> |
|
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
59 |
* EnumSyntax</a> class, for example, represents a type-safe enumeration. The |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
60 |
* abstract syntax class provides a wrapper for the attribute value. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
61 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
62 |
* If an attribute class extends {@code EnumSyntax}, and the value of the |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
63 |
* attribute is an IPP-compatible value, the attribute's {@code toString} method |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
64 |
* returns the IPP string representation of the attribute value, such as |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
65 |
* "processing-stopped" for the <a href="JobState.html">JobState</a> attribute. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
66 |
* However, because the {@code EnumSyntax} class is extensible, vendors can |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
67 |
* define their own attribute values. If an attribute uses the |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
68 |
* {@code EnumSyntax} class and is set to one of these vendor-defined values |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
69 |
* then the {@code toString} method will not return the IPP string |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
70 |
* representation of the value. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
71 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
72 |
* A printing client application will typically not need to use all the printing |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
73 |
* attribute classes in package javax.print.attribute.standard, just the ones |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
74 |
* that pertain to the application. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
75 |
* <p> |
47196 | 76 |
* The attribute classes in package {@code javax.print.attribute.standard} are |
77 |
* based on the Internet Printing Protocol (IPP) attributes as defined in the |
|
78 |
* Internet RFC document, <i>RFC 2911 Internet Printing Protocol/1.1: Model and |
|
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
79 |
* Semantics</i> dated September 2000. See |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
80 |
* <a href="http://www.ietf.org/rfc/rfc2911.txt">RFC 2911</a> for more |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
81 |
* information. The descriptive text for each attribute class was taken largely |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
82 |
* from the above documents. The above authors' contribution to the API is |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
83 |
* gratefully acknowledged. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
84 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
85 |
* <h3>Attribute Organization</h3> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
86 |
* There are five kinds of printing attributes: doc attributes, print request |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
87 |
* attributes, print job attributes, print service attributes, and |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
88 |
* supported-values attributes. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
89 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
90 |
* <h4>Doc Attributes</h4> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
91 |
* Doc attributes specify the characteristics of an individual doc and the print |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
92 |
* job settings to be applied to an individual doc. A doc attribute class |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
93 |
* implements interface <a href="../DocAttribute.html">DocAttribute</a>. A doc |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
94 |
* attribute can appear in a <a href="../DocAttributeSet.html"> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
95 |
* DocAttributeSet</a>. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
96 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
97 |
* <h4>Print Request Attributes</h4> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
98 |
* Print request attributes specify the settings to be applied to a whole print |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
99 |
* job and to all the docs in the print job. A print request attribute class |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
100 |
* implements interface <a href="../PrintRequestAttribute.html"> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
101 |
* PrintRequestAttribute</a>. A print request attribute can appear in a |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
102 |
* <a href="../PrintRequestAttributeSet.html">PrintRequestAttributeSet</a>. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
103 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
104 |
* Some attributes are doc attributes but not print request attributes and may |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
105 |
* only be specified at the doc level. Some attributes are print request |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
106 |
* attributes but not doc attributes and may only be specified at the Print |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
107 |
* Request level. Some attributes are both doc attributes and print request |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
108 |
* attributes and may be specified either at the doc level or at the Print |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
109 |
* Request level. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
110 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
111 |
* When specified at the doc level, an attribute applies just to that one doc. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
112 |
* When specified at the Print Request level, an attribute applies to the whole |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
113 |
* job, including all the docs in the job. However, an attribute specified at |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
114 |
* the doc level overrides an attribute in the same category specified at the |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
115 |
* Print Request level. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
116 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
117 |
* <h4>Print Job Attributes</h4> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
118 |
* Print job attributes report the status of a Print Job. A print job attribute |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
119 |
* class implements interface <a href="../PrintJobAttribute.html"> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
120 |
* PrintJobAttribute</a>. A print job attribute can appear in a |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
121 |
* <a href="../PrintJobAttributeSet.html">PrintJobAttributeSet</a>. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
122 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
123 |
* Some attributes are both print request attributes and print job attributes; a |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
124 |
* client may include such attributes in a Print Request to specify |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
125 |
* characteristics for the ensuing Print Job, and those attributes then also |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
126 |
* appear in the Print Job's attribute set. Some attributes are print job |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
127 |
* attributes but not print request attributes; the print service itself adds |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
128 |
* these attributes to the Print Job's attribute set. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
129 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
130 |
* <h4>Print Service Attributes</h4> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
131 |
* Print service attributes report the status of a print service. A print |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
132 |
* service attribute class implements interface |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
133 |
* <a href="../PrintServiceAttribute.html">PrintServiceAttribute</a>. A print |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
134 |
* service attribute can appear in a <a href="../PrintServiceAttributeSet.html"> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
135 |
* PrintServiceAttributeSet</a>. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
136 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
137 |
* <h4>Supported-Values Attributes</h4> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
138 |
* A supported-value attribute indicates the legal values for another attribute |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
139 |
* that a print service supports. A supported-values attribute class implements |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
140 |
* interface <a href="../SupportedValuesAttribute.html"> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
141 |
* SupportedValuesAttribute</a>. However, supported-values attributes never |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
142 |
* appear in attribute sets, so there is no restricted |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
143 |
* <a href="../AttributeSet.html">AttributeSet</a> subinterface for them. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
144 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
145 |
* <h4>Attribute Table</h4> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
146 |
* The table below lists all the printing attributes. The table shows the |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
147 |
* tagging interfaces each attribute class implements in addition to interface |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
148 |
* <a href="../Attribute.html"> Attribute</a>, thus indicating how each |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
149 |
* attribute is used in the API. For each doc attribute and print request |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
150 |
* attribute, the column marked "SupportedValuesAttribute" lists the |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
151 |
* supported-values attribute class, if any, with which a print service |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
152 |
* indicates the supported values for that attribute category. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
153 |
* <table border=1 cellpadding=2 cellspacing=1 summary="Lists all printing |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
154 |
* attributes as described in above text"> |
47196 | 155 |
* <tr style="background-color:#E5E5E5"> |
156 |
* <th valign="bottom">Attribute Class |
|
157 |
* <th valign="bottom">Doc<br>Attribute |
|
158 |
* <th valign="bottom">Print<br>Request<br>Attribute |
|
159 |
* <th valign="bottom">Print<br>Job<br>Attribute |
|
160 |
* <th valign="bottom">Print<br>Service<br>Attribute |
|
161 |
* <th valign="bottom">SupportedValuesAttribute |
|
162 |
* <tr> |
|
163 |
* <td><a href="Compression.html">Compression</a> |
|
164 |
* <td align="center">X |
|
165 |
* <td> |
|
166 |
* <td> |
|
167 |
* <td> |
|
168 |
* <td> |
|
169 |
* <tr> |
|
170 |
* <td><a href="DocumentName.html">DocumentName</a> |
|
171 |
* <td align="center">X |
|
172 |
* <td> |
|
173 |
* <td> |
|
174 |
* <td> |
|
175 |
* <td> |
|
176 |
* <tr> |
|
177 |
* <td><a href="Chromaticity.html">Chromaticity</a> |
|
178 |
* <td align="center">X |
|
179 |
* <td align="center">X |
|
180 |
* <td align="center">X |
|
181 |
* <td> |
|
182 |
* <td> |
|
183 |
* <tr> |
|
184 |
* <td><a href="Copies.html">Copies</a> |
|
185 |
* <td> |
|
186 |
* <td align="center">X |
|
187 |
* <td align="center">X |
|
188 |
* <td> |
|
189 |
* <td><a href="CopiesSupported.html">CopiesSupported</a> |
|
190 |
* <tr> |
|
191 |
* <td><a href="Finishings.html">Finishings</a> |
|
192 |
* <td align="center">X |
|
193 |
* <td align="center">X |
|
194 |
* <td align="center">X |
|
195 |
* <td> |
|
196 |
* <td> |
|
197 |
* <tr> |
|
198 |
* <td><a href="JobHoldUntil.html">JobHoldUntil</a> |
|
199 |
* <td> |
|
200 |
* <td align="center">X |
|
201 |
* <td align="center">X |
|
202 |
* <td> |
|
203 |
* <td> |
|
204 |
* <tr> |
|
205 |
* <td><a href="JobImpressions.html">JobImpressions</a> |
|
206 |
* <td> |
|
207 |
* <td align="center">X |
|
208 |
* <td align="center">X |
|
209 |
* <td> |
|
210 |
* <td><a href="JobImpressionsSupported.html">JobImpressionsSupported</a> |
|
211 |
* <tr> |
|
212 |
* <td><a href="JobKOctets.html">JobKOctets</a> |
|
213 |
* <td> |
|
214 |
* <td align="center">X |
|
215 |
* <td align="center">X |
|
216 |
* <td> |
|
217 |
* <td><a href="JobKOctetsSupported.html">JobKOctetsSupported</a> |
|
218 |
* <tr> |
|
219 |
* <td><a href="JobMediaSheets.html">JobMediaSheets</a> |
|
220 |
* <td> |
|
221 |
* <td align="center">X |
|
222 |
* <td align="center">X |
|
223 |
* <td> |
|
224 |
* <td><a href="JobMediaSheetsSupported.html">JobMediaSheetsSupported</a> |
|
225 |
* <tr> |
|
226 |
* <td><a href="JobName.html">JobName</a> |
|
227 |
* <td> |
|
228 |
* <td align="center">X |
|
229 |
* <td align="center">X |
|
230 |
* <td> |
|
231 |
* <td> |
|
232 |
* <tr> |
|
233 |
* <td><a href="JobPriority.html">JobPriority</a> |
|
234 |
* <td> |
|
235 |
* <td align="center">X |
|
236 |
* <td align="center">X |
|
237 |
* <td> |
|
238 |
* <td><a href="JobPrioritySupported.html">JobPrioritySupported</a> |
|
239 |
* <tr> |
|
240 |
* <td><a href="JobSheets.html">JobSheets</a> |
|
241 |
* <td> |
|
242 |
* <td align="center">X |
|
243 |
* <td align="center">X |
|
244 |
* <td> |
|
245 |
* <td> |
|
246 |
* <tr> |
|
247 |
* <td><a href="Media.html">Media</a> |
|
248 |
* <td align="center">X |
|
249 |
* <td align="center">X |
|
250 |
* <td align="center">X |
|
251 |
* <td> |
|
252 |
* <td> |
|
253 |
* <tr> |
|
254 |
* <td><a href="MediaSize.html">MediaSize</a> |
|
255 |
* <td> |
|
256 |
* <td> |
|
257 |
* <td> |
|
258 |
* <td> |
|
259 |
* <td> |
|
260 |
* <tr> |
|
261 |
* <td><a href="MultipleDocumentHandling.html">MultipleDocumentHandling</a> |
|
262 |
* <td> |
|
263 |
* <td align="center">X |
|
264 |
* <td align="center">X |
|
265 |
* <td> |
|
266 |
* <td> |
|
267 |
* <tr> |
|
268 |
* <td><a href="NumberUp.html">NumberUp</a> |
|
269 |
* <td align="center">X |
|
270 |
* <td align="center">X |
|
271 |
* <td align="center">X |
|
272 |
* <td> |
|
273 |
* <td><a href="NumberUpSupported.html">NumberUpSupported</a> |
|
274 |
* <tr> |
|
275 |
* <td><a href="OrientationRequested.html">OrientationRequested</a> |
|
276 |
* <td align="center">X |
|
277 |
* <td align="center">X |
|
278 |
* <td align="center">X |
|
279 |
* <td> |
|
280 |
* <td> |
|
281 |
* <tr> |
|
282 |
* <td><a href="PageRanges.html">PageRanges</a> |
|
283 |
* <td align="center">X |
|
284 |
* <td align="center">X |
|
285 |
* <td align="center">X |
|
286 |
* <td> |
|
287 |
* <td> |
|
288 |
* <tr> |
|
289 |
* <td><a href="PresentationDirection.html">PresentationDirection</a> |
|
290 |
* <td align="center">X |
|
291 |
* <td align="center">X |
|
292 |
* <td align="center">X |
|
293 |
* <td> |
|
294 |
* <td> |
|
295 |
* <tr> |
|
296 |
* <td><a href="PrinterResolution.html">PrinterResolution</a> |
|
297 |
* <td align="center">X |
|
298 |
* <td align="center">X |
|
299 |
* <td align="center">X |
|
300 |
* <td> |
|
301 |
* <td> |
|
302 |
* <tr> |
|
303 |
* <td><a href="PrintQuality.html">PrintQuality</a> |
|
304 |
* <td align="center">X |
|
305 |
* <td align="center">X |
|
306 |
* <td align="center">X |
|
307 |
* <td> |
|
308 |
* <td> |
|
309 |
* <tr> |
|
310 |
* <td><a href="RequestingUserName.html">RequestingUserName</a> |
|
311 |
* <td> |
|
312 |
* <td align="center">X |
|
313 |
* <td align="center">X |
|
314 |
* <td> |
|
315 |
* <td> |
|
316 |
* <tr> |
|
317 |
* <td><a href="SheetCollate.html">SheetCollate</a> |
|
318 |
* <td align="center">X |
|
319 |
* <td align="center">X |
|
320 |
* <td align="center">X |
|
321 |
* <td> |
|
322 |
* <td> |
|
323 |
* <tr> |
|
324 |
* <td><a href="Sides.html">Sides</a> |
|
325 |
* <td align="center">X |
|
326 |
* <td align="center">X |
|
327 |
* <td align="center">X |
|
328 |
* <td> |
|
329 |
* <td> |
|
330 |
* <tr> |
|
331 |
* <td><a href="DateTimeAtCompleted.html">DateTimeAtCompleted</a> |
|
332 |
* <td> |
|
333 |
* <td> |
|
334 |
* <td align="center">X |
|
335 |
* <td> |
|
336 |
* <td> |
|
337 |
* <tr> |
|
338 |
* <td><a href="DateTimeAtCreation.html">DateTimeAtCreation</a> |
|
339 |
* <td> |
|
340 |
* <td> |
|
341 |
* <td align="center">X |
|
342 |
* <td> |
|
343 |
* <td> |
|
344 |
* <tr> |
|
345 |
* <td><a href="DateTimeAtProcessing.html">DateTimeAtProcessing</a> |
|
346 |
* <td> |
|
347 |
* <td> |
|
348 |
* <td align="center">X |
|
349 |
* <td> |
|
350 |
* <td> |
|
351 |
* <tr> |
|
352 |
* <td><a href="JobImpressionsCompleted.html">JobImpressionsCompleted</a> |
|
353 |
* <td> |
|
354 |
* <td> |
|
355 |
* <td align="center">X |
|
356 |
* <td> |
|
357 |
* <td> |
|
358 |
* <tr> |
|
359 |
* <td><a href="JobKOctetsProcessed.html">JobKOctetsProcessed</a> |
|
360 |
* <td> |
|
361 |
* <td> |
|
362 |
* <td align="center">X |
|
363 |
* <td> |
|
364 |
* <td> |
|
365 |
* <tr> |
|
366 |
* <td><a href="JobMediaSheetsCompleted.html">JobMediaSheetsCompleted</a> |
|
367 |
* <td> |
|
368 |
* <td> |
|
369 |
* <td align="center">X |
|
370 |
* <td> |
|
371 |
* <td> |
|
372 |
* <tr> |
|
373 |
* <td><a href="JobMessageFromOperator.html">JobMessageFromOperator</a> |
|
374 |
* <td> |
|
375 |
* <td> |
|
376 |
* <td align="center">X |
|
377 |
* <td> |
|
378 |
* <td> |
|
379 |
* <tr> |
|
380 |
* <td><a href="JobOriginatingUserName.html">JobOriginatingUserName</a> |
|
381 |
* <td> |
|
382 |
* <td> |
|
383 |
* <td align="center">X |
|
384 |
* <td> |
|
385 |
* <td> |
|
386 |
* <tr> |
|
387 |
* <td><a href="JobState.html">JobState</a> |
|
388 |
* <td> |
|
389 |
* <td> |
|
390 |
* <td align="center">X |
|
391 |
* <td> |
|
392 |
* <td> |
|
393 |
* <tr> |
|
394 |
* <td><a href="JobStateReasons.html">JobStateReasons</a><br> |
|
395 |
* Contains zero or more -- |
|
396 |
* <td> |
|
397 |
* <td> |
|
398 |
* <td align="center">X |
|
399 |
* <td> |
|
400 |
* <td> |
|
401 |
* <tr> |
|
402 |
* <td>-- <a href="JobStateReason.html">JobStateReason</a> |
|
403 |
* <td> |
|
404 |
* <td> |
|
405 |
* <td> |
|
406 |
* <td> |
|
407 |
* <td> |
|
408 |
* <tr> |
|
409 |
* <td><a href="NumberOfDocuments.html">NumberOfDocuments</a> |
|
410 |
* <td> |
|
411 |
* <td> |
|
412 |
* <td align="center">X |
|
413 |
* <td> |
|
414 |
* <td> |
|
415 |
* <tr> |
|
416 |
* <td><a href="NumberOfInterveningJobs.html">NumberOfInterveningJobs</a> |
|
417 |
* <td> |
|
418 |
* <td> |
|
419 |
* <td align="center">X |
|
420 |
* <td> |
|
421 |
* <td> |
|
422 |
* <tr> |
|
423 |
* <td><a href="OutputDeviceAssigned.html">OutputDeviceAssigned</a> |
|
424 |
* <td> |
|
425 |
* <td> |
|
426 |
* <td align="center">X |
|
427 |
* <td> |
|
428 |
* <td> |
|
429 |
* <tr> |
|
430 |
* <td><a href="ColorSupported.html">ColorSupported</a> |
|
431 |
* <td> |
|
432 |
* <td> |
|
433 |
* <td> |
|
434 |
* <td align="center">X |
|
435 |
* <td> |
|
436 |
* <tr> |
|
437 |
* <td><a href="PagesPerMinute.html">PagesPerMinute</a> |
|
438 |
* <td> |
|
439 |
* <td> |
|
440 |
* <td> |
|
441 |
* <td align="center">X |
|
442 |
* <td> |
|
443 |
* <tr> |
|
444 |
* <td><a href="PagesPerMinuteColor.html">PagesPerMinuteColor</a> |
|
445 |
* <td> |
|
446 |
* <td> |
|
447 |
* <td> |
|
448 |
* <td align="center">X |
|
449 |
* <td> |
|
450 |
* <tr> |
|
451 |
* <td><a href="PDLOverrideSupported.html">PDLOverrideSupported</a> |
|
452 |
* <td> |
|
453 |
* <td> |
|
454 |
* <td> |
|
455 |
* <td align="center">X |
|
456 |
* <td> |
|
457 |
* <tr> |
|
458 |
* <td><a href="PrinterIsAcceptingJobs.html">PrinterIsAcceptingJobs</a> |
|
459 |
* <td> |
|
460 |
* <td> |
|
461 |
* <td> |
|
462 |
* <td align="center">X |
|
463 |
* <td> |
|
464 |
* <tr> |
|
465 |
* <td><a href="PrinterInfo.html">PrinterInfo</a> |
|
466 |
* <td> |
|
467 |
* <td> |
|
468 |
* <td> |
|
469 |
* <td align="center">X |
|
470 |
* <td> |
|
471 |
* <tr> |
|
472 |
* <td><a href="PrinterLocation.html">PrinterLocation</a> |
|
473 |
* <td> |
|
474 |
* <td> |
|
475 |
* <td> |
|
476 |
* <td align="center">X |
|
477 |
* <td> |
|
478 |
* <tr> |
|
479 |
* <td><a href="PrinterMessageFromOperator.html"> |
|
480 |
* PrinterMessageFromOperator</a> |
|
481 |
* <td> |
|
482 |
* <td> |
|
483 |
* <td> |
|
484 |
* <td align="center">X |
|
485 |
* <td> |
|
486 |
* <tr> |
|
487 |
* <td><a href="PrinterMakeAndModel.html">PrinterMakeAndModel</a> |
|
488 |
* <td> |
|
489 |
* <td> |
|
490 |
* <td> |
|
491 |
* <td align="center">X |
|
492 |
* <td> |
|
493 |
* <tr> |
|
494 |
* <td><a href="PrinterMoreInfo.html">PrinterMoreInfo</a> |
|
495 |
* <td> |
|
496 |
* <td> |
|
497 |
* <td> |
|
498 |
* <td align="center">X |
|
499 |
* <td> |
|
500 |
* <tr> |
|
501 |
* <td><a href="PrinterMoreInfoManufacturer.html"> |
|
502 |
* PrinterMoreInfoManufacturer</a> |
|
503 |
* <td> |
|
504 |
* <td> |
|
505 |
* <td> |
|
506 |
* <td align="center">X |
|
507 |
* <td> |
|
508 |
* <tr> |
|
509 |
* <td><a href="PrinterName.html">PrinterName</a> |
|
510 |
* <td> |
|
511 |
* <td> |
|
512 |
* <td> |
|
513 |
* <td align="center">X |
|
514 |
* <td> |
|
515 |
* <tr> |
|
516 |
* <td><a href="PrinterState.html">PrinterState</a> |
|
517 |
* <td> |
|
518 |
* <td> |
|
519 |
* <td> |
|
520 |
* <td align="center">X |
|
521 |
* <td> |
|
522 |
* <tr> |
|
523 |
* <td><a href="PrinterStateReasons.html">PrinterStateReasons</a><br> |
|
524 |
* Contains zero or more -- |
|
525 |
* <td> |
|
526 |
* <td> |
|
527 |
* <td> |
|
528 |
* <td align="center">X |
|
529 |
* <td> |
|
530 |
* <tr> |
|
531 |
* <td>-- <a href="PrinterStateReason.html">PrinterStateReason</a> |
|
532 |
* <td> |
|
533 |
* <td> |
|
534 |
* <td> |
|
535 |
* <td> |
|
536 |
* <td> |
|
537 |
* <tr> |
|
538 |
* <td>-- <a href="Severity.html">Severity</a> |
|
539 |
* <td> |
|
540 |
* <td> |
|
541 |
* <td> |
|
542 |
* <td> |
|
543 |
* <td> |
|
544 |
* <tr> |
|
545 |
* <td><a href="QueuedJobCount.html">QueuedJobCount</a> |
|
546 |
* <td> |
|
547 |
* <td> |
|
548 |
* <td> |
|
549 |
* <td align="center">X |
|
550 |
* <td> |
|
551 |
* <tr> |
|
552 |
* <td><a href="ReferenceUriSchemesSupported.html"> |
|
553 |
* ReferenceUriSchemesSupported</a> |
|
554 |
* <td> |
|
555 |
* <td> |
|
556 |
* <td> |
|
557 |
* <td> |
|
558 |
* <td> |
|
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
559 |
* </table> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
560 |
* <p> |
47196 | 561 |
* Please note: In the {@code javax.print} APIs, a {@code null} reference |
562 |
* parameter to methods is incorrect unless explicitly documented on the method |
|
563 |
* as having a meaningful interpretation. Usage to the contrary is incorrect |
|
564 |
* coding and may result in a run time exception either immediately or at some |
|
565 |
* later time. {@code IllegalArgumentException} and {@code NullPointerException} |
|
566 |
* are examples of typical and acceptable run time exceptions for such cases. |
|
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
567 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
568 |
* @since 1.4 |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
569 |
*/ |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
25859
diff
changeset
|
570 |
package javax.print.attribute.standard; |