org.apache.woden.wsdl20.xml
Interface EndpointElement

All Superinterfaces:
AttributeExtensible, DocumentableElement, ElementExtensible, NestedElement, WSDLElement
All Known Implementing Classes:
EndpointImpl

public interface EndpointElement
extends DocumentableElement, NestedElement

Represents the WSDL 2.0 <endpoint> element, declared as a child of the <service> element.

Author:
John Kaputin (jkaputin@apache.org)

Method Summary
 java.net.URI getAddress()
          Return the URI representing the endpoint address of this EndpointElement.
 BindingElement getBindingElement()
          Return the BindingElement referred to by this EndpointElement.
 QName getBindingName()
          Return the name of the BindingElement referred to by this EndpointElement.
 NCName getName()
          Return the qualified name of this EndpointElement, which consists of its local name and the targetNamespace of the enclosing DescriptionElement.
 void setAddress(java.net.URI address)
          Set the endpoint address of this EndpointElement to the specified URI.
 void setBindingName(QName bindingName)
          Specify the name of the BindingElement referred to by this EndpointElement.
 void setName(NCName name)
          Set the name of this EndpointElement to the specified NCName.
 
Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement
addDocumentationElement, getDocumentationElements
 
Methods inherited from interface org.apache.woden.wsdl20.xml.NestedElement
getParentElement, setParentElement
 
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
 

Method Detail

setName

void setName(NCName name)
Set the name of this EndpointElement to the specified NCName. This corresponds to the name attribute of the <endpoint> element.

Parameters:
name - the NCName that represents the local name of this endpoint

getName

NCName getName()
Return the qualified name of this EndpointElement, which consists of its local name and the targetNamespace of the enclosing DescriptionElement.

Returns:
the endpoint QName

setBindingName

void setBindingName(QName bindingName)
Specify the name of the BindingElement referred to by this EndpointElement. The specified QName corresponds to the binding attribute of the <endpoint> element.

Parameters:
bindingName - the QName of the binding

getBindingName

QName getBindingName()
Return the name of the BindingElement referred to by this EndpointElement. This corresponds to the binding attribute of the <endpoint> element.

Returns:
the QName of the binding

getBindingElement

BindingElement getBindingElement()
Return the BindingElement referred to by this EndpointElement. This equates to the <binding> element referred to by the binding attribute of the <endpoint> element. If this reference cannot be resolved to a BindingElement, this method will return null.

Returns:
the BindingElement

setAddress

void setAddress(java.net.URI address)
Set the endpoint address of this EndpointElement to the specified URI. This corresponds to the address attribute of the <endpoint> element.

Parameters:
address - the endpoint address URI

getAddress

java.net.URI getAddress()
Return the URI representing the endpoint address of this EndpointElement. This corresponds to the address attribute of the <endpoint> element.

Returns:
the endpoint address URI


Copyright © 2007. All Rights Reserved.