01: /*
02: * Portions Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
03: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
04: *
05: * This code is free software; you can redistribute it and/or modify it
06: * under the terms of the GNU General Public License version 2 only, as
07: * published by the Free Software Foundation. Sun designates this
08: * particular file as subject to the "Classpath" exception as provided
09: * by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22: * CA 95054 USA or visit www.sun.com if you need additional information or
23: * have any questions.
24: */
25:
26: package com.sun.tools.internal.ws.processor.generator;
27:
28: import com.sun.tools.internal.ws.processor.modeler.ModelerConstants;
29:
30: /**
31: * @author WS Development Team
32: */
33: public interface GeneratorConstants extends ModelerConstants {
34:
35: /*
36: * Constants used in the generators
37: */
38: public static final String FILE_TYPE_WSDL = "Wsdl";
39: public static final String FILE_TYPE_REMOTE_INTERFACE = "RemoteInterface";
40: public static final String FILE_TYPE_SERVICE = "Service";
41: public static final String FILE_TYPE_HANDLER_CONFIG = "HandlerConfig";
42: public static final String FILE_TYPE_SERVICE_IMPL = "ServiceImpl";
43: public static final String FILE_TYPE_EXCEPTION = "Exception";
44: public static final String FILE_TYPE_WRAPPER_BEAN = "WrapperBean";
45: public static final String FILE_TYPE_EXCEPTION_BEAN = "ExceptionBean";
46: /*
47: * Identifiers potentially useful for all Generators
48: */
49:
50: public static final String ID_DELEGATE_BASE = "com.sun.xml.internal.ws.soap.internal.DelegateBase";
51:
52: public static final char DOTC = '.';
53: public static final String SIG_INNERCLASS = "$";
54:
55: public static final String UNDERSCORE = "_";
56: public static final String STUB_SUFFIX = "_Stub";
57:
58: public static final String CLIENT_DELEGATE_SUFFIX = "_Delegate";
59: public static final String CLIENT_CONTACTINFOLIST_SUFFIX = "_ContactInfoList";
60:
61: public static final String CLIENT_ENCODER_DECODER_SUFFIX = "_CED";
62: public static final String SERVER_ENCODER_DECODER_SUFFIX = "_SED";
63: public static final String TIE_SUFFIX = "_Tie";
64:
65: public static final String PEPT_TIE_SUFFIX = "_PTie";
66: public static final String EPTFF_SUFFIX = "_EPTFF";
67: public static final String JAVA_SRC_SUFFIX = ".java";
68: public static final String IMPL_SUFFIX = "_Impl";
69: public static final String ARRAY = "Array";
70: public static final String MEMBER_PREFIX = "my";
71:
72: public static final String OPCODE_SUFFIX = "_OPCODE";
73: public static final String QNAME_SUFFIX = "_QNAME";
74: public static final String TYPE_QNAME_SUFFIX = "_TYPE"
75: + QNAME_SUFFIX;
76:
77: public static final String GET = "get";
78: public static final String IS = "is";
79: public static final String SET = "set";
80: public static final String RESPONSE = "Response";
81: public static final String NS_PREFIX = "ns";
82: public static final String SERVICE_SUFFIX = "_Service";
83: public static final String JAVA_PACKAGE_PREFIX = "java.";
84: public static final String JAVAX_PACKAGE_PREFIX = "javax.";
85: public static final String FAULT_CLASS_MEMBER_NAME = "faultInfo";
86: }
|