|
||||||||||
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.DocumentableImpl
org.apache.woden.internal.wsdl20.WSDLComponentImpl
org.apache.woden.internal.wsdl20.ServiceImpl
public class 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. |
FragmentIdentifier |
getFragmentIdentifier()
Returns the fragment identifier for this WSDL 2.0 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. |
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.WSDLComponentImpl |
---|
containsComponent, equals, getComponentExtensionContext, getExtensionProperties, getExtensionProperties, getExtensionProperty, setComponentExtensionContext, toString |
Methods inherited from class org.apache.woden.internal.wsdl20.DocumentableImpl |
---|
addDocumentationElement, getDocumentationElements |
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl |
---|
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.woden.wsdl20.WSDLComponent |
---|
equals, getComponentExtensionContext, setComponentExtensionContext, toString |
Methods inherited from interface org.apache.woden.wsdl20.extensions.PropertyExtensible |
---|
getExtensionProperties, getExtensionProperties, getExtensionProperty |
Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement |
---|
addDocumentationElement, getDocumentationElements |
Methods inherited from interface org.apache.woden.wsdl20.xml.WSDLElement |
---|
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace |
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
getName
in interface ServiceElement
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 WSDLElement getParentElement()
getParentElement
in interface NestedElement
public FragmentIdentifier getFragmentIdentifier()
WSDLComponent
getFragmentIdentifier
in interface WSDLComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |