org.apache.axis.message.addressing
Class Recipient

java.lang.Object
  extended by org.apache.axis.message.addressing.EndpointReferenceType
      extended by org.apache.axis.message.addressing.EndpointReference
          extended by org.apache.axis.message.addressing.Recipient
All Implemented Interfaces:
java.io.Serializable, org.apache.axis.encoding.AnyContentType, AddressingHeaderItem

public class Recipient
extends EndpointReference

Java content class for Recipient element declaration.

The following schema fragment specifies the expected content contained within this java content object. (defined at http://schemas.xmlsoap.org/ws/2004/08/addressing line 83)

 <element
   xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
   name="Recipient"
   type="wsa:EndpointReferenceType"/>
 

Version:
$Revision: 14 $
Author:
Davanum Srinivas
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.message.addressing.EndpointReferenceType
metaData
 
Constructor Summary
Recipient(Address address)
          Constructor Recipient.
Recipient(javax.xml.soap.SOAPHeaderElement element)
          Constructor Recipient.
Recipient(org.apache.axis.types.URI uri)
          Constructor Recipient.
 
Method Summary
 org.w3c.dom.Element toDOM(org.w3c.dom.Document doc)
          Method toDOM.
 javax.xml.soap.SOAPHeaderElement toSOAPHeaderElement(AddressingVersion version, javax.xml.soap.SOAPEnvelope env, java.lang.String actorURI)
          Gets a SOAP Header Element from this instance.
 
Methods inherited from class org.apache.axis.message.addressing.EndpointReference
addMetadata, addReferenceParameter, addReferenceProperty, toDOM, toSOAPHeaderElement, toSOAPHeaderElement
 
Methods inherited from class org.apache.axis.message.addressing.EndpointReferenceType
get_any, getAddress, getDeserializer, getMetadata, getParameters, getPortType, getProperties, getSerializer, getServiceName, getTypeDesc, set_any, setAddress, setMetadata, setParameters, setPortType, setProperties, setServiceName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Recipient

public Recipient(Address address)
Constructor Recipient.

Parameters:
address - Source address

Recipient

public Recipient(javax.xml.soap.SOAPHeaderElement element)
          throws org.apache.axis.types.URI.MalformedURIException
Constructor Recipient.

Parameters:
element - Source element
Throws:
org.apache.axis.types.URI.MalformedURIException - If an error occurs

Recipient

public Recipient(org.apache.axis.types.URI uri)
Constructor Recipient.

Parameters:
uri - Source URI
Method Detail

toDOM

public org.w3c.dom.Element toDOM(org.w3c.dom.Document doc)
Method toDOM.

Overrides:
toDOM in class EndpointReference
Parameters:
doc - Document to use for Node creation
Returns:
DOM Element

toSOAPHeaderElement

public javax.xml.soap.SOAPHeaderElement toSOAPHeaderElement(AddressingVersion version,
                                                            javax.xml.soap.SOAPEnvelope env,
                                                            java.lang.String actorURI)
                                                     throws javax.xml.soap.SOAPException
Gets a SOAP Header Element from this instance.

Specified by:
toSOAPHeaderElement in interface AddressingHeaderItem
Overrides:
toSOAPHeaderElement in class EndpointReference
Parameters:
version - WS-Addressing version to use
env - SOAP envelope to append to
actorURI - Actor URI
Returns:
Header Element
Throws:
javax.xml.soap.SOAPException - If an error occurs


Copyright © 2008-2009 Rodrigo Ruiz. All Rights Reserved.