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.wsdl.util;
21:
22: public interface Constants {
23:
24: String BASE_64_PROPERTY_KEY = "base64map";
25: String PLAIN_BASE_64_PROPERTY_KEY = "plainbase64map";
26:
27: String EXTERNAL_TEMPLATE_PROPERTY_KEY = "externalTemplate";
28: String XSLT_INCLUDE_DATABIND_SUPPORTER_HREF_KEY = "databindsupporter";
29: String XSLT_INCLUDE_TEST_OBJECT_HREF_KEY = "testObject";
30: String UNWRAPPED_KEY = "UnWrapped";
31: String UNWRAPPED_DETAILS = "UnWrapped_details";
32:
33: String COMPLEX_TYPE = "complexType";
34: String ARRAY_TYPE = "arrayType";
35:
36: public static final String ANY_ELEMENT_FIELD_NAME = "extraElement";
37:
38: /**
39: * Property for message receiver operation method handled by databinding code generation. This
40: * is an optional parameter for an {@link org.apache.axis2.description.AxisOperation}. If
41: * present, the value is the name of a method to be generated by the databinding code generation
42: * and called by the message receiver code generation in order to process the OMElement and
43: * invoke the service method.
44: */
45: String DATABINDING_GENERATED_RECEIVER = "databinding-generated-receiver";
46:
47: /**
48: * Property for interface implementation method handled by databinding code generation. This is
49: * an optional parameter for an {@link org.apache.axis2.description.AxisOperation}. If present,
50: * the value is a <code>Boolean</code> flag to indicate that the method corresponding to that
51: * operation will be generated by the data binding code generation.
52: */
53: String DATABINDING_GENERATED_IMPLEMENTATION = "databinding-generated-implementation";
54:
55: /**
56: * Property for details to be passed inside the <databinders> element. This is an optional
57: * parameter for an {@link org.apache.axis2.description.AxisOperation}. If present, the value is
58: * a DOM element to be appended to the <databinders> content.
59: */
60: String DATABINDING_OPERATION_DETAILS = "databinding-operation-details";
61:
62: /**
63: * Property for details to be passed inside the <databinders> element. This is an optional
64: * parameter for an {@link org.apache.axis2.description.AxisService}. If present, the value is a
65: * DOM element to be appended to the <databinders> content.
66: */
67: String DATABINDING_SERVICE_DETAILS = "databinding-service-details";
68:
69: public interface CodegenStyle {
70: final int AUTOMATIC = 0;
71: final int INTERFACE = 1;
72: static final int BINDING = 2;
73: }
74:
75: }
|