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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addBinding(EditableWSDLBoundPortType portType)
Add Bindingvoid
addMessage(EditableWSDLMessage msg)
Add messagevoid
addPortType(EditableWSDLPortType pt)
Add port typevoid
addService(EditableWSDLService svc)
Add servicevoid
finalizeRpcLitBinding(EditableWSDLBoundPortType portType)
Finalize rpc-lit bindingvoid
freeze()
Freezes WSDL model to prevent further modificationEditableWSDLBoundPortType
getBinding(QName name)
GetsWSDLBoundPortType
that modelswsdl:binding
EditableWSDLBoundPortType
getBinding(QName serviceName, QName portName)
Give aWSDLBoundPortType
for the given wsdl:service and wsdl:port names.Map<QName,? extends EditableWSDLBoundPortType>
getBindings()
EditableWSDLMessage
getMessage(QName name)
Returns the message with the given QNameMap<QName,? extends EditableWSDLMessage>
getMessages()
Gives aMap
of wsdl:message qualified name andcom.sun.xml.ws.api.model.wsdl.WSDLMesage
EditableWSDLPortType
getPortType(QName name)
GetsWSDLPortType
that modelswsdl:portType
Map<QName,? extends EditableWSDLPortType>
getPortTypes()
EditableWSDLService
getService(QName name)
GetsWSDLService
that modelswsdl:service
Map<QName,? extends EditableWSDLService>
getServices()
Gives aMap
of wsdl:service qualified name andWSDLService
void
setPolicyMap(PolicyMap policyMap)
Deprecated.-
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.WSDLModel
getFirstServiceName, getPolicyMap
-
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
GetsWSDLPortType
that modelswsdl:portType
- Specified by:
getPortType
in interfaceWSDLModel
- Parameters:
name
- non-null quaified name of wsdl:message, where the localName is the value ofwsdl: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
GetsWSDLBoundPortType
that modelswsdl:binding
- Specified by:
getBinding
in interfaceWSDLModel
- Parameters:
name
- non-null quaified name of wsdl:binding, where the localName is the value ofwsdl: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 aWSDLBoundPortType
for the given wsdl:service and wsdl:port names.- Specified by:
getBinding
in interfaceWSDLModel
- Parameters:
serviceName
- service QNameportName
- 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
GetsWSDLService
that modelswsdl:service
- Specified by:
getService
in interfaceWSDLModel
- Parameters:
name
- non-null quaified name of wsdl:service, where the localName is the value ofwsdl: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 aMap
of wsdl:message qualified name andcom.sun.xml.ws.api.model.wsdl.WSDLMesage
- Specified by:
getMessages
in interfaceWSDLModel
- 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
- Specified by:
getPortTypes
in interfaceWSDLModel
- 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
- Specified by:
getBindings
in interfaceWSDLModel
- 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 aMap
of wsdl:service qualified name andWSDLService
- Specified by:
getServices
in interfaceWSDLModel
- 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 interfaceWSDLModel
- 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
-
-