org.apache.woden.wsdl20
Interface Service

All Superinterfaces:
WSDLComponent
All Known Implementing Classes:
ServiceImpl

public interface Service
extends WSDLComponent

Represents the Service component from the WSDL 2.0 Component model.

Author:
John Kaputin (jkaputin@apache.org)

Method Summary
 Endpoint getEndpoint(NCName name)
          Returns the Endpoint with the specified local name from the {endpoints} property of this Service.
 Endpoint[] getEndpoints()
          Represents the {endpoints} property of the Service component.
 Interface getInterface()
          Represents the {interface} property of the Service component.
 QName getName()
          Returns the qualified name representing the {name} property of this Service.
 ServiceElement toElement()
          Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.
 
Methods inherited from interface org.apache.woden.wsdl20.WSDLComponent
equals, getComponentExtensionsForNamespace
 

Method Detail

getName

QName getName()
Returns the qualified name representing the {name} property of this Service.

Returns:
QName representing the name of this Service

getInterface

Interface getInterface()
Represents the {interface} property of the Service component. This is the Interface component that this Service defines Endpoints for.

Returns:
Interface associated with this Service

getEndpoints

Endpoint[] getEndpoints()
Represents the {endpoints} property of the Service component. This is the set of Endpoints declared by this Service. The method will return an empty array if there are no endpoints.

Returns:
an array of Endpoint objects

getEndpoint

Endpoint getEndpoint(NCName name)
Returns the Endpoint with the specified local name from the {endpoints} property of this Service. That is, from the set of Endpoints defined by this Service. If the name parameter is null, this method will return null.

Parameters:
name - the local name of the Endpoint
Returns:
the named Endpoint

toElement

ServiceElement toElement()
Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.

Returns:
the ServiceElement that maps to this Service


Copyright © 2007. All Rights Reserved.