public interface ServiceElement extends DocumentableElement, NestedElement
Modifier and Type | Method and Description |
---|---|
EndpointElement |
addEndpointElement()
Create an EndpointElement with this ServiceElement as its parent and
return a reference to it.
|
EndpointElement[] |
getEndpointElements()
Return the set of EndpointElements within this ServiceElement.
|
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()
Return the qualified name of this ServiceElement, which consists of its
local name and the targetNamespace of the enclosing DescriptionElement.
|
void |
setInterfaceName(QName interfaceName)
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.
|
addDocumentationElement, getDocumentationElements
getParentElement
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
void setName(NCName name)
name
attribute of the <service> element.name
- the NCName that represents the local name of this serviceQName getName()
void setInterfaceName(QName interfaceName)
interface
attribute of the
<service> element.interfaceName
- the QName of the interfaceQName getInterfaceName()
interface
attribute of the
<service> element.InterfaceElement getInterfaceElement()
interface
attribute of the <service> element.
If this reference cannot be resolved to an InterfaceElement, this method will return null.EndpointElement addEndpointElement()
EndpointElement[] getEndpointElements()
Copyright © 2005–2017 Apache Software Foundation. All rights reserved.