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 voidaddBinding(EditableWSDLBoundPortType portType)Add BindingvoidaddMessage(EditableWSDLMessage msg)Add messagevoidaddPortType(EditableWSDLPortType pt)Add port typevoidaddService(EditableWSDLService svc)Add servicevoidfinalizeRpcLitBinding(EditableWSDLBoundPortType portType)Finalize rpc-lit bindingvoidfreeze()Freezes WSDL model to prevent further modificationEditableWSDLBoundPortTypegetBinding(QName name)GetsWSDLBoundPortTypethat modelswsdl:bindingEditableWSDLBoundPortTypegetBinding(QName serviceName, QName portName)Give aWSDLBoundPortTypefor the given wsdl:service and wsdl:port names.Map<QName,? extends EditableWSDLBoundPortType>getBindings()EditableWSDLMessagegetMessage(QName name)Returns the message with the given QNameMap<QName,? extends EditableWSDLMessage>getMessages()Gives aMapof wsdl:message qualified name andWSDLMessageEditableWSDLPortTypegetPortType(QName name)GetsWSDLPortTypethat modelswsdl:portTypeMap<QName,? extends EditableWSDLPortType>getPortTypes()EditableWSDLServicegetService(QName name)GetsWSDLServicethat modelswsdl:serviceMap<QName,? extends EditableWSDLService>getServices()Gives aMapof wsdl:service qualified name andWSDLServicevoidsetPolicyMap(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:WSDLModelGetsWSDLPortTypethat modelswsdl:portType- Specified by:
getPortTypein interfaceWSDLModel- Parameters:
name- non-null quaified name of wsdl:message, where the localName is the value ofwsdl:portType@nameand the namespaceURI is the value of wsdl:definitions@targetNamespace- Returns:
- A
WSDLPortTypeor 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:WSDLModelGetsWSDLBoundPortTypethat modelswsdl:binding- Specified by:
getBindingin interfaceWSDLModel- Parameters:
name- non-null quaified name of wsdl:binding, where the localName is the value ofwsdl:binding@nameand the namespaceURI is the value of wsdl:definitions@targetNamespace- Returns:
- A
WSDLBoundPortTypeor null if no wsdl:binding found
-
getBinding
EditableWSDLBoundPortType getBinding(@NotNull QName serviceName, @NotNull QName portName)
Description copied from interface:WSDLModelGive aWSDLBoundPortTypefor the given wsdl:service and wsdl:port names.- Specified by:
getBindingin 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:WSDLModelGetsWSDLServicethat modelswsdl:service- Specified by:
getServicein interfaceWSDLModel- Parameters:
name- non-null quaified name of wsdl:service, where the localName is the value ofwsdl:service@nameand the namespaceURI is the value of wsdl:definitions@targetNamespace- Returns:
- A
WSDLServiceor null if no wsdl:service found
-
getMessages
@NotNull Map<QName,? extends EditableWSDLMessage> getMessages()
Description copied from interface:WSDLModelGives aMapof wsdl:message qualified name andWSDLMessage- Specified by:
getMessagesin 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:
getPortTypesin 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:
getBindingsin interfaceWSDLModel- Returns:
- an empty Map if the wsdl document has no wsdl:binding
-
getServices
@NotNull Map<QName,? extends EditableWSDLService> getServices()
Description copied from interface:WSDLModelGives aMapof wsdl:service qualified name andWSDLService- Specified by:
getServicesin 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:WSDLModelReturns the message with the given QName- Specified by:
getMessagein 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
-
-