org.apache.axis.message.addressing
Class RelatesTo

java.lang.Object
  extended by org.apache.axis.message.addressing.Relationship
      extended by org.apache.axis.message.addressing.RelatesTo
All Implemented Interfaces:
AddressingHeaderItem

public class RelatesTo
extends Relationship
implements AddressingHeaderItem

Java content class for RelatesTo 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 77)

 <element
   name="RelatesTo"
   type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}Relationship"/>
 

Version:
$Revision: 14 $
Author:
Davanum Srinivas

Constructor Summary
RelatesTo(javax.xml.soap.SOAPElement element)
          Constructor RelatesTo.
RelatesTo(java.lang.String uri, javax.xml.namespace.QName type)
          Creates an instance.
RelatesTo(java.lang.String uri, java.lang.String type)
          Creates an instance.
RelatesTo(org.apache.axis.types.URI uri, javax.xml.namespace.QName type)
          Creates an instance.
 
Method Summary
 org.apache.axis.message.SOAPHeaderElement toSOAPHeaderElement(AddressingVersion version, javax.xml.soap.SOAPEnvelope env, java.lang.String actorURI)
          Gets a SOAP Header Element from this instance.
 org.apache.axis.message.SOAPHeaderElement toSOAPHeaderElement(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.Relationship
getType, getTypeIRI, getURI, setType, setTypeIRI, setURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelatesTo

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

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

RelatesTo

public RelatesTo(java.lang.String uri,
                 javax.xml.namespace.QName type)
          throws org.apache.axis.types.URI.MalformedURIException
Creates an instance.

Parameters:
uri - Target URI
type - URI type
Throws:
URI.MalformedURIException - If the URI is not valid

RelatesTo

public RelatesTo(java.lang.String uri,
                 java.lang.String type)
          throws org.apache.axis.types.URI.MalformedURIException
Creates an instance.

Parameters:
uri - Target URI
type - Type attribute
Throws:
URI.MalformedURIException - If the URI is not valid

RelatesTo

public RelatesTo(org.apache.axis.types.URI uri,
                 javax.xml.namespace.QName type)
Creates an instance.

Parameters:
uri - Target URI
type - Type attribute
Method Detail

toSOAPHeaderElement

public org.apache.axis.message.SOAPHeaderElement toSOAPHeaderElement(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
Parameters:
env - SOAP envelope to append to
actorURI - Actor URI
Returns:
Header Element
Throws:
javax.xml.soap.SOAPException - If an error occurs

toSOAPHeaderElement

public org.apache.axis.message.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
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.