javax.xml.ws.addressing
Class AddressingBuilder

java.lang.Object
  extended by javax.xml.ws.addressing.AddressingBuilder
All Implemented Interfaces:
AddressingType
Direct Known Subclasses:
SOAPAddressingBuilder

public abstract class AddressingBuilder
extends java.lang.Object
implements AddressingType

Factory for AddressingElements. Implementing classes must supply a 0-arguments constructor.


Constructor Summary
protected AddressingBuilder()
          Non-public constructor.
 
Method Summary
static AddressingBuilder getAddressingBuilder()
          Returns an instance of AddressingBuilder whose Class is determined by the following algorithm.
abstract  AddressingConstants newAddressingConstants()
          Returns an instance of javax.ws.addressing.AddressingConstants
abstract  AddressingProperties newAddressingProperties()
          Returns an instance of javax.ws.addressing.AddressingProperties
abstract  EndpointReference newEndpointReference(java.net.URI uri)
          Returns an instance of javax.ws.addressing.EndpointReference
abstract  AttributedQName newQName(QName name)
          Returns an instance of javax.ws.addressing.AttributedQName initialized using the specified QName.
abstract  Relationship newRelationship(java.net.URI uri)
          Returns an instance of javax.ws.addressing.Relationship whose ID property is initialized with the given URI.
abstract  AttributedURI newURI(java.lang.String uri)
          Returns an instance of javax.ws.addressing.AttributedURI initialized with the given String.
abstract  AttributedURI newURI(java.net.URI uri)
          Returns an instance of javax.ws.addressing.AttributedURI initialized with the given URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.ws.addressing.AddressingType
getNamespaceURI
 

Constructor Detail

AddressingBuilder

protected AddressingBuilder()
Non-public constructor. Base class is non-instantiable.

Method Detail

getAddressingBuilder

public static AddressingBuilder getAddressingBuilder()
Returns an instance of AddressingBuilder whose Class is determined by the following algorithm. TODO Determine exact algorithm.


newURI

public abstract AttributedURI newURI(java.net.URI uri)
Returns an instance of javax.ws.addressing.AttributedURI initialized with the given URI.

Parameters:
uri - The specified URI.
Returns:
The new URI.

newURI

public abstract AttributedURI newURI(java.lang.String uri)
                              throws java.net.URISyntaxException
Returns an instance of javax.ws.addressing.AttributedURI initialized with the given String.

Parameters:
uri - The specified URI.
Returns:
The new URI.
Throws:
java.net.URISyntaxException

newQName

public abstract AttributedQName newQName(QName name)
Returns an instance of javax.ws.addressing.AttributedQName initialized using the specified QName.

Parameters:
name - The QName.
Returns:
The AttributedQName

newRelationship

public abstract Relationship newRelationship(java.net.URI uri)
Returns an instance of javax.ws.addressing.Relationship whose ID property is initialized with the given URI.

Parameters:
uri - The specified URI
Returns:
The new Relationship.

newEndpointReference

public abstract EndpointReference newEndpointReference(java.net.URI uri)
Returns an instance of javax.ws.addressing.EndpointReference

Parameters:
uri - The URI used to initialize the Address property.
Returns:
The new EndpointReference.

newAddressingProperties

public abstract AddressingProperties newAddressingProperties()
Returns an instance of javax.ws.addressing.AddressingProperties

Returns:
The new AddressingProperties.

newAddressingConstants

public abstract AddressingConstants newAddressingConstants()
Returns an instance of javax.ws.addressing.AddressingConstants

Returns:
The new AddressingConstants.