1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLInputImpl.java Thu Sep 26 10:43:28 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLInputImpl.java Fri Oct 04 16:21:34 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -25,11 +25,11 @@ 1.11 1.12 package com.sun.xml.internal.ws.model.wsdl; 1.13 1.14 -import com.sun.xml.internal.ws.api.model.wsdl.WSDLInput; 1.15 -import com.sun.xml.internal.ws.api.model.wsdl.WSDLMessage; 1.16 -import com.sun.xml.internal.ws.api.model.wsdl.WSDLOperation; 1.17 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLInput; 1.18 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLMessage; 1.19 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLModel; 1.20 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; 1.21 import com.sun.istack.internal.NotNull; 1.22 -import com.sun.istack.internal.Nullable; 1.23 1.24 import javax.xml.namespace.QName; 1.25 import javax.xml.stream.XMLStreamReader; 1.26 @@ -37,15 +37,15 @@ 1.27 /** 1.28 * @author Vivek Pandey 1.29 */ 1.30 -public final class WSDLInputImpl extends AbstractExtensibleImpl implements WSDLInput { 1.31 +public final class WSDLInputImpl extends AbstractExtensibleImpl implements EditableWSDLInput { 1.32 private String name; 1.33 private QName messageName; 1.34 - private WSDLOperationImpl operation; 1.35 - private WSDLMessageImpl message; 1.36 + private EditableWSDLOperation operation; 1.37 + private EditableWSDLMessage message; 1.38 private String action; 1.39 private boolean defaultAction = true; 1.40 1.41 - public WSDLInputImpl(XMLStreamReader xsr,String name, QName messageName, WSDLOperationImpl operation) { 1.42 + public WSDLInputImpl(XMLStreamReader xsr,String name, QName messageName, EditableWSDLOperation operation) { 1.43 super(xsr); 1.44 this.name = name; 1.45 this.messageName = messageName; 1.46 @@ -59,7 +59,7 @@ 1.47 return (operation.isOneWay())?operation.getName().getLocalPart():operation.getName().getLocalPart()+"Request"; 1.48 } 1.49 1.50 - public WSDLMessage getMessage() { 1.51 + public EditableWSDLMessage getMessage() { 1.52 return message; 1.53 } 1.54 1.55 @@ -68,7 +68,7 @@ 1.56 } 1.57 1.58 @NotNull 1.59 - public WSDLOperation getOperation() { 1.60 + public EditableWSDLOperation getOperation() { 1.61 return operation; 1.62 } 1.63 1.64 @@ -88,7 +88,7 @@ 1.65 this.defaultAction = defaultAction; 1.66 } 1.67 1.68 - void freeze(WSDLModelImpl parent) { 1.69 + public void freeze(EditableWSDLModel parent) { 1.70 message = parent.getMessage(messageName); 1.71 } 1.72 }