org.ws4d.java.wsdl
Class WSDLService

java.lang.Object
  extended by org.ws4d.java.wsdl.NamedItem
      extended by org.ws4d.java.wsdl.WSDLService

public class WSDLService
extends NamedItem


Constructor Summary
WSDLService()
           
WSDLService(QName name)
           
 
Method Summary
 void addPort(WSDLPort port)
          Adds a port to this service.
 boolean containsPortsForBinding(QName bindingName)
           
 DataStructure getOperations()
          Returns a data structure containing the operations of all port this service comprises.
 WSDLPort getPort(java.lang.String name)
           
 DataStructure getPorts()
          Returns a DataStructure containing all ports from within this service.
 DataStructure getPortTypes()
           
 WSDL getWsdl()
           
 java.lang.String toString()
           
 
Methods inherited from class org.ws4d.java.wsdl.NamedItem
getLocalName, getName, getNamespace, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WSDLService

public WSDLService()

WSDLService

public WSDLService(QName name)
Parameters:
name -
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class NamedItem

getOperations

public DataStructure getOperations()
Returns a data structure containing the operations of all port this service comprises.

Returns:
a data structure containing all operations within the ports of this service

getPortTypes

public DataStructure getPortTypes()

addPort

public void addPort(WSDLPort port)
Adds a port to this service.

Parameters:
port - the port to add

getPort

public WSDLPort getPort(java.lang.String name)
Parameters:
name - the local name of the port to return
Returns:
the named port or null

getPorts

public DataStructure getPorts()
Returns a DataStructure containing all ports from within this service.

Returns:
a DataStructure containing all ports from this service

containsPortsForBinding

public boolean containsPortsForBinding(QName bindingName)

getWsdl

public WSDL getWsdl()
Returns:
the wsdl