public final class WSDLServiceImpl extends AbstractExtensibleImpl implements WSDLService
WSDLService
AbstractExtensibleImpl.UnknownWSDLExtension
extensions, 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, getExtensions
getLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExtension, getExtension, getExtensions, getExtensions
getLocation
public WSDLServiceImpl(javax.xml.stream.XMLStreamReader xsr, WSDLModelImpl parent, QName name)
@NotNull public WSDLModelImpl getParent()
WSDLService
WSDLModel
that owns this service.getParent
in interface WSDLService
public QName getName()
WSDLService
getName
in interface WSDLService
public WSDLPortImpl get(QName portName)
WSDLService
WSDLPort
for a given port nameget
in interface WSDLService
portName
- non-null operationNameWSDLPort
is not foundpublic WSDLPort getFirstPort()
WSDLService
WSDLPort
if any, or otherwise null.getFirstPort
in interface WSDLService
public Iterable<WSDLPortImpl> getPorts()
WSDLService
WSDLPort
in a wsdl:service WSDLService
getPorts
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.