public final class WSDLModelImpl extends AbstractExtensibleImpl implements WSDLModel
WSDLModelAbstractExtensibleImpl.UnknownWSDLExtensionWSDLModel.WSDLParserextensions, notUnderstoodExtensions| Constructor and Description |
|---|
WSDLModelImpl()
To create
WSDLModelImpl from WSDL that doesn't have a system ID. |
WSDLModelImpl(String systemId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBinding(WSDLBoundPortTypeImpl boundPortType) |
void |
addMessage(WSDLMessageImpl msg) |
void |
addPortType(WSDLPortTypeImpl pt) |
void |
addService(WSDLServiceImpl svc) |
(package private) void |
finalizeRpcLitBinding(WSDLBoundPortTypeImpl boundPortType) |
void |
freeze()
Invoked at the end of the model construction to fix up references, etc.
|
WSDLBoundPortTypeImpl |
getBinding(QName name)
Gets
WSDLBoundPortType that models wsdl:binding |
WSDLBoundPortTypeImpl |
getBinding(QName serviceName,
QName portName)
Give a
WSDLBoundPortType for the given wsdl:service and wsdl:port names. |
Map<QName,WSDLBoundPortType> |
getBindings()
|
QName |
getFirstPortName()
Returns first port QName from first service as per the insertion order
|
QName |
getFirstServiceName()
Returns the first service QName from insertion order
|
WSDLPortImpl |
getMatchingPort(QName serviceName,
QName portType)
gets the first port in the wsdl which matches the serviceName and portType
|
WSDLMessageImpl |
getMessage(QName name) |
Map<QName,WSDLMessageImpl> |
getMessages() |
com.sun.xml.ws.policy.PolicyMap |
getPolicyMap()
Gives the PolicyMap associated with the WSDLModel
|
WSDLPortTypeImpl |
getPortType(QName name)
Gets
WSDLPortType that models wsdl:portType |
Map<QName,WSDLPortTypeImpl> |
getPortTypes()
|
WSDLServiceImpl |
getService(QName name)
Gets
WSDLService that models wsdl:service |
Map<QName,WSDLServiceImpl> |
getServices()
Gives a
Map of wsdl:service qualified name and WSDLService |
void |
setPolicyMap(com.sun.xml.ws.policy.PolicyMap policyMap)
Set PolicyMap for the WSDLModel.
|
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensionsgetLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, getExtensions, getExtensionsgetLocationpublic WSDLModelImpl(@NotNull
String systemId)
public WSDLModelImpl()
WSDLModelImpl from WSDL that doesn't have a system ID.public void addMessage(WSDLMessageImpl msg)
public WSDLMessageImpl getMessage(QName name)
public void addPortType(WSDLPortTypeImpl pt)
public WSDLPortTypeImpl getPortType(QName name)
WSDLModelWSDLPortType that models wsdl:portTypegetPortType in interface WSDLModelname - 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@targetNamespaceWSDLPortType or null if no wsdl:portType found.public void addBinding(WSDLBoundPortTypeImpl boundPortType)
public WSDLBoundPortTypeImpl getBinding(QName name)
WSDLModelWSDLBoundPortType that models wsdl:bindinggetBinding in interface WSDLModelname - 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@targetNamespaceWSDLBoundPortType or null if no wsdl:binding foundpublic void addService(WSDLServiceImpl svc)
public WSDLServiceImpl getService(QName name)
WSDLModelWSDLService that models wsdl:servicegetService in interface WSDLModelname - 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@targetNamespaceWSDLService or null if no wsdl:service foundpublic Map<QName,WSDLMessageImpl> getMessages()
@NotNull public Map<QName,WSDLPortTypeImpl> getPortTypes()
WSDLModelgetPortTypes in interface WSDLModel@NotNull public Map<QName,WSDLBoundPortType> getBindings()
WSDLModelgetBindings in interface WSDLModel@NotNull public Map<QName,WSDLServiceImpl> getServices()
WSDLModelMap of wsdl:service qualified name and WSDLServicegetServices in interface WSDLModelpublic QName getFirstServiceName()
public QName getFirstPortName()
public WSDLPortImpl getMatchingPort(QName serviceName, QName portType)
public WSDLBoundPortTypeImpl getBinding(QName serviceName, QName portName)
WSDLModelWSDLBoundPortType for the given wsdl:service and wsdl:port names.getBinding in interface WSDLModelserviceName - non-null service QNameportName - non-null port QNamevoid finalizeRpcLitBinding(WSDLBoundPortTypeImpl boundPortType)
public com.sun.xml.ws.policy.PolicyMap getPolicyMap()
getPolicyMap in interface WSDLModelpublic void setPolicyMap(com.sun.xml.ws.policy.PolicyMap policyMap)
policyMap - public void freeze()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.