001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common Development
008: * and Distribution License("CDDL") (collectively, the "License"). You
009: * may not use this file except in compliance with the License. You can obtain
010: * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
011: * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
012: * language governing permissions and limitations under the License.
013: *
014: * When distributing the software, include this License Header Notice in each
015: * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
016: * Sun designates this particular file as subject to the "Classpath" exception
017: * as provided by Sun in the GPL Version 2 section of the License file that
018: * accompanied this code. If applicable, add the following below the License
019: * Header, with the fields enclosed by brackets [] replaced by your own
020: * identifying information: "Portions Copyrighted [year]
021: * [name of copyright owner]"
022: *
023: * Contributor(s):
024: *
025: * If you wish your version of this file to be governed by only the CDDL or
026: * only the GPL Version 2, indicate your decision by adding "[Contributor]
027: * elects to include this software in this distribution under the [CDDL or GPL
028: * Version 2] license." If you don't indicate a single choice of license, a
029: * recipient has the option to distribute your version of this file under
030: * either the CDDL, the GPL Version 2 or to extend the choice of license to
031: * its licensees as provided above. However, if you add GPL Version 2 code
032: * and therefore, elected the GPL Version 2 license, then the option applies
033: * only if the new code is made subject to such option by the copyright
034: * holder.
035: */
036:
037: package com.sun.tools.ws.processor.modeler;
038:
039: /**
040: *
041: * @author WS Development Team
042: */
043: public interface ModelerConstants {
044:
045: public static final String BRACKETS = "[]";
046: public static final String FALSE_STR = "false";
047: public static final String ZERO_STR = "0";
048: public static final String NULL_STR = "null";
049: public static final String ARRAY_STR = "Array";
050:
051: /*
052: * Java ClassNames
053: */
054: /*
055: * Java ClassNames
056: */
057: public static final String IOEXCEPTION_CLASSNAME = "java.io.IOException";
058: public static final String BOOLEAN_CLASSNAME = "boolean";
059: public static final String BOXED_BOOLEAN_CLASSNAME = "java.lang.Boolean";
060: public static final String BYTE_CLASSNAME = "byte";
061: public static final String BYTE_ARRAY_CLASSNAME = BYTE_CLASSNAME
062: + BRACKETS;
063: public static final String BOXED_BYTE_CLASSNAME = "java.lang.Byte";
064: public static final String BOXED_BYTE_ARRAY_CLASSNAME = BOXED_BYTE_CLASSNAME
065: + BRACKETS;
066: public static final String CLASS_CLASSNAME = "java.lang.Class";
067: public static final String CHAR_CLASSNAME = "char";
068: public static final String BOXED_CHAR_CLASSNAME = "java.lang.Character";
069: public static final String DOUBLE_CLASSNAME = "double";
070: public static final String BOXED_DOUBLE_CLASSNAME = "java.lang.Double";
071: public static final String FLOAT_CLASSNAME = "float";
072: public static final String BOXED_FLOAT_CLASSNAME = "java.lang.Float";
073: public static final String INT_CLASSNAME = "int";
074: public static final String BOXED_INTEGER_CLASSNAME = "java.lang.Integer";
075: public static final String LONG_CLASSNAME = "long";
076: public static final String BOXED_LONG_CLASSNAME = "java.lang.Long";
077: public static final String SHORT_CLASSNAME = "short";
078: public static final String BOXED_SHORT_CLASSNAME = "java.lang.Short";
079: public static final String BIGDECIMAL_CLASSNAME = "java.math.BigDecimal";
080: public static final String BIGINTEGER_CLASSNAME = "java.math.BigInteger";
081: public static final String CALENDAR_CLASSNAME = "java.util.Calendar";
082: public static final String DATE_CLASSNAME = "java.util.Date";
083: public static final String STRING_CLASSNAME = "java.lang.String";
084: public static final String STRING_ARRAY_CLASSNAME = STRING_CLASSNAME
085: + BRACKETS;
086: public static final String QNAME_CLASSNAME = "javax.xml.namespace.QName";
087: public static final String VOID_CLASSNAME = "void";
088: public static final String OBJECT_CLASSNAME = "java.lang.Object";
089: public static final String SOAPELEMENT_CLASSNAME = "javax.xml.soap.SOAPElement";
090: public static final String IMAGE_CLASSNAME = "java.awt.Image";
091: public static final String MIME_MULTIPART_CLASSNAME = "javax.mail.internet.MimeMultipart";
092: public static final String SOURCE_CLASSNAME = "javax.xml.transform.Source";
093: public static final String DATA_HANDLER_CLASSNAME = "javax.activation.DataHandler";
094: public static final String URI_CLASSNAME = "java.net.URI";
095: // public static final String URI_CLASSNAME = "java.lang.String";
096: // Collections
097: public static final String COLLECTION_CLASSNAME = "java.util.Collection";
098: public static final String LIST_CLASSNAME = "java.util.List";
099: public static final String SET_CLASSNAME = "java.util.Set";
100: public static final String VECTOR_CLASSNAME = "java.util.Vector";
101: public static final String STACK_CLASSNAME = "java.util.Stack";
102: public static final String LINKED_LIST_CLASSNAME = "java.util.LinkedList";
103: public static final String ARRAY_LIST_CLASSNAME = "java.util.ArrayList";
104: public static final String HASH_SET_CLASSNAME = "java.util.HashSet";
105: public static final String TREE_SET_CLASSNAME = "java.util.TreeSet";
106:
107: // Maps
108: public static final String MAP_CLASSNAME = "java.util.Map";
109: public static final String HASH_MAP_CLASSNAME = "java.util.HashMap";
110: public static final String TREE_MAP_CLASSNAME = "java.util.TreeMap";
111: public static final String HASHTABLE_CLASSNAME = "java.util.Hashtable";
112: public static final String PROPERTIES_CLASSNAME = "java.util.Properties";
113: // public static final String WEAK_HASH_MAP_CLASSNAME = "java.util.WeakHashMap";
114: public static final String JAX_WS_MAP_ENTRY_CLASSNAME = "com.sun.xml.ws.encoding.soap.JAXWSMapEntry";
115:
116: }
|