org.jvnet.wom.impl
Class WSDLPortTypeImpl

java.lang.Object
  extended by org.jvnet.wom.api.WSDLEntity
      extended by org.jvnet.wom.api.WSDLPortType
          extended by org.jvnet.wom.impl.WSDLPortTypeImpl
All Implemented Interfaces:
WSDLExtensible

public class WSDLPortTypeImpl
extends WSDLPortType

Author:
Vivek Pandey

Constructor Summary
WSDLPortTypeImpl(org.xml.sax.Locator locator, javax.xml.namespace.QName name, WSDLDocumentImpl document)
           
 
Method Summary
 void addOperation(WSDLOperationImpl op)
           
 WSDLOperation get(javax.xml.namespace.QName operationName)
          Gets the WSDLOperation for a given operation name
 java.lang.String getDocumentation()
          Gives the Comment on a WSDL component.
 java.lang.Iterable<WSDLOperation> getOperations()
          Gets Iterable<{$link WSDLOperation}>
 void setDocumentation(java.lang.String doc)
           
<V,P> V
visit(WSDLVisitor<V,P> visitor, P param)
          WSDL visitor
 
Methods inherited from class org.jvnet.wom.api.WSDLEntity
addExtension, getExtension, getExtensions, getFirstExtension, getLocation, getName, getOwnerWSDLModel, getWSDLDocument, setOwnerWSDLDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLPortTypeImpl

public WSDLPortTypeImpl(org.xml.sax.Locator locator,
                        javax.xml.namespace.QName name,
                        WSDLDocumentImpl document)
Method Detail

get

public WSDLOperation get(javax.xml.namespace.QName operationName)
Description copied from class: WSDLPortType
Gets the WSDLOperation for a given operation name

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

addOperation

public void addOperation(WSDLOperationImpl op)

getOperations

public java.lang.Iterable<WSDLOperation> getOperations()
Description copied from class: WSDLPortType
Gets Iterable<{$link WSDLOperation}>

Specified by:
getOperations in class WSDLPortType

setDocumentation

public void setDocumentation(java.lang.String doc)

getDocumentation

public java.lang.String getDocumentation()
Description copied from class: WSDLEntity
Gives the Comment on a WSDL component. This is the content of <wsdl:document>

Overrides:
getDocumentation in class WSDLEntity
Returns:
"" if there is no documentation

visit

public <V,P> V visit(WSDLVisitor<V,P> visitor,
                     P param)
Description copied from class: WSDLEntity
WSDL visitor

Specified by:
visit in class WSDLEntity


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.