Tue, 09 Apr 2013 14:51:13 +0100
8010393: Update JAX-WS RI to 2.2.9-b12941
Reviewed-by: alanb, erikj
Contributed-by: miroslav.kos@oracle.com, martin.grebac@oracle.com
1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
26 package com.sun.tools.internal.ws.processor.modeler;
29 /**
30 *
31 * @author WS Development Team
32 */
33 public enum ModelerConstants {
35 FALSE_STR("false"),
36 ZERO_STR("0"),
37 NULL_STR("null"),
38 ARRAY_STR("Array"),
40 /*
41 * Java ClassNames
42 */
43 /*
44 * Java ClassNames
45 */
46 IOEXCEPTION_CLASSNAME("java.io.IOException"),
47 BOOLEAN_CLASSNAME("boolean"),
48 BOXED_BOOLEAN_CLASSNAME("java.lang.Boolean"),
49 BYTE_CLASSNAME("byte"),
50 BYTE_ARRAY_CLASSNAME("byte[]"),
51 BOXED_BYTE_CLASSNAME("java.lang.Byte"),
52 BOXED_BYTE_ARRAY_CLASSNAME("java.lang.Byte[]"),
53 CLASS_CLASSNAME("java.lang.Class"),
54 CHAR_CLASSNAME("char"),
55 BOXED_CHAR_CLASSNAME("java.lang.Character"),
56 DOUBLE_CLASSNAME("double"),
57 BOXED_DOUBLE_CLASSNAME("java.lang.Double"),
58 FLOAT_CLASSNAME("float"),
59 BOXED_FLOAT_CLASSNAME("java.lang.Float"),
60 INT_CLASSNAME("int"),
61 BOXED_INTEGER_CLASSNAME("java.lang.Integer"),
62 LONG_CLASSNAME("long"),
63 BOXED_LONG_CLASSNAME("java.lang.Long"),
64 SHORT_CLASSNAME("short"),
65 BOXED_SHORT_CLASSNAME("java.lang.Short"),
66 BIGDECIMAL_CLASSNAME("java.math.BigDecimal"),
67 BIGINTEGER_CLASSNAME("java.math.BigInteger"),
68 CALENDAR_CLASSNAME("java.util.Calendar"),
69 DATE_CLASSNAME("java.util.Date"),
70 STRING_CLASSNAME("java.lang.String"),
71 STRING_ARRAY_CLASSNAME("java.lang.String[]"),
72 QNAME_CLASSNAME("javax.xml.namespace.QName"),
73 VOID_CLASSNAME("void"),
74 OBJECT_CLASSNAME("java.lang.Object"),
75 SOAPELEMENT_CLASSNAME("javax.xml.soap.SOAPElement"),
76 IMAGE_CLASSNAME("java.awt.Image"),
77 MIME_MULTIPART_CLASSNAME("javax.mail.internet.MimeMultipart"),
78 SOURCE_CLASSNAME("javax.xml.transform.Source"),
79 DATA_HANDLER_CLASSNAME("javax.activation.DataHandler"),
80 URI_CLASSNAME("java.net.URI"),
81 // URI_CLASSNAME ("java.lang.String"),
82 // Collections
83 COLLECTION_CLASSNAME("java.util.Collection"),
84 LIST_CLASSNAME("java.util.List"),
85 SET_CLASSNAME("java.util.Set"),
86 VECTOR_CLASSNAME("java.util.Vector"),
87 STACK_CLASSNAME("java.util.Stack"),
88 LINKED_LIST_CLASSNAME("java.util.LinkedList"),
89 ARRAY_LIST_CLASSNAME("java.util.ArrayList"),
90 HASH_SET_CLASSNAME("java.util.HashSet"),
91 TREE_SET_CLASSNAME("java.util.TreeSet"),
93 // Maps
94 MAP_CLASSNAME("java.util.Map"),
95 HASH_MAP_CLASSNAME("java.util.HashMap"),
96 TREE_MAP_CLASSNAME("java.util.TreeMap"),
97 HASHTABLE_CLASSNAME("java.util.Hashtable"),
98 PROPERTIES_CLASSNAME("java.util.Properties"),
99 // WEAK_HASH_MAP_CLASSNAME ("java.util.WeakHashMap"),
100 JAX_WS_MAP_ENTRY_CLASSNAME("com.sun.xml.internal.ws.encoding.soap.JAXWSMapEntry");
102 private String value;
104 private ModelerConstants(String value) {
105 this.value = value;
106 }
108 public String getValue() {
109 return value;
110 }
111 }