public final class WSDLServiceImpl extends AbstractExtensibleImpl implements WSDLService
WSDLServiceAbstractExtensibleImpl.UnknownWSDLExtensionextensions, notUnderstoodExtensions| Constructor and Description |
|---|
WSDLServiceImpl(javax.xml.stream.XMLStreamReader xsr,
WSDLModelImpl parent,
QName name) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
freeze(WSDLModelImpl root) |
WSDLPortImpl |
get(QName portName)
Gets the
WSDLPort for a given port name |
WSDLPort |
getFirstPort()
Gets the first
WSDLPort if any, or otherwise null. |
WSDLPortImpl |
getMatchingPort(QName portTypeName)
gets the first port in this service which matches the portType
|
QName |
getName()
Gets the name of the wsdl:service@name attribute value as local name and wsdl:definitions@targetNamespace
as the namespace uri.
|
WSDLModelImpl |
getParent()
Gets the
WSDLModel that owns this service. |
Iterable<WSDLPortImpl> |
getPorts()
Gives all the
WSDLPort in a wsdl:service WSDLService |
void |
put(QName portName,
WSDLPortImpl port)
Populates the Map that holds port name as key and
WSDLPort as the value. |
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensionsgetLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, getExtensions, getExtensionsgetLocationpublic WSDLServiceImpl(javax.xml.stream.XMLStreamReader xsr, WSDLModelImpl parent, QName name)
@NotNull public WSDLModelImpl getParent()
WSDLServiceWSDLModel that owns this service.getParent in interface WSDLServicepublic QName getName()
WSDLServicegetName in interface WSDLServicepublic WSDLPortImpl get(QName portName)
WSDLServiceWSDLPort for a given port nameget in interface WSDLServiceportName - non-null operationNameWSDLPort is not foundpublic WSDLPort getFirstPort()
WSDLServiceWSDLPort if any, or otherwise null.getFirstPort in interface WSDLServicepublic Iterable<WSDLPortImpl> getPorts()
WSDLServiceWSDLPort in a wsdl:service WSDLServicegetPorts in interface WSDLService@Nullable public WSDLPortImpl getMatchingPort(QName portTypeName)
public void put(QName portName, WSDLPortImpl port)
WSDLPort as the value.portName - Must be non-nullport - Must be non-nullNullPointerException - if either opName or ptOp is nullvoid freeze(WSDLModelImpl root)
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.