org.jvnet.wom.impl
Class WSDLServiceImpl

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

public class WSDLServiceImpl
extends WSDLService

Author:
Vivek Pandey

Constructor Summary
WSDLServiceImpl(org.xml.sax.Locator locator, javax.xml.namespace.QName name, WSDLDocumentImpl document)
           
 
Method Summary
 void add(WSDLPortImpl port)
           
 WSDLPortImpl get(javax.xml.namespace.QName portName)
          Gets the WSDLPort for a given port name
 java.lang.String getDocumentation()
          Gives the Comment on a WSDL component.
 WSDLDefinitionsImpl getOwner()
           
 java.lang.Iterable<? extends WSDLPortImpl> getPorts()
          Gives all the WSDLPort in a wsdl:service WSDLService
 void setDocumentation(java.lang.String doc)
           
 void setOwner(WSDLDefinitionsImpl owner)
           
<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

WSDLServiceImpl

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

getOwner

public WSDLDefinitionsImpl getOwner()

setOwner

public void setOwner(WSDLDefinitionsImpl owner)

get

public WSDLPortImpl get(javax.xml.namespace.QName portName)
Description copied from class: WSDLService
Gets the WSDLPort for a given port name

Specified by:
get in class WSDLService
Parameters:
portName - non-null operationName
Returns:
null if a WSDLPort is not found

getPorts

public java.lang.Iterable<? extends WSDLPortImpl> getPorts()
Description copied from class: WSDLService
Gives all the WSDLPort in a wsdl:service WSDLService

Specified by:
getPorts in class WSDLService

add

public void add(WSDLPortImpl port)

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.