org.apache.cxf.ws.addressing
Class AddressingPropertiesImpl

java.lang.Object
  extended by org.apache.cxf.ws.addressing.AddressingPropertiesImpl
All Implemented Interfaces:
org.apache.cxf.ws.addressing.AddressingProperties, org.apache.cxf.ws.addressing.AddressingType

public class AddressingPropertiesImpl
extends Object
implements org.apache.cxf.ws.addressing.AddressingProperties

Abstraction of Message Addressing Properties.


Constructor Summary
AddressingPropertiesImpl()
          Constructor, defaults to 2005/08 namespace.
AddressingPropertiesImpl(String uri)
          Constructor.
 
Method Summary
 void exposeAs(String uri)
          Used to specify a different WS-Addressing namespace URI, so as to cause MAPs to be exposed (i.e.
 org.apache.cxf.ws.addressing.AttributedURIType getAction()
          Accessor for the Action property.
 QName getDuplicate()
           
 org.apache.cxf.ws.addressing.EndpointReferenceType getFaultTo()
          Accessor for the FaultTo property.
 org.apache.cxf.ws.addressing.EndpointReferenceType getFrom()
          Accessor for the From property.
 org.apache.cxf.ws.addressing.AttributedURIType getMessageID()
          Accessor for the MessageID property.
 List<QName> getMustUnderstand()
           
 String getNamespaceURI()
           
 org.apache.cxf.ws.addressing.RelatesToType getRelatesTo()
          Accessor for the RelatesTo property.
 org.apache.cxf.ws.addressing.EndpointReferenceType getReplyTo()
          Accessor for the ReplyTo property.
 org.apache.cxf.ws.addressing.AttributedURIType getTo()
          Accessor for the To property.
 org.apache.cxf.ws.addressing.EndpointReferenceType getToEndpointReference()
           
 void setAction(org.apache.cxf.ws.addressing.AttributedURIType iri)
          Mutator for the Action property.
 void setDuplicate(QName dup)
           
 void setFaultTo(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
          Mutator for the FaultTo property.
 void setFrom(org.apache.cxf.ws.addressing.EndpointReferenceType epr)
          Mutator for the From property.
 void setMessageID(org.apache.cxf.ws.addressing.AttributedURIType iri)
          Mutator for the MessageID property.
 void setRelatesTo(org.apache.cxf.ws.addressing.RelatesToType rel)
          Mutator for the RelatesTo property.
 void setReplyTo(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
          Mutator for the ReplyTo property.
 void setTo(org.apache.cxf.ws.addressing.AttributedURIType t)
          Mutator for the To property.
 void setTo(org.apache.cxf.ws.addressing.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

AddressingPropertiesImpl

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


AddressingPropertiesImpl

public AddressingPropertiesImpl(String uri)
Constructor.

Parameters:
uri - the namespace URI
Method Detail

getToEndpointReference

public org.apache.cxf.ws.addressing.EndpointReferenceType getToEndpointReference()
Specified by:
getToEndpointReference in interface org.apache.cxf.ws.addressing.AddressingProperties

getTo

public org.apache.cxf.ws.addressing.AttributedURIType getTo()
Accessor for the To property.

Specified by:
getTo in interface org.apache.cxf.ws.addressing.AddressingProperties
Returns:
To property

setTo

public void setTo(org.apache.cxf.ws.addressing.AttributedURIType t)
Mutator for the To property.

Specified by:
setTo in interface org.apache.cxf.ws.addressing.AddressingProperties
Parameters:
iri - new value for To property

setTo

public void setTo(org.apache.cxf.ws.addressing.EndpointReferenceType epr)
Mutator for the To property.

Specified by:
setTo in interface org.apache.cxf.ws.addressing.AddressingProperties
Parameters:
iri - new value for To property

getFrom

public org.apache.cxf.ws.addressing.EndpointReferenceType getFrom()
Accessor for the From property.

Specified by:
getFrom in interface org.apache.cxf.ws.addressing.AddressingProperties
Returns:
current value of From property

setFrom

public void setFrom(org.apache.cxf.ws.addressing.EndpointReferenceType epr)
Mutator for the From property.

Specified by:
setFrom in interface org.apache.cxf.ws.addressing.AddressingProperties
Parameters:
epr - new value for From property

getMessageID

public org.apache.cxf.ws.addressing.AttributedURIType getMessageID()
Accessor for the MessageID property.

Specified by:
getMessageID in interface org.apache.cxf.ws.addressing.AddressingProperties
Returns:
current value of MessageID property

setMessageID

public void setMessageID(org.apache.cxf.ws.addressing.AttributedURIType iri)
Mutator for the MessageID property.

Specified by:
setMessageID in interface org.apache.cxf.ws.addressing.AddressingProperties
Parameters:
iri - new value for MessageTo property

getReplyTo

public org.apache.cxf.ws.addressing.EndpointReferenceType getReplyTo()
Accessor for the ReplyTo property.

Specified by:
getReplyTo in interface org.apache.cxf.ws.addressing.AddressingProperties
Returns:
current value of ReplyTo property

setReplyTo

public void setReplyTo(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
Mutator for the ReplyTo property.

Specified by:
setReplyTo in interface org.apache.cxf.ws.addressing.AddressingProperties
Parameters:
ref - new value for ReplyTo property

getFaultTo

public org.apache.cxf.ws.addressing.EndpointReferenceType getFaultTo()
Accessor for the FaultTo property.

Specified by:
getFaultTo in interface org.apache.cxf.ws.addressing.AddressingProperties
Returns:
current value of FaultTo property

setFaultTo

public void setFaultTo(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
Mutator for the FaultTo property.

Specified by:
setFaultTo in interface org.apache.cxf.ws.addressing.AddressingProperties
Parameters:
ref - new value for FaultTo property

getRelatesTo

public org.apache.cxf.ws.addressing.RelatesToType getRelatesTo()
Accessor for the RelatesTo property.

Specified by:
getRelatesTo in interface org.apache.cxf.ws.addressing.AddressingProperties
Returns:
current value of RelatesTo property

setRelatesTo

public void setRelatesTo(org.apache.cxf.ws.addressing.RelatesToType rel)
Mutator for the RelatesTo property.

Specified by:
setRelatesTo in interface org.apache.cxf.ws.addressing.AddressingProperties
Parameters:
rel - new value for RelatesTo property

getAction

public org.apache.cxf.ws.addressing.AttributedURIType getAction()
Accessor for the Action property.

Specified by:
getAction in interface org.apache.cxf.ws.addressing.AddressingProperties
Returns:
current value of Action property

setAction

public void setAction(org.apache.cxf.ws.addressing.AttributedURIType iri)
Mutator for the Action property.

Specified by:
setAction in interface org.apache.cxf.ws.addressing.AddressingProperties
Parameters:
iri - new value for Action property

getNamespaceURI

public String getNamespaceURI()
Specified by:
getNamespaceURI in interface org.apache.cxf.ws.addressing.AddressingType
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


Apache CXF