public class ServiceImpl extends WSDLComponentImpl implements Service, ServiceElement
Constructor and Description |
---|
ServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
containsComponent, equals, getComponentExtensionContext, getExtensionProperties, getExtensionProperties, getExtensionProperty, isEquivalentTo, setComponentExtensionContext, toString
addDocumentationElement, getDocumentationElements
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, getComponentExtensionContext, isEquivalentTo, setComponentExtensionContext, toString
getExtensionProperties, getExtensionProperties, getExtensionProperty
addDocumentationElement, getDocumentationElements
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
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 Endpointpublic Endpoint[] getEndpoints()
Service
getEndpoints
in interface Service
public ServiceElement toElement()
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
Copyright © 2005–2016 Apache Software Foundation. All rights reserved.