1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLOutputImpl.java Thu Sep 26 10:43:28 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLOutputImpl.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,9 +25,10 @@ 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.WSDLMessage; 1.15 -import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput; 1.16 -import com.sun.xml.internal.ws.api.model.wsdl.WSDLOperation; 1.17 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLMessage; 1.18 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLModel; 1.19 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; 1.20 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOutput; 1.21 import com.sun.istack.internal.NotNull; 1.22 1.23 import javax.xml.namespace.QName; 1.24 @@ -36,14 +37,15 @@ 1.25 /** 1.26 * @author Vivek Pandey 1.27 */ 1.28 -public final class WSDLOutputImpl extends AbstractExtensibleImpl implements WSDLOutput { 1.29 +public final class WSDLOutputImpl extends AbstractExtensibleImpl implements EditableWSDLOutput { 1.30 private String name; 1.31 private QName messageName; 1.32 - private WSDLOperationImpl operation; 1.33 - private WSDLMessageImpl message; 1.34 + private EditableWSDLOperation operation; 1.35 + private EditableWSDLMessage message; 1.36 private String action; 1.37 private boolean defaultAction = true; 1.38 - public WSDLOutputImpl(XMLStreamReader xsr,String name, QName messageName, WSDLOperationImpl operation) { 1.39 + 1.40 + public WSDLOutputImpl(XMLStreamReader xsr,String name, QName messageName, EditableWSDLOperation operation) { 1.41 super(xsr); 1.42 this.name = name; 1.43 this.messageName = messageName; 1.44 @@ -54,7 +56,7 @@ 1.45 return (name == null)?operation.getName().getLocalPart()+"Response":name; 1.46 } 1.47 1.48 - public WSDLMessage getMessage() { 1.49 + public EditableWSDLMessage getMessage() { 1.50 return message; 1.51 } 1.52 1.53 @@ -71,7 +73,7 @@ 1.54 } 1.55 1.56 @NotNull 1.57 - public WSDLOperation getOperation() { 1.58 + public EditableWSDLOperation getOperation() { 1.59 return operation; 1.60 } 1.61 1.62 @@ -84,7 +86,7 @@ 1.63 this.action = action; 1.64 } 1.65 1.66 - void freeze(WSDLModelImpl root) { 1.67 + public void freeze(EditableWSDLModel root) { 1.68 message = root.getMessage(messageName); 1.69 } 1.70 }