src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/DelegatingParserExtension.java

changeset 408
b0610cd08440
parent 368
0989ad8c0860
child 637
9c07ef4934dd
equal deleted inserted replaced
405:cc682329886b 408:b0610cd08440
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 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 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
23 * questions. 23 * questions.
24 */ 24 */
25 25
26 package com.sun.xml.internal.ws.wsdl.parser; 26 package com.sun.xml.internal.ws.wsdl.parser;
27 27
28 import com.sun.xml.internal.ws.api.model.wsdl.*; 28 import com.sun.xml.internal.ws.api.model.wsdl.editable.*;
29 import com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension; 29 import com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension;
30 import com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtensionContext; 30 import com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtensionContext;
31 31
32 import javax.xml.stream.XMLStreamReader; 32 import javax.xml.stream.XMLStreamReader;
33 33
46 46
47 public void start(WSDLParserExtensionContext context) { 47 public void start(WSDLParserExtensionContext context) {
48 core.start(context); 48 core.start(context);
49 } 49 }
50 50
51 public void serviceAttributes(WSDLService service, XMLStreamReader reader) { 51 public void serviceAttributes(EditableWSDLService service, XMLStreamReader reader) {
52 core.serviceAttributes(service, reader); 52 core.serviceAttributes(service, reader);
53 } 53 }
54 54
55 public boolean serviceElements(WSDLService service, XMLStreamReader reader) { 55 public boolean serviceElements(EditableWSDLService service, XMLStreamReader reader) {
56 return core.serviceElements(service, reader); 56 return core.serviceElements(service, reader);
57 } 57 }
58 58
59 public void portAttributes(WSDLPort port, XMLStreamReader reader) { 59 public void portAttributes(EditableWSDLPort port, XMLStreamReader reader) {
60 core.portAttributes(port, reader); 60 core.portAttributes(port, reader);
61 } 61 }
62 62
63 public boolean portElements(WSDLPort port, XMLStreamReader reader) { 63 public boolean portElements(EditableWSDLPort port, XMLStreamReader reader) {
64 return core.portElements(port, reader); 64 return core.portElements(port, reader);
65 } 65 }
66 66
67 public boolean portTypeOperationInput(WSDLOperation op, XMLStreamReader reader) { 67 public boolean portTypeOperationInput(EditableWSDLOperation op, XMLStreamReader reader) {
68 return core.portTypeOperationInput(op, reader); 68 return core.portTypeOperationInput(op, reader);
69 } 69 }
70 70
71 public boolean portTypeOperationOutput(WSDLOperation op, XMLStreamReader reader) { 71 public boolean portTypeOperationOutput(EditableWSDLOperation op, XMLStreamReader reader) {
72 return core.portTypeOperationOutput(op, reader); 72 return core.portTypeOperationOutput(op, reader);
73 } 73 }
74 74
75 public boolean portTypeOperationFault(WSDLOperation op, XMLStreamReader reader) { 75 public boolean portTypeOperationFault(EditableWSDLOperation op, XMLStreamReader reader) {
76 return core.portTypeOperationFault(op, reader); 76 return core.portTypeOperationFault(op, reader);
77 } 77 }
78 78
79 public boolean definitionsElements(XMLStreamReader reader) { 79 public boolean definitionsElements(XMLStreamReader reader) {
80 return core.definitionsElements(reader); 80 return core.definitionsElements(reader);
81 } 81 }
82 82
83 public boolean bindingElements(WSDLBoundPortType binding, XMLStreamReader reader) { 83 public boolean bindingElements(EditableWSDLBoundPortType binding, XMLStreamReader reader) {
84 return core.bindingElements(binding, reader); 84 return core.bindingElements(binding, reader);
85 } 85 }
86 86
87 public void bindingAttributes(WSDLBoundPortType binding, XMLStreamReader reader) { 87 public void bindingAttributes(EditableWSDLBoundPortType binding, XMLStreamReader reader) {
88 core.bindingAttributes(binding, reader); 88 core.bindingAttributes(binding, reader);
89 } 89 }
90 90
91 public boolean portTypeElements(WSDLPortType portType, XMLStreamReader reader) { 91 public boolean portTypeElements(EditableWSDLPortType portType, XMLStreamReader reader) {
92 return core.portTypeElements(portType, reader); 92 return core.portTypeElements(portType, reader);
93 } 93 }
94 94
95 public void portTypeAttributes(WSDLPortType portType, XMLStreamReader reader) { 95 public void portTypeAttributes(EditableWSDLPortType portType, XMLStreamReader reader) {
96 core.portTypeAttributes(portType, reader); 96 core.portTypeAttributes(portType, reader);
97 } 97 }
98 98
99 public boolean portTypeOperationElements(WSDLOperation operation, XMLStreamReader reader) { 99 public boolean portTypeOperationElements(EditableWSDLOperation operation, XMLStreamReader reader) {
100 return core.portTypeOperationElements(operation, reader); 100 return core.portTypeOperationElements(operation, reader);
101 } 101 }
102 102
103 public void portTypeOperationAttributes(WSDLOperation operation, XMLStreamReader reader) { 103 public void portTypeOperationAttributes(EditableWSDLOperation operation, XMLStreamReader reader) {
104 core.portTypeOperationAttributes(operation, reader); 104 core.portTypeOperationAttributes(operation, reader);
105 } 105 }
106 106
107 public boolean bindingOperationElements(WSDLBoundOperation operation, XMLStreamReader reader) { 107 public boolean bindingOperationElements(EditableWSDLBoundOperation operation, XMLStreamReader reader) {
108 return core.bindingOperationElements(operation, reader); 108 return core.bindingOperationElements(operation, reader);
109 } 109 }
110 110
111 public void bindingOperationAttributes(WSDLBoundOperation operation, XMLStreamReader reader) { 111 public void bindingOperationAttributes(EditableWSDLBoundOperation operation, XMLStreamReader reader) {
112 core.bindingOperationAttributes(operation, reader); 112 core.bindingOperationAttributes(operation, reader);
113 } 113 }
114 114
115 public boolean messageElements(WSDLMessage msg, XMLStreamReader reader) { 115 public boolean messageElements(EditableWSDLMessage msg, XMLStreamReader reader) {
116 return core.messageElements(msg, reader); 116 return core.messageElements(msg, reader);
117 } 117 }
118 118
119 public void messageAttributes(WSDLMessage msg, XMLStreamReader reader) { 119 public void messageAttributes(EditableWSDLMessage msg, XMLStreamReader reader) {
120 core.messageAttributes(msg, reader); 120 core.messageAttributes(msg, reader);
121 } 121 }
122 122
123 public boolean portTypeOperationInputElements(WSDLInput input, XMLStreamReader reader) { 123 public boolean portTypeOperationInputElements(EditableWSDLInput input, XMLStreamReader reader) {
124 return core.portTypeOperationInputElements(input, reader); 124 return core.portTypeOperationInputElements(input, reader);
125 } 125 }
126 126
127 public void portTypeOperationInputAttributes(WSDLInput input, XMLStreamReader reader) { 127 public void portTypeOperationInputAttributes(EditableWSDLInput input, XMLStreamReader reader) {
128 core.portTypeOperationInputAttributes(input, reader); 128 core.portTypeOperationInputAttributes(input, reader);
129 } 129 }
130 130
131 public boolean portTypeOperationOutputElements(WSDLOutput output, XMLStreamReader reader) { 131 public boolean portTypeOperationOutputElements(EditableWSDLOutput output, XMLStreamReader reader) {
132 return core.portTypeOperationOutputElements(output, reader); 132 return core.portTypeOperationOutputElements(output, reader);
133 } 133 }
134 134
135 public void portTypeOperationOutputAttributes(WSDLOutput output, XMLStreamReader reader) { 135 public void portTypeOperationOutputAttributes(EditableWSDLOutput output, XMLStreamReader reader) {
136 core.portTypeOperationOutputAttributes(output, reader); 136 core.portTypeOperationOutputAttributes(output, reader);
137 } 137 }
138 138
139 public boolean portTypeOperationFaultElements(WSDLFault fault, XMLStreamReader reader) { 139 public boolean portTypeOperationFaultElements(EditableWSDLFault fault, XMLStreamReader reader) {
140 return core.portTypeOperationFaultElements(fault, reader); 140 return core.portTypeOperationFaultElements(fault, reader);
141 } 141 }
142 142
143 public void portTypeOperationFaultAttributes(WSDLFault fault, XMLStreamReader reader) { 143 public void portTypeOperationFaultAttributes(EditableWSDLFault fault, XMLStreamReader reader) {
144 core.portTypeOperationFaultAttributes(fault, reader); 144 core.portTypeOperationFaultAttributes(fault, reader);
145 } 145 }
146 146
147 public boolean bindingOperationInputElements(WSDLBoundOperation operation, XMLStreamReader reader) { 147 public boolean bindingOperationInputElements(EditableWSDLBoundOperation operation, XMLStreamReader reader) {
148 return core.bindingOperationInputElements(operation, reader); 148 return core.bindingOperationInputElements(operation, reader);
149 } 149 }
150 150
151 public void bindingOperationInputAttributes(WSDLBoundOperation operation, XMLStreamReader reader) { 151 public void bindingOperationInputAttributes(EditableWSDLBoundOperation operation, XMLStreamReader reader) {
152 core.bindingOperationInputAttributes(operation, reader); 152 core.bindingOperationInputAttributes(operation, reader);
153 } 153 }
154 154
155 public boolean bindingOperationOutputElements(WSDLBoundOperation operation, XMLStreamReader reader) { 155 public boolean bindingOperationOutputElements(EditableWSDLBoundOperation operation, XMLStreamReader reader) {
156 return core.bindingOperationOutputElements(operation, reader); 156 return core.bindingOperationOutputElements(operation, reader);
157 } 157 }
158 158
159 public void bindingOperationOutputAttributes(WSDLBoundOperation operation, XMLStreamReader reader) { 159 public void bindingOperationOutputAttributes(EditableWSDLBoundOperation operation, XMLStreamReader reader) {
160 core.bindingOperationOutputAttributes(operation, reader); 160 core.bindingOperationOutputAttributes(operation, reader);
161 } 161 }
162 162
163 public boolean bindingOperationFaultElements(WSDLBoundFault fault, XMLStreamReader reader) { 163 public boolean bindingOperationFaultElements(EditableWSDLBoundFault fault, XMLStreamReader reader) {
164 return core.bindingOperationFaultElements(fault, reader); 164 return core.bindingOperationFaultElements(fault, reader);
165 } 165 }
166 166
167 public void bindingOperationFaultAttributes(WSDLBoundFault fault, XMLStreamReader reader) { 167 public void bindingOperationFaultAttributes(EditableWSDLBoundFault fault, XMLStreamReader reader) {
168 core.bindingOperationFaultAttributes(fault, reader); 168 core.bindingOperationFaultAttributes(fault, reader);
169 } 169 }
170 170
171 public void finished(WSDLParserExtensionContext context) { 171 public void finished(WSDLParserExtensionContext context) {
172 core.finished(context); 172 core.finished(context);

mercurial