org.ow2.easywsdl.wsdl.impl.wsdl20
Class ServiceImpl
java.lang.Object
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.xml.impl.AbstractXMLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractServiceImpl<ServiceType,InterfaceType,Endpoint>
org.ow2.easywsdl.wsdl.impl.wsdl20.ServiceImpl
- All Implemented Interfaces:
- java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, AbsItfService<InterfaceType,Endpoint>, Service, WSDLElement, org.ow2.easywsdl.xml.api.XMLElement
public class ServiceImpl
- extends AbstractServiceImpl<ServiceType,InterfaceType,Endpoint>
- implements Service
- Author:
- Nicolas Salatge - eBM WebSourcing
- See Also:
- Serialized Form
| Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
model, parent |
| Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
getParent, getSchema, getTopParent, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation |
ServiceImpl
public ServiceImpl(ServiceType service,
DescriptionImpl desc)
addEndpoint
public void addEndpoint(Endpoint endpoint)
- Description copied from interface:
AbsItfService
- Add a endpoint to this service.
- Specified by:
addEndpoint in interface AbsItfService<InterfaceType,Endpoint>- Overrides:
addEndpoint in class AbstractServiceImpl<ServiceType,InterfaceType,Endpoint>
- Parameters:
endpoint - the endpoint to be added
getQName
public javax.xml.namespace.QName getQName()
- Description copied from interface:
AbsItfService
- Get the name of this service.
- Specified by:
getQName in interface AbsItfService<InterfaceType,Endpoint>
- Returns:
- the service name
removeEndpoint
public Endpoint removeEndpoint(java.lang.String name)
- Description copied from interface:
AbsItfService
- Remove the specified endpoint.
- Specified by:
removeEndpoint in interface AbsItfService<InterfaceType,Endpoint>
- Parameters:
name - the name of the endpoint to be removed.
- Returns:
- the endpoint which was removed.
setQName
public void setQName(javax.xml.namespace.QName name)
- Description copied from interface:
AbsItfService
- Set the name of this service.
- Specified by:
setQName in interface AbsItfService<InterfaceType,Endpoint>
- Parameters:
name - the desired name
getInterface
public InterfaceType getInterface()
throws WSDLException
- Description copied from interface:
AbsItfService
- Get interface.
- Specified by:
getInterface in interface AbsItfService<InterfaceType,Endpoint>
- Throws:
WSDLException
getOtherElements
public java.util.List<org.w3c.dom.Element> getOtherElements()
throws org.ow2.easywsdl.schema.api.XmlException
- Description copied from class:
AbstractWSDLElementImpl
- Get all the extensibility elements defined here.
- Specified by:
getOtherElements in interface org.ow2.easywsdl.xml.api.XMLElement- Overrides:
getOtherElements in class AbstractWSDLElementImpl<ServiceType>
- Throws:
org.ow2.easywsdl.schema.api.XmlException
createEndpoint
public Endpoint createEndpoint()
- Description copied from interface:
AbsItfService
- create the specified endpoint.
- Specified by:
createEndpoint in interface AbsItfService<InterfaceType,Endpoint>
- Returns:
- the corresponding endpoint, or null if there wasn't any matching
endpoint
setInterface
public void setInterface(InterfaceType itf)
- Specified by:
setInterface in interface AbsItfService<InterfaceType,Endpoint>
Copyright © 2008 eBM WebSourcing. All Rights Reserved.