org.apache.axis.message.addressing
Class Recipient

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

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 name="Recipient" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}EndpointReferenceType"/>
 

Author:
Davanum Srinivas (dims@yahoo.com)
See Also:
Serialized Form

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(javax.xml.soap.SOAPEnvelope env, java.lang.String actorURI)
           
 
Methods inherited from class org.apache.axis.message.addressing.EndpointReference
toDOM, toSOAPHeaderElement
 
Methods inherited from class org.apache.axis.message.addressing.EndpointReferenceType
get_any, getAddress, getDeserializer, getParameters, getPortType, getProperties, getSerializer, getServiceName, getTypeDesc, set_any, setAddress, 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 -

Recipient

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

Parameters:
uri -

Recipient

public Recipient(javax.xml.soap.SOAPHeaderElement element)
          throws java.lang.Exception
Constructor Recipient

Parameters:
element -
Throws:
java.lang.Exception
Method Detail

toSOAPHeaderElement

public javax.xml.soap.SOAPHeaderElement toSOAPHeaderElement(javax.xml.soap.SOAPEnvelope env,
                                                            java.lang.String actorURI)
                                                     throws java.lang.Exception
Overrides:
toSOAPHeaderElement in class EndpointReference
Throws:
java.lang.Exception

toDOM

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

Overrides:
toDOM in class EndpointReference
Parameters:
doc -


Copyright © 2004-2005 Apache Web Services. All Rights Reserved.