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.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
 
Methods inherited from interface org.apache.woden.wsdl20.xml.NestedElement
getParentElement, setParentElement
 

Method Detail

setName

public 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

public 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

public 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

public 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

public 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

public 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

public 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 © 2005-2007 Apache Software Foundation. All Rights Reserved.