javax.xml.ws.addressing
Interface AttributedURI

All Superinterfaces:
AddressingType, AttributeExtensible

public interface AttributedURI
extends AddressingType, AttributeExtensible

Abstraction AttributedURIType defined in the WS-Addressing core schema.

A new instance of AttributedURI is created as:

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

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

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

Method Summary
 java.net.URI getURI()
          Accessor for the URI property.
 java.lang.String toString()
          Returns the content of the underlying URI as a String.
 
Methods inherited from interface javax.xml.ws.addressing.AddressingType
getNamespaceURI
 
Methods inherited from interface javax.xml.ws.addressing.AttributeExtensible
addAttribute, getAttributes
 

Method Detail

getURI

java.net.URI getURI()
Accessor for the URI property.

Returns:
the value of the property.

toString

java.lang.String toString()
Returns the content of the underlying URI as a String. The extensiblity attributes may be ignored during the conversion.

Overrides:
toString in class java.lang.Object
Returns:
the String form of the underlying URI.


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