Apache CXF API

org.apache.cxf.ws.addressing
Class AddressingProperties

java.lang.Object
  extended by org.apache.cxf.ws.addressing.AddressingProperties

public class AddressingProperties
extends Object

Abstraction of Message Addressing Properties.


Constructor Summary
AddressingProperties()
          Constructor, defaults to 2005/08 namespace.
AddressingProperties(String uri)
          Constructor.
 
Method Summary
 AddressingProperties createCompatibleResponseProperties()
           
 void exposeAs(String uri)
          Used to specify a different WS-Addressing namespace URI, so as to cause MAPs to be exposed (i.e.
 AttributedURIType getAction()
          Accessor for the Action property.
 QName getDuplicate()
           
 EndpointReferenceType getFaultTo()
          Accessor for the FaultTo property.
 EndpointReferenceType getFrom()
          Accessor for the From property.
 AttributedURIType getMessageID()
          Accessor for the MessageID property.
 List<QName> getMustUnderstand()
           
 String getNamespaceURI()
           
 RelatesToType getRelatesTo()
          Accessor for the RelatesTo property.
 EndpointReferenceType getReplyTo()
          Accessor for the ReplyTo property.
 AttributedURIType getTo()
          Accessor for the To property.
 EndpointReferenceType getToEndpointReference()
           
 void setAction(AttributedURIType iri)
          Mutator for the Action property.
 void setDuplicate(QName dup)
           
 void setFaultTo(EndpointReferenceType ref)
          Mutator for the FaultTo property.
 void setFrom(EndpointReferenceType epr)
          Mutator for the From property.
 void setMessageID(AttributedURIType iri)
          Mutator for the MessageID property.
 void setRelatesTo(RelatesToType rel)
          Mutator for the RelatesTo property.
 void setReplyTo(EndpointReferenceType ref)
          Mutator for the ReplyTo property.
 void setTo(AttributedURIType t)
          Mutator for the To property.
 void setTo(EndpointReferenceType epr)
          Mutator for the To property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddressingProperties

public AddressingProperties()
Constructor, defaults to 2005/08 namespace.


AddressingProperties

public AddressingProperties(String uri)
Constructor.

Parameters:
uri - the namespace URI
Method Detail

getToEndpointReference

public EndpointReferenceType getToEndpointReference()

getTo

public AttributedURIType getTo()
Accessor for the To property.

Returns:
To property

setTo

public void setTo(AttributedURIType t)
Mutator for the To property.

Parameters:
t - new value for To property

setTo

public void setTo(EndpointReferenceType epr)
Mutator for the To property.

Parameters:
epr - new value for To property

getFrom

public EndpointReferenceType getFrom()
Accessor for the From property.

Returns:
current value of From property

setFrom

public void setFrom(EndpointReferenceType epr)
Mutator for the From property.

Parameters:
epr - new value for From property

getMessageID

public AttributedURIType getMessageID()
Accessor for the MessageID property.

Returns:
current value of MessageID property

setMessageID

public void setMessageID(AttributedURIType iri)
Mutator for the MessageID property.

Parameters:
iri - new value for MessageTo property

getReplyTo

public EndpointReferenceType getReplyTo()
Accessor for the ReplyTo property.

Returns:
current value of ReplyTo property

setReplyTo

public void setReplyTo(EndpointReferenceType ref)
Mutator for the ReplyTo property.

Parameters:
ref - new value for ReplyTo property

getFaultTo

public EndpointReferenceType getFaultTo()
Accessor for the FaultTo property.

Returns:
current value of FaultTo property

setFaultTo

public void setFaultTo(EndpointReferenceType ref)
Mutator for the FaultTo property.

Parameters:
ref - new value for FaultTo property

getRelatesTo

public RelatesToType getRelatesTo()
Accessor for the RelatesTo property.

Returns:
current value of RelatesTo property

setRelatesTo

public void setRelatesTo(RelatesToType rel)
Mutator for the RelatesTo property.

Parameters:
rel - new value for RelatesTo property

getAction

public AttributedURIType getAction()
Accessor for the Action property.

Returns:
current value of Action property

setAction

public void setAction(AttributedURIType iri)
Mutator for the Action property.

Parameters:
iri - new value for Action property

getNamespaceURI

public String getNamespaceURI()
Returns:
WS-Addressing namespace URI

exposeAs

public void exposeAs(String uri)
Used to specify a different WS-Addressing namespace URI, so as to cause MAPs to be exposed (i.e. encoded in externalized message with a different WS-Addressing version).


setDuplicate

public void setDuplicate(QName dup)

getDuplicate

public QName getDuplicate()

getMustUnderstand

public List<QName> getMustUnderstand()

toString

public String toString()
Overrides:
toString in class Object

createCompatibleResponseProperties

public AddressingProperties createCompatibleResponseProperties()

Apache CXF API

Apache CXF