org.apache.woden.internal.wsdl20
Class EndpointImpl
java.lang.Object
org.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.WSDLComponentImpl
org.apache.woden.internal.wsdl20.NestedImpl
org.apache.woden.internal.wsdl20.EndpointImpl
- All Implemented Interfaces:
- Endpoint, AttributeExtensible, ElementExtensible, PropertyExtensible, NestedComponent, WSDLComponent, DocumentableElement, EndpointElement, NestedElement, WSDLElement
public class EndpointImpl
- extends NestedImpl
- implements Endpoint, EndpointElement
This class represents the Endpoint component and the <endpoint> element.
- Author:
- John Kaputin (jkaputin@apache.org)
Method Summary |
java.net.URI |
getAddress()
Returns a URI that represents the {address} property of this Endpoint. |
Binding |
getBinding()
Represents the {binding} property of the Endpoint component. |
BindingElement |
getBindingElement()
Return the BindingElement referred to by this EndpointElement. |
QName |
getBindingName()
Return the name of the BindingElement referred to by this EndpointElement. |
FragmentIdentifier |
getFragmentIdentifier()
Returns the fragment identifier for this WSDL 2.0 component. |
NCName |
getName()
Returns the local name representing the {name} property of this Endpoint. |
void |
setAddress(java.net.URI uri)
Set the endpoint address of this EndpointElement to the specified URI. |
void |
setBindingName(QName qname)
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. |
EndpointElement |
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.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 |
EndpointImpl
public EndpointImpl()
getName
public NCName getName()
- Description copied from interface:
Endpoint
- Returns the local name representing the {name} property of this Endpoint.
- Specified by:
getName
in interface Endpoint
- Specified by:
getName
in interface EndpointElement
- Returns:
- NCName representing the name of this Endpoint
getBinding
public Binding getBinding()
- Description copied from interface:
Endpoint
- Represents the {binding} property of the Endpoint component. This is the Binding component
that this Endpoint is associated with.
- Specified by:
getBinding
in interface Endpoint
- Returns:
- Binding associated with this Endpoint
getAddress
public java.net.URI getAddress()
- Description copied from interface:
Endpoint
- Returns a URI that represents the {address} property of this Endpoint.
This is the network address at which the parent service can be found using the
binding associated with this endpoint.
- Specified by:
getAddress
in interface Endpoint
- Specified by:
getAddress
in interface EndpointElement
- Returns:
- the URI address of the Service via this Endpoint
toElement
public EndpointElement toElement()
- Description copied from interface:
Endpoint
- Returns a WSDLElement that represents the element information item from the WSDL 2.0
infoset that maps to this WSDLComponent.
- Specified by:
toElement
in interface Endpoint
- Returns:
- the EndpointElement that maps to this Endpoint
setName
public void setName(NCName name)
- Description copied from interface:
EndpointElement
- Set the name of this EndpointElement to the specified NCName.
This corresponds to the
name
attribute of the <endpoint> element.
- Specified by:
setName
in interface EndpointElement
- Parameters:
name
- the NCName that represents the local name of this endpoint
setBindingName
public void setBindingName(QName qname)
- Description copied from interface:
EndpointElement
- Specify the name of the BindingElement referred to by this EndpointElement.
The specified QName corresponds to the
binding
attribute of the
<endpoint> element.
- Specified by:
setBindingName
in interface EndpointElement
- Parameters:
qname
- the QName of the binding
getBindingName
public QName getBindingName()
- Description copied from interface:
EndpointElement
- Return the name of the BindingElement referred to by this EndpointElement.
This corresponds to the
binding
attribute of the
<endpoint> element.
- Specified by:
getBindingName
in interface EndpointElement
- Returns:
- the QName of the binding
getBindingElement
public BindingElement getBindingElement()
- Description copied from interface:
EndpointElement
- 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.
- Specified by:
getBindingElement
in interface EndpointElement
- Returns:
- the BindingElement
setAddress
public void setAddress(java.net.URI uri)
- Description copied from interface:
EndpointElement
- Set the endpoint address of this EndpointElement to the specified URI.
This corresponds to the
address
attribute of the <endpoint> element.
- Specified by:
setAddress
in interface EndpointElement
- Parameters:
uri
- the endpoint address URI
getFragmentIdentifier
public FragmentIdentifier getFragmentIdentifier()
- Description copied from interface:
WSDLComponent
- Returns the fragment identifier for this WSDL 2.0 component.
- Specified by:
getFragmentIdentifier
in interface WSDLComponent
- Returns:
- a FragmentIdentifier for this WSDL 2.0 component.
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.