jdk/src/share/classes/javax/print/attribute/standard/Finishings.java
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 5506 202f599c92aa
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
 * Copyright 2000-2004 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
 * have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
package javax.print.attribute.standard;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
import javax.print.attribute.Attribute;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
import javax.print.attribute.EnumSyntax;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
import javax.print.attribute.DocAttribute;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
import javax.print.attribute.PrintRequestAttribute;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
import javax.print.attribute.PrintJobAttribute;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * Class Finishings is a printing attribute class, an enumeration, that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 * identifies whether the printer applies a finishing operation of some kind
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * of binding to each copy of each printed document in the job. For multidoc
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * print jobs (jobs with multiple documents), the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 * {@link MultipleDocumentHandling
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 * MultipleDocumentHandling} attribute determines what constitutes a "copy"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
 * for purposes of finishing.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
 * Standard Finishings values are:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
 * <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100% SUMMARY="layout">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
 * <TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
 * <TD WIDTH=10%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
 * {@link #NONE <CODE>NONE</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
 * {@link #STAPLE <CODE>STAPLE</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
 * <TD WIDTH=36%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
 * {@link #EDGE_STITCH <CODE>EDGE_STITCH</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
 * </TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
 * <TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
 * <TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
 * <TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
 * {@link #BIND <CODE>BIND</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
 * <TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
 * {@link #SADDLE_STITCH <CODE>SADDLE_STITCH</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
 * <TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
 * {@link #COVER <CODE>COVER</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
 * <TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
 * </TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
 * </TABLE>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
 * The following Finishings values are more specific; they indicate a
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
 * corner or an edge as if the document were a portrait document:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
 * <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100% SUMMARY="layout">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
 * <TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
 * <TD WIDTH=10%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
 * {@link #STAPLE_TOP_LEFT <CODE>STAPLE_TOP_LEFT</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
 * {@link #EDGE_STITCH_LEFT <CODE>EDGE_STITCH_LEFT</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
 * {@link #STAPLE_DUAL_LEFT <CODE>STAPLE_DUAL_LEFT</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
 * <TD WIDTH=9%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
 * </TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
 * <TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
 * <TD WIDTH=10%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
 * {@link #STAPLE_BOTTOM_LEFT <CODE>STAPLE_BOTTOM_LEFT</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
 * {@link #EDGE_STITCH_TOP <CODE>EDGE_STITCH_TOP</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
 * {@link #STAPLE_DUAL_TOP <CODE>STAPLE_DUAL_TOP</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
 * <TD WIDTH=9%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
 * </TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
 * <TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
 * <TD WIDTH=10%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
 * {@link #STAPLE_TOP_RIGHT <CODE>STAPLE_TOP_RIGHT</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
 * {@link #EDGE_STITCH_RIGHT <CODE>EDGE_STITCH_RIGHT</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
 * {@link #STAPLE_DUAL_RIGHT <CODE>STAPLE_DUAL_RIGHT</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
 * <TD WIDTH=9%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
 * </TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
 * <TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
 * <TD WIDTH=10%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
 * {@link #STAPLE_BOTTOM_RIGHT <CODE>STAPLE_BOTTOM_RIGHT</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
 * {@link #EDGE_STITCH_BOTTOM <CODE>EDGE_STITCH_BOTTOM</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
 * <TD WIDTH=27%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
 * {@link #STAPLE_DUAL_BOTTOM <CODE>STAPLE_DUAL_BOTTOM</CODE>}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
 * <TD WIDTH=9%>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
 * &nbsp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
 * </TD>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
 * </TR>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
 * </TABLE>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
 * The <CODE>STAPLE_<I>XXX</I></CODE> values are specified with respect to the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
 * document as if the document were a portrait document. If the document is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
 * actually a landscape or a reverse-landscape document, the client supplies the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
 * appropriate transformed value. For example, to position a staple in the upper
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
 * left hand corner of a landscape document when held for reading, the client
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
 * supplies the <CODE>STAPLE_BOTTOM_LEFT</CODE> value (since landscape is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
 * defined as a +90 degree rotation from portrait, i.e., anti-clockwise). On the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
 * other hand, to position a staple in the upper left hand corner of a
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
 * reverse-landscape document when held for reading, the client supplies the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
 * <CODE>STAPLE_TOP_RIGHT</CODE> value (since reverse-landscape is defined as a
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
 * -90 degree rotation from portrait, i.e., clockwise).
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
 * The angle (vertical, horizontal, angled) of each staple with respect to the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
 * document depends on the implementation which may in turn depend on the value
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
 * of the attribute.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
 * The effect of a Finishings attribute on a multidoc print job (a job
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
 * with multiple documents) depends on whether all the docs have the same
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
 * binding specified or whether different docs have different bindings
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
 * specified, and on the (perhaps defaulted) value of the {@link
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
 * MultipleDocumentHandling MultipleDocumentHandling} attribute.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
 * <UL>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
 * <LI>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
 * If all the docs have the same binding specified, then any value of {@link
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
 * MultipleDocumentHandling MultipleDocumentHandling} makes sense, and the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
 * printer's processing depends on the {@link MultipleDocumentHandling
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
 * MultipleDocumentHandling} value:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
 * <UL>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
 * <LI>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
 * SINGLE_DOCUMENT -- All the input docs will be bound together as one output
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
 * document with the specified binding.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
 * <LI>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
 * SINGLE_DOCUMENT_NEW_SHEET -- All the input docs will be bound together as one
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
 * output document with the specified binding, and the first impression of each
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
 * input doc will always start on a new media sheet.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
 * <LI>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
 * SEPARATE_DOCUMENTS_UNCOLLATED_COPIES -- Each input doc will be bound
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
 * separately with the specified binding.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
 * <LI>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
 * SEPARATE_DOCUMENTS_COLLATED_COPIES -- Each input doc will be bound separately
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
 * with the specified binding.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
 * </UL>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
 * <LI>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
 * If different docs have different bindings specified, then only two values of
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
 * {@link MultipleDocumentHandling MultipleDocumentHandling} make sense, and the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
 * printer reports an error when the job is submitted if any other value is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
 * specified:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
 * <UL>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
 * <LI>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
 * SEPARATE_DOCUMENTS_UNCOLLATED_COPIES -- Each input doc will be bound
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
 * separately with its own specified binding.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
 * <LI>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
 * SEPARATE_DOCUMENTS_COLLATED_COPIES -- Each input doc will be bound separately
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
 * with its own specified binding.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
 * </UL>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
 * </UL>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
 * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
 * <B>IPP Compatibility:</B> Class Finishings encapsulates some of the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
 * IPP enum values that can be included in an IPP "finishings" attribute, which
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
 * is a set of enums. The category name returned by
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
 * <CODE>getName()</CODE> is the IPP attribute name.  The enumeration's
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
 * integer value is the IPP enum value.  The <code>toString()</code> method
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
 * returns the IPP string representation of the attribute value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
 * In IPP Finishings is a multi-value attribute, this API currently allows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
 * only one binding to be specified.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
 * @author  Alan Kaminsky
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
public class Finishings extends EnumSyntax
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
    implements DocAttribute, PrintRequestAttribute, PrintJobAttribute {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
    private static final long serialVersionUID = -627840419548391754L;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
     * Perform no binding.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
    public static final Finishings NONE = new Finishings(3);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
     * Bind the document(s) with one or more staples. The exact number and
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
     * placement of the staples is site-defined.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
    public static final Finishings STAPLE = new Finishings(4);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
     * This value is specified when it is desired to select a non-printed (or
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
     * pre-printed) cover for the document. This does not supplant the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
     * specification of a printed cover (on cover stock medium) by the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
     * document  itself.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
    public static final Finishings COVER = new Finishings(6);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
     * This value indicates that a binding is to be applied to the document;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
     * the type and placement of the binding is site-defined.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
    public static final Finishings BIND = new Finishings(7);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
     * Bind the document(s) with one or more staples (wire stitches) along the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
     * middle fold. The exact number and placement of the staples and the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
     * middle fold is implementation- and/or site-defined.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
    public static final Finishings SADDLE_STITCH =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
        new Finishings(8);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
     * Bind the document(s) with one or more staples (wire stitches) along one
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
     * edge. The exact number and placement of the staples is implementation-
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
     * and/or site- defined.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
    public static final Finishings EDGE_STITCH =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
        new Finishings(9);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
     * Bind the document(s) with one or more staples in the top left corner.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
    public static final Finishings STAPLE_TOP_LEFT =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
        new Finishings(20);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
     * Bind the document(s) with one or more staples in the bottom left
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
     * corner.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
    public static final Finishings STAPLE_BOTTOM_LEFT =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
        new Finishings(21);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
     * Bind the document(s) with one or more staples in the top right corner.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
    public static final Finishings STAPLE_TOP_RIGHT =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
        new Finishings(22);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
     * Bind the document(s) with one or more staples in the bottom right
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
     * corner.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
    public static final Finishings STAPLE_BOTTOM_RIGHT =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
        new Finishings(23);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
     * Bind the document(s) with one or more staples (wire stitches) along the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
     * left edge. The exact number and placement of the staples is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
     * implementation- and/or site-defined.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
    public static final Finishings EDGE_STITCH_LEFT =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
        new Finishings(24);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
     * Bind the document(s) with one or more staples (wire stitches) along the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
     * top edge. The exact number and placement of the staples is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
     * implementation- and/or site-defined.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
    public static final Finishings EDGE_STITCH_TOP =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
        new Finishings(25);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
     * Bind the document(s) with one or more staples (wire stitches) along the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
     * right edge. The exact number and placement of the staples is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
     * implementation- and/or site-defined.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
    public static final Finishings EDGE_STITCH_RIGHT =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
        new Finishings(26);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
     * Bind the document(s) with one or more staples (wire stitches) along the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
     * bottom edge. The exact number and placement of the staples is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
     * implementation- and/or site-defined.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
    public static final Finishings EDGE_STITCH_BOTTOM =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
        new Finishings(27);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
     * Bind the document(s) with two staples (wire stitches) along the left
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
     * edge assuming a portrait document (see above).
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
    public static final Finishings STAPLE_DUAL_LEFT =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
        new Finishings(28);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
     * Bind the document(s) with two staples (wire stitches) along the top
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
     * edge assuming a portrait document (see above).
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
    public static final Finishings STAPLE_DUAL_TOP =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
        new Finishings(29);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
     * Bind the document(s) with two staples (wire stitches) along the right
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
     * edge assuming a portrait document (see above).
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
    public static final Finishings STAPLE_DUAL_RIGHT =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
        new Finishings(30);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
     * Bind the document(s) with two staples (wire stitches) along the bottom
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
     * edge assuming a portrait document (see above).
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
    public static final Finishings STAPLE_DUAL_BOTTOM =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
        new Finishings(31);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
     * Construct a new finishings binding enumeration value with the given
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
     * integer value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
     * @param  value  Integer value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
    protected Finishings(int value) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
        super(value);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
    private static final String[] myStringTable =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
                {"none",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
                 "staple",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
                 "cover",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
                 "bind",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
                 "saddle-stitch",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
                 "edge-stitch",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
                 null, // The next ten enum values are reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   376
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
                 "staple-top-left",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
                 "staple-bottom-left",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
                 "staple-top-right",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
                 "staple-bottom-right",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
                 "edge-stitch-left",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
                 "edge-stitch-top",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
                 "edge-stitch-right",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
                 "edge-stitch-bottom",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
                 "staple-dual-left",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
                 "staple-dual-top",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
                 "staple-dual-right",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
                 "staple-dual-bottom"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
                };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
    private static final Finishings[] myEnumValueTable =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
                {NONE,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
                 STAPLE,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
                 COVER,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
                 BIND,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
                 SADDLE_STITCH,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
                 EDGE_STITCH,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
                 null, // The next ten enum values are reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
                 null,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
                 STAPLE_TOP_LEFT,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
                 STAPLE_BOTTOM_LEFT,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
                 STAPLE_TOP_RIGHT,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
                 STAPLE_BOTTOM_RIGHT,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
                 EDGE_STITCH_LEFT,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
                 EDGE_STITCH_TOP,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
                 EDGE_STITCH_RIGHT,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
                 EDGE_STITCH_BOTTOM,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
                 STAPLE_DUAL_LEFT,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
                 STAPLE_DUAL_TOP,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
                 STAPLE_DUAL_RIGHT,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
                 STAPLE_DUAL_BOTTOM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
                };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
90ce3da70b43 Initial load
duke
parents:
diff changeset
   429
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
     * Returns the string table for class Finishings.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
    protected String[] getStringTable() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
        return (String[])myStringTable.clone();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
     * Returns the enumeration value table for class Finishings.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
    protected EnumSyntax[] getEnumValueTable() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
        return (EnumSyntax[])myEnumValueTable.clone();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
     * Returns the lowest integer value used by class Finishings.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
    protected int getOffset() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
        return 3;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
     * Get the printing attribute class which is to be used as the "category"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
     * for this printing attribute value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
     * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
     * For class Finishings and any vendor-defined subclasses, the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
     * category is class Finishings itself.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
     * @return  Printing attribute class (category), an instance of class
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
     *          {@link java.lang.Class java.lang.Class}.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
    public final Class<? extends Attribute> getCategory() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
        return Finishings.class;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
     * Get the name of the category of which this attribute value is an
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
     * instance.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
     * <P>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
     * For class Finishings and any vendor-defined subclasses, the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
     * category name is <CODE>"finishings"</CODE>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
     * @return  Attribute category name.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
    public final String getName() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   474
        return "finishings";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
}