com.sun.xml.ws.model.wsdl
Class WSDLPortTypeImpl

java.lang.Object
  extended by com.sun.xml.ws.model.wsdl.AbstractObjectImpl
      extended by com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
          extended by com.sun.xml.ws.model.wsdl.WSDLPortTypeImpl
All Implemented Interfaces:
WSDLExtensible, WSDLObject, WSDLPortType

public final class WSDLPortTypeImpl
extends AbstractExtensibleImpl
implements WSDLPortType

Provides implementation of WSDLPortType


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
AbstractExtensibleImpl.UnknownWSDLExtension
 
Field Summary
 
Fields inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
extensions, notUnderstoodExtensions
 
Constructor Summary
WSDLPortTypeImpl(javax.xml.stream.XMLStreamReader xsr, WSDLModelImpl owner, QName name)
           
 
Method Summary
(package private)  void freeze()
           
 WSDLOperationImpl get(String operationName)
          Gets the WSDLOperation for a given operation name
 QName getName()
          Gets the name of the wsdl:portType@name attribute value as local name and wsdl:definitions@targetNamespace as the namespace uri.
 Iterable<WSDLOperationImpl> getOperations()
          Gets Iterable<{$link WSDLOperation}>
(package private)  WSDLModelImpl getOwner()
           
 void put(String opName, WSDLOperationImpl ptOp)
          Populates the Map that holds operation name as key and WSDLOperation as the value.
 
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
 

Constructor Detail

WSDLPortTypeImpl

public WSDLPortTypeImpl(javax.xml.stream.XMLStreamReader xsr,
                        WSDLModelImpl owner,
                        QName name)
Method Detail

getName

public QName getName()
Description copied from interface: WSDLPortType
Gets the name of the wsdl:portType@name attribute value as local name and wsdl:definitions@targetNamespace as the namespace uri.

Specified by:
getName in interface WSDLPortType

get

public WSDLOperationImpl get(String operationName)
Description copied from interface: WSDLPortType
Gets the WSDLOperation for a given operation name

Specified by:
get in interface WSDLPortType
Parameters:
operationName - non-null operationName
Returns:
null if a WSDLOperation is not found

getOperations

public Iterable<WSDLOperationImpl> getOperations()
Description copied from interface: WSDLPortType
Gets Iterable<{$link WSDLOperation}>

Specified by:
getOperations in interface WSDLPortType

put

public void put(String opName,
                WSDLOperationImpl ptOp)
Populates the Map that holds operation name as key and WSDLOperation as the value.

Parameters:
opName - Must be non-null
ptOp - Must be non-null
Throws:
NullPointerException - if either opName or ptOp is null

getOwner

WSDLModelImpl getOwner()

freeze

void freeze()