com.sun.xml.ws.api.model.wsdl.editable
Interface EditableWSDLService

All Superinterfaces:
WSDLExtensible, WSDLObject, WSDLService
All Known Implementing Classes:
WSDLServiceImpl

public interface EditableWSDLService
extends WSDLService


Method Summary
 void freeze(EditableWSDLModel root)
          Freezes WSDL model to prevent further modification
 EditableWSDLPort get(QName portName)
          Gets the WSDLPort for a given port name
 EditableWSDLPort getFirstPort()
          Gets the first WSDLPort if any, or otherwise null.
 EditableWSDLPort getMatchingPort(QName portTypeName)
          Gets the first port in this service which matches the portType
 EditableWSDLModel getParent()
          Gets the WSDLModel that owns this service.
 Iterable<? extends EditableWSDLPort> getPorts()
          Gives all the WSDLPort in a wsdl:service WSDLService
 void put(QName portName, EditableWSDLPort port)
          Associate WSDL port with port QName
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLService
getName
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensions
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
 

Method Detail

getParent

@NotNull
EditableWSDLModel getParent()
Description copied from interface: WSDLService
Gets the WSDLModel that owns this service.

Specified by:
getParent in interface WSDLService

get

EditableWSDLPort get(QName portName)
Description copied from interface: WSDLService
Gets the WSDLPort for a given port name

Specified by:
get in interface WSDLService
Parameters:
portName - non-null operationName
Returns:
null if a WSDLPort is not found

getFirstPort

EditableWSDLPort getFirstPort()
Description copied from interface: WSDLService
Gets the first WSDLPort if any, or otherwise null.

Specified by:
getFirstPort in interface WSDLService

getMatchingPort

@Nullable
EditableWSDLPort getMatchingPort(QName portTypeName)
Description copied from interface: WSDLService
Gets the first port in this service which matches the portType

Specified by:
getMatchingPort in interface WSDLService

getPorts

Iterable<? extends EditableWSDLPort> getPorts()
Description copied from interface: WSDLService
Gives all the WSDLPort in a wsdl:service WSDLService

Specified by:
getPorts in interface WSDLService

put

void put(QName portName,
         EditableWSDLPort port)
Associate WSDL port with port QName

Parameters:
portName - Port QName
port - Port

freeze

void freeze(EditableWSDLModel root)
Freezes WSDL model to prevent further modification

Parameters:
root - WSDL Model


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.