javax.xml.ws.addressing
Interface EndpointReference

All Superinterfaces:
AddressingType, AttributeExtensible, ElementExtensible

public interface EndpointReference
extends AddressingType, AttributeExtensible, ElementExtensible

This class is an abstraction of EndpointReference. It contains URI, ReferenceParameters and Metadata properties. A new instance of EndpointReference is created as:

 AddressingBuilder.newInstance().newEndpointReference("http://example.com");
or

 try {
   AddressingBuilder.newInstance().newEndpointReference(new URI("http://example.com"));
 } catch (URISyntaxException e) { }

Since:
JAX-WSA 1.0
Author:
JAX-WSA Development Team

Method Summary
 AttributedURI getAddress()
          The accessor for the Address property.
 Metadata getMetadata()
          The accessor for the Metadata property.
 ReferenceParameters getReferenceParameters()
          The ccessor for the ReferenceParameters property.
 java.lang.String toString()
          Returns the content of the Address as a String.
 
Methods inherited from interface javax.xml.ws.addressing.AddressingType
getNamespaceURI
 
Methods inherited from interface javax.xml.ws.addressing.AttributeExtensible
addAttribute, getAttributes
 
Methods inherited from interface javax.xml.ws.addressing.ElementExtensible
addElement, getElements, removeElement
 

Method Detail

getAddress

AttributedURI getAddress()
The accessor for the Address property.

Returns:
the value of the property.

getReferenceParameters

ReferenceParameters getReferenceParameters()
The ccessor for the ReferenceParameters property.

Returns:
the value of the property.

getMetadata

Metadata getMetadata()
The accessor for the Metadata property.

Returns:
the value of the property.

toString

java.lang.String toString()
Returns the content of the Address as a String. The ReferenceParameter and Metadata may be ignored during the conversion.

Overrides:
toString in class java.lang.Object
Returns:
the String form of this EndpointReference.


Copyright © 2005 Sun Microsystems, Inc. All Rights Reserved.