|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.WSDLObjectImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.ServiceImpl
This class represents the Service component and the <service> element.
Constructor Summary | |
ServiceImpl()
|
Method Summary | |
EndpointElement |
addEndpointElement()
Create an EndpointElement with this ServiceElement as its parent and return a reference to it. |
Endpoint |
getEndpoint(NCName name)
Returns the Endpoint with the specified local name from the {endpoints} property of this Service. |
EndpointElement[] |
getEndpointElements()
Return the set of EndpointElements within this ServiceElement. |
Endpoint[] |
getEndpoints()
Represents the {endpoints} property of the Service component. |
Interface |
getInterface()
Represents the {interface} property of the Service component. |
InterfaceElement |
getInterfaceElement()
Return the InterfaceElement referred to by this ServiceElement. |
QName |
getInterfaceName()
Return the name of the InterfaceElement referred to by this ServiceElement. |
QName |
getName()
Returns the qualified name representing the {name} property of this Service. |
WSDLElement |
getParentElement()
|
void |
setInterfaceName(QName qname)
Specify the name of the InterfaceElement referred to by this ServiceElement. |
void |
setName(NCName name)
Set the name of this ServiceElement to the specified NCName. |
void |
setParentElement(WSDLElement parent)
|
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 class org.apache.woden.internal.wsdl20.DocumentableImpl |
addDocumentationElement, getDocumentationElements |
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLObjectImpl |
containsComponent, equals, getComponentExtensionsForNamespace, setComponentExtensions |
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl |
addExtensionElement, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, setExtensionAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.woden.wsdl20.WSDLComponent |
equals, getComponentExtensionsForNamespace |
Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement |
addDocumentationElement, getDocumentationElements |
Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible |
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute |
Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible |
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement |
Constructor Detail |
public ServiceImpl()
Method Detail |
public QName getName()
Service
getName
in interface Service
public Interface getInterface()
Service
getInterface
in interface Service
public Endpoint getEndpoint(NCName name)
Service
getEndpoint
in interface Service
name
- the local name of the Endpoint
public Endpoint[] getEndpoints()
Service
getEndpoints
in interface Service
public ServiceElement toElement()
Service
toElement
in interface Service
public void setName(NCName name)
ServiceElement
name
attribute of the <service> element.
setName
in interface ServiceElement
name
- the NCName that represents the local name of this servicepublic void setInterfaceName(QName qname)
ServiceElement
interface
attribute of the
<service> element.
setInterfaceName
in interface ServiceElement
qname
- the QName of the interfacepublic QName getInterfaceName()
ServiceElement
interface
attribute of the
<service> element.
getInterfaceName
in interface ServiceElement
public InterfaceElement getInterfaceElement()
ServiceElement
interface
attribute of the <service> element.
If this reference cannot be resolved to an InterfaceElement, this method will return null.
getInterfaceElement
in interface ServiceElement
public EndpointElement addEndpointElement()
ServiceElement
addEndpointElement
in interface ServiceElement
public EndpointElement[] getEndpointElements()
ServiceElement
getEndpointElements
in interface ServiceElement
public void setParentElement(WSDLElement parent)
setParentElement
in interface NestedElement
public WSDLElement getParentElement()
getParentElement
in interface NestedElement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |