01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */
19:
20: package org.apache.axis2.util;
21:
22: public interface CommandLineOptionConstants {
23:
24: interface WSDL2JavaConstants {
25: String All_PORTS_OPTION = "ap";
26: String All_PORTS_OPTION_LONG = "all-ports";
27: String BACKWORD_COMPATIBILITY_OPTION = "b";
28: String BACKWORD_COMPATIBILITY_OPTION_LONG = "backword-compatible";
29: String CODEGEN_ASYNC_ONLY_OPTION = "a";
30: String CODEGEN_ASYNC_ONLY_OPTION_LONG = "async";
31: String CODEGEN_SYNC_ONLY_OPTION = "s";
32: String CODEGEN_SYNC_ONLY_OPTION_LONG = "sync";
33: String DATA_BINDING_TYPE_OPTION = "d";
34: String DATA_BINDING_TYPE_OPTION_LONG = "databinding-method";
35: String EXTERNAL_MAPPING_OPTION = "em";
36: String EXTERNAL_MAPPING_OPTION_LONG = "external-mapping";
37: String FLATTEN_FILES_OPTION = "f";
38: String FLATTEN_FILES_OPTION_LONG = "flatten-files";
39: String GENERATE_ALL_OPTION = "g";
40: String GENERATE_ALL_OPTION_LONG = "generate-all";
41: String GENERATE_SERVICE_DESCRIPTION_OPTION = "sd";
42: String GENERATE_SERVICE_DESCRIPTION_OPTION_LONG = "service-description";
43: String GENERATE_TEST_CASE_OPTION = "t";
44: String GENERATE_TEST_CASE_OPTION_LONG = "test-case";
45: String NAME_SPACE_TO_PACKAGE_OPTION = "ns2p";
46: String NAME_SPACE_TO_PACKAGE_OPTION_LONG = "namespace2package";
47: String NO_BUILD_XML_OPTION_LONG = "noBuildXML";
48: String NO_MESSAGE_RECEIVER_OPTION_LONG = "noMessageReceiver";
49: String NO_WSDLS_OPTION_LONG = "noWSDL";
50: String OUTPUT_LOCATION_OPTION = "o";
51: String OUTPUT_LOCATION_OPTION_LONG = "output";
52: String OVERRIDE_OPTION = "or";
53: String OVERRIDE_OPTION_LONG = "over-ride";
54: String PACKAGE_OPTION = "p";
55: String PACKAGE_OPTION_LONG = "package";
56: String PORT_NAME_OPTION = "pn";
57: String PORT_NAME_OPTION_LONG = "port-name";
58: String REPOSITORY_PATH_OPTION = "r";
59: String REPOSITORY_PATH_OPTION_LONG = "repository-path";
60: String RESOURCE_FOLDER_OPTION = "R";
61: String RESOURCE_FOLDER_OPTION_LONG = "resource-folder";
62: String SERVER_SIDE_CODE_OPTION = "ss";
63: String SERVER_SIDE_CODE_OPTION_LONG = "server-side";
64: String SERVER_SIDE_INTERFACE_OPTION = "ssi";
65: String SERVER_SIDE_INTERFACE_OPTION_LONG = "serverside-interface";
66: String SERVICE_NAME_OPTION = "sn";
67: String SERVICE_NAME_OPTION_LONG = "service-name";
68: String SOURCE_FOLDER_NAME_OPTION = "S";
69: String SOURCE_FOLDER_NAME_OPTION_LONG = "source-folder";
70: String STUB_LANGUAGE_OPTION = "l";
71: String STUB_LANGUAGE_OPTION_LONG = "language";
72: String SUPPRESS_PREFIXES_OPTION = "sp";
73: String SUPPRESS_PREFIXES_OPTION_LONG = "suppress-prefixes";
74: String UNPACK_CLASSES_OPTION = "u";
75: String UNPACK_CLASSES_OPTION_LONG = "unpack-classes";
76: String UNWRAP_PARAMETERS = "uw";
77: String UNWRAP_PARAMETERS_LONG = "unwrap-params";
78: String WSDL_LOCATION_URI_OPTION = "uri";
79: String WSDL_VERSION_OPTION = "wv";
80: String WSDL_VERSION_OPTION_LONG = "wsdl-version";
81:
82: String INVALID_OPTION = "INVALID_OPTION";
83: String EXTRA_OPTIONTYPE_PREFIX = "E";
84:
85: String WSDL_VERSION_2 = "2.0";
86: String WSDL_VERSION_2_OPTIONAL = "2";
87: String WSDL_VERSION_1 = "1.1";
88: }
89:
90: public static final String SOLE_INPUT = "SOLE_INPUT";
91: }
|