|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.model.wsdl.AbstractObjectImpl
com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
com.sun.xml.ws.model.wsdl.WSDLModelImpl
public final class WSDLModelImpl
Implementation of WSDLModel
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl |
---|
AbstractExtensibleImpl.UnknownWSDLExtension |
Nested classes/interfaces inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLModel |
---|
WSDLModel.WSDLParser |
Field Summary |
---|
Fields inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl |
---|
extensions, notUnderstoodExtensions |
Constructor Summary | |
---|---|
WSDLModelImpl()
To create WSDLModelImpl from WSDL that doesn't have a system ID. |
|
WSDLModelImpl(String systemId)
|
Method Summary | |
---|---|
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()
Gives a Map of wsdl:binding QName and WSDLBoundPortType |
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()
|
WSDLPortTypeImpl |
getPortType(QName name)
Gets WSDLPortType that models wsdl:portType |
Map<QName,WSDLPortTypeImpl> |
getPortTypes()
Gives a Map of wsdl:portType QName and WSDLPortType |
WSDLServiceImpl |
getService(QName name)
Gets WSDLService that models wsdl:service |
Map<QName,WSDLServiceImpl> |
getServices()
Gives a Map of wsdl:service qualified name and WSDLService |
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl |
---|
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions |
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractObjectImpl |
---|
getLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible |
---|
addExtension, getExtension, getExtensions, getExtensions |
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject |
---|
getLocation |
Constructor Detail |
---|
public WSDLModelImpl(@NotNull String systemId)
public WSDLModelImpl()
WSDLModelImpl
from WSDL that doesn't have a system ID.
Method Detail |
---|
public void addMessage(WSDLMessageImpl msg)
public WSDLMessageImpl getMessage(QName name)
public void addPortType(WSDLPortTypeImpl pt)
public WSDLPortTypeImpl getPortType(QName name)
WSDLModel
WSDLPortType
that models wsdl:portType
getPortType
in interface WSDLModel
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
WSDLPortType
or null if no wsdl:portType found.public void addBinding(WSDLBoundPortTypeImpl boundPortType)
public WSDLBoundPortTypeImpl getBinding(QName name)
WSDLModel
WSDLBoundPortType
that models wsdl:binding
getBinding
in interface WSDLModel
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
WSDLBoundPortType
or null if no wsdl:binding foundpublic void addService(WSDLServiceImpl svc)
public WSDLServiceImpl getService(QName name)
WSDLModel
WSDLService
that models wsdl:service
getService
in interface WSDLModel
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
WSDLService
or null if no wsdl:service foundpublic Map<QName,WSDLMessageImpl> getMessages()
@NotNull public Map<QName,WSDLPortTypeImpl> getPortTypes()
WSDLModel
Map
of wsdl:portType QName
and WSDLPortType
getPortTypes
in interface WSDLModel
@NotNull public Map<QName,WSDLBoundPortType> getBindings()
WSDLModel
Map
of wsdl:binding QName
and WSDLBoundPortType
getBindings
in interface WSDLModel
@NotNull public Map<QName,WSDLServiceImpl> getServices()
WSDLModel
Map
of wsdl:service qualified name and WSDLService
getServices
in interface WSDLModel
public QName getFirstServiceName()
public QName getFirstPortName()
public WSDLPortImpl getMatchingPort(QName serviceName, QName portType)
public WSDLBoundPortTypeImpl getBinding(QName serviceName, QName portName)
WSDLModel
WSDLBoundPortType
for the given wsdl:service and wsdl:port names.
getBinding
in interface WSDLModel
serviceName
- non-null service QNameportName
- non-null port QName
void finalizeRpcLitBinding(WSDLBoundPortTypeImpl boundPortType)
public void freeze()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |