|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.schema.api.abstractElmt.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
public class ServiceImpl
Field Summary |
---|
Fields inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractServiceImpl |
---|
desc, endpoints |
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
---|
documentation, model, parent |
Constructor Summary | |
---|---|
ServiceImpl(ServiceType service,
DescriptionImpl desc)
|
Method Summary | |
---|---|
void |
addEndpoint(Endpoint endpoint)
Add a endpoint to this service. |
Endpoint |
createEndpoint()
create the specified endpoint. |
InterfaceType |
getInterface()
Get interface. |
java.util.List<org.w3c.dom.Element> |
getOtherElements()
Get all the extensibility elements defined here. |
javax.xml.namespace.QName |
getQName()
Get the name of this service. |
Endpoint |
removeEndpoint(java.lang.String name)
Remove the specified endpoint. |
static ServiceType |
replaceDOMElementByServiceType(WSDLElement parent,
org.w3c.dom.Element childToReplace,
WSDLReaderImpl reader)
|
void |
setInterface(InterfaceType itf)
|
void |
setQName(javax.xml.namespace.QName name)
Set the name of this service. |
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractServiceImpl |
---|
getDescription, getEndpoint, getEndpoints |
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl |
---|
addOtherElements, createDocumentation, getDocumentation, getModel, getOtherAttributes, setDocumentation, toString |
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.wsdl.api.abstractItf.AbsItfService |
---|
getEndpoint, getEndpoints |
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement |
---|
addOtherElements |
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
---|
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation |
Constructor Detail |
---|
public ServiceImpl(ServiceType service, DescriptionImpl desc)
Method Detail |
---|
public void addEndpoint(Endpoint endpoint)
AbsItfService
addEndpoint
in interface AbsItfService<InterfaceType,Endpoint>
addEndpoint
in class AbstractServiceImpl<ServiceType,InterfaceType,Endpoint>
endpoint
- the endpoint to be addedpublic javax.xml.namespace.QName getQName()
AbsItfService
getQName
in interface AbsItfService<InterfaceType,Endpoint>
public Endpoint removeEndpoint(java.lang.String name)
AbsItfService
removeEndpoint
in interface AbsItfService<InterfaceType,Endpoint>
name
- the name of the endpoint to be removed.
public void setQName(javax.xml.namespace.QName name)
AbsItfService
setQName
in interface AbsItfService<InterfaceType,Endpoint>
name
- the desired namepublic InterfaceType getInterface() throws WSDLException
Get interface.
In case of WSDL 2.0, the returned interface is defined by the XPath expression '/description/service@interface'.
In case of WSDL 1.1, according to WSDL 1.1 specifications,
if all service endpoints share the same port type, the returned interface
is defined by the endpoints port type, otherwise an exception
WSDLException
is thrown.
getInterface
in interface AbsItfService<InterfaceType,Endpoint>
WSDLException
public java.util.List<org.w3c.dom.Element> getOtherElements() throws org.ow2.easywsdl.schema.api.XmlException
AbstractWSDLElementImpl
getOtherElements
in interface org.ow2.easywsdl.schema.api.XMLElement
getOtherElements
in class AbstractWSDLElementImpl<ServiceType>
org.ow2.easywsdl.schema.api.XmlException
public Endpoint createEndpoint()
AbsItfService
createEndpoint
in interface AbsItfService<InterfaceType,Endpoint>
public void setInterface(InterfaceType itf)
setInterface
in interface AbsItfService<InterfaceType,Endpoint>
public static ServiceType replaceDOMElementByServiceType(WSDLElement parent, org.w3c.dom.Element childToReplace, WSDLReaderImpl reader) throws WSDLException
WSDLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |