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

All Superinterfaces:
WSDLExtensible, WSDLModel, WSDLObject
All Known Implementing Classes:
WSDLModelImpl

public interface EditableWSDLModel
extends WSDLModel


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLModel
WSDLModel.WSDLParser
 
Method Summary
 void addBinding(EditableWSDLBoundPortType portType)
          Add Binding
 void addMessage(EditableWSDLMessage msg)
          Add message
 void addPortType(EditableWSDLPortType pt)
          Add port type
 void addService(EditableWSDLService svc)
          Add service
 void finalizeRpcLitBinding(EditableWSDLBoundPortType portType)
          Finalize rpc-lit binding
 void freeze()
          Freezes WSDL model to prevent further modification
 EditableWSDLBoundPortType getBinding(QName name)
          Gets WSDLBoundPortType that models wsdl:binding
 EditableWSDLBoundPortType getBinding(QName serviceName, QName portName)
          Give a WSDLBoundPortType for the given wsdl:service and wsdl:port names.
 Map<QName,? extends EditableWSDLBoundPortType> getBindings()
          Gives a Map of wsdl:binding QName and WSDLBoundPortType
 EditableWSDLMessage getMessage(QName name)
          Returns the message with the given QName
 Map<QName,? extends EditableWSDLMessage> getMessages()
          Gives a Map of wsdl:message qualified name and com.sun.xml.ws.api.model.wsdl.WSDLMesage
 EditableWSDLPortType getPortType(QName name)
          Gets WSDLPortType that models wsdl:portType
 Map<QName,? extends EditableWSDLPortType> getPortTypes()
          Gives a Map of wsdl:portType QName and WSDLPortType
 EditableWSDLService getService(QName name)
          Gets WSDLService that models wsdl:service
 Map<QName,? extends EditableWSDLService> getServices()
          Gives a Map of wsdl:service qualified name and WSDLService
 void setPolicyMap(PolicyMap policyMap)
          Deprecated.  
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLModel
getFirstServiceName, getPolicyMap
 
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

getPortType

EditableWSDLPortType getPortType(@NotNull
                                 QName name)
Description copied from interface: WSDLModel
Gets WSDLPortType that models wsdl:portType

Specified by:
getPortType in interface WSDLModel
Parameters:
name - non-null quaified name of wsdl:message, where the localName is the value of wsdl:portType@name and the namespaceURI is the value of wsdl:definitions@targetNamespace
Returns:
A WSDLPortType or null if no wsdl:portType found.

addBinding

void addBinding(EditableWSDLBoundPortType portType)
Add Binding

Parameters:
portType - Bound port type

getBinding

EditableWSDLBoundPortType getBinding(@NotNull
                                     QName name)
Description copied from interface: WSDLModel
Gets WSDLBoundPortType that models wsdl:binding

Specified by:
getBinding in interface WSDLModel
Parameters:
name - non-null quaified name of wsdl:binding, where the localName is the value of wsdl:binding@name and the namespaceURI is the value of wsdl:definitions@targetNamespace
Returns:
A WSDLBoundPortType or null if no wsdl:binding found

getBinding

EditableWSDLBoundPortType getBinding(@NotNull
                                     QName serviceName,
                                     @NotNull
                                     QName portName)
Description copied from interface: WSDLModel
Give a WSDLBoundPortType for the given wsdl:service and wsdl:port names.

Specified by:
getBinding in interface WSDLModel
Parameters:
serviceName - service QName
portName - port QName
Returns:
A WSDLBoundPortType. null if the Binding for the given wsd:service and wsdl:port name are not found.

getService

EditableWSDLService getService(@NotNull
                               QName name)
Description copied from interface: WSDLModel
Gets WSDLService that models wsdl:service

Specified by:
getService in interface WSDLModel
Parameters:
name - non-null quaified name of wsdl:service, where the localName is the value of wsdl:service@name and the namespaceURI is the value of wsdl:definitions@targetNamespace
Returns:
A WSDLService or null if no wsdl:service found

getMessages

@NotNull
Map<QName,? extends EditableWSDLMessage> getMessages()
Description copied from interface: WSDLModel
Gives a Map of wsdl:message qualified name and com.sun.xml.ws.api.model.wsdl.WSDLMesage

Specified by:
getMessages in interface WSDLModel
Returns:
an empty Map if the wsdl document has no wsdl:message

addMessage

void addMessage(EditableWSDLMessage msg)
Add message

Parameters:
msg - Message

getPortTypes

@NotNull
Map<QName,? extends EditableWSDLPortType> getPortTypes()
Description copied from interface: WSDLModel
Gives a Map of wsdl:portType QName and WSDLPortType

Specified by:
getPortTypes in interface WSDLModel
Returns:
an empty Map if the wsdl document has no wsdl:portType

addPortType

void addPortType(EditableWSDLPortType pt)
Add port type

Parameters:
pt - Port type

getBindings

@NotNull
Map<QName,? extends EditableWSDLBoundPortType> getBindings()
Description copied from interface: WSDLModel
Gives a Map of wsdl:binding QName and WSDLBoundPortType

Specified by:
getBindings in interface WSDLModel
Returns:
an empty Map if the wsdl document has no wsdl:binding

getServices

@NotNull
Map<QName,? extends EditableWSDLService> getServices()
Description copied from interface: WSDLModel
Gives a Map of wsdl:service qualified name and WSDLService

Specified by:
getServices in interface WSDLModel
Returns:
an empty Map if the wsdl document has no wsdl:service

addService

void addService(EditableWSDLService svc)
Add service

Parameters:
svc - Service

getMessage

EditableWSDLMessage getMessage(QName name)
Description copied from interface: WSDLModel
Returns the message with the given QName

Specified by:
getMessage in interface WSDLModel
Parameters:
name - Message name
Returns:
Message

setPolicyMap

void setPolicyMap(PolicyMap policyMap)
Deprecated. 

Parameters:
policyMap -

finalizeRpcLitBinding

void finalizeRpcLitBinding(EditableWSDLBoundPortType portType)
Finalize rpc-lit binding

Parameters:
portType - Binding

freeze

void freeze()
Freezes WSDL model to prevent further modification



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