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 |
26 package com.sun.xml.internal.ws.model.wsdl; |
26 package com.sun.xml.internal.ws.model.wsdl; |
27 |
27 |
28 import com.sun.xml.internal.ws.api.model.ParameterBinding; |
28 import com.sun.xml.internal.ws.api.model.ParameterBinding; |
29 import com.sun.xml.internal.ws.api.model.wsdl.WSDLPart; |
29 import com.sun.xml.internal.ws.api.model.wsdl.WSDLPart; |
30 import com.sun.xml.internal.ws.api.model.wsdl.WSDLPartDescriptor; |
30 import com.sun.xml.internal.ws.api.model.wsdl.WSDLPartDescriptor; |
|
31 import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLPart; |
31 |
32 |
32 import javax.xml.stream.XMLStreamReader; |
33 import javax.xml.stream.XMLStreamReader; |
33 |
34 |
34 /** |
35 /** |
35 * Implementation of {@link WSDLPart} |
36 * Implementation of {@link WSDLPart} |
36 * |
37 * |
37 * @author Vivek Pandey |
38 * @author Vivek Pandey |
38 */ |
39 */ |
39 public final class WSDLPartImpl extends AbstractObjectImpl implements WSDLPart { |
40 public final class WSDLPartImpl extends AbstractObjectImpl implements EditableWSDLPart { |
40 private final String name; |
41 private final String name; |
41 private ParameterBinding binding; |
42 private ParameterBinding binding; |
42 private int index; |
43 private int index; |
43 private final WSDLPartDescriptor descriptor; |
44 private final WSDLPartDescriptor descriptor; |
44 |
45 |