xsul.ws_addressing
Class WsaMessageInformationHeaders

java.lang.Object
  extended byxsul.ws_addressing.WsaMessageInformationHeaders
All Implemented Interfaces:
DataValidation

public class WsaMessageInformationHeaders
extends java.lang.Object
implements DataValidation

Implementation of Message Information Headers from Endpoint Reference from Web Services Addressing 2004 (WS-Addressing)

Version:
$Revision: 1.10 $
Author:
Aleksander Slominski

Constructor Summary
WsaMessageInformationHeaders(XmlElement soapHeadersOrEnvelope)
           
 
Method Summary
 void addRelatesTo(WsaRelatesTo relatesTo)
           
 void explodeEndpointReference(WsaEndpointReference epr)
           
 java.net.URI getAction()
           
 java.net.URI getActionRequired()
           
 WsaEndpointReference getFaultTo()
           
 WsaEndpointReference getFrom()
           
 XmlElement getHeaderElement(XmlNamespace ns, java.lang.String name)
           
 java.net.URI getMessageId()
           
 Iterable getRelatesTo()
           
 WsaEndpointReference getReplyTo()
           
 XmlElement getSoapHeaderElement()
           
 java.net.URI getTo()
           
 java.net.URI getToRequired()
           
 void removeAllRelatesTo()
           
 void serialize(XmlSerializer ser)
           
 void setAction(java.net.URI uri)
           
 void setFaultTo(WsaEndpointReference faultToEpr)
           
 void setFrom(WsaEndpointReference fromEpr)
           
 void setMessageId(java.net.URI uri)
           
 void setReplyTo(WsaEndpointReference replyToEpr)
           
 void setTo(java.net.URI uri)
           
 java.lang.String toString()
           
 void validateData()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsaMessageInformationHeaders

public WsaMessageInformationHeaders(XmlElement soapHeadersOrEnvelope)
Method Detail

getHeaderElement

public XmlElement getHeaderElement(XmlNamespace ns,
                                   java.lang.String name)

getSoapHeaderElement

public XmlElement getSoapHeaderElement()

getTo

public java.net.URI getTo()
                   throws DataValidationException
Throws:
DataValidationException

getToRequired

public java.net.URI getToRequired()
                           throws DataValidationException
Throws:
DataValidationException

setTo

public void setTo(java.net.URI uri)

getAction

public java.net.URI getAction()

getActionRequired

public java.net.URI getActionRequired()

setAction

public void setAction(java.net.URI uri)

getMessageId

public java.net.URI getMessageId()

setMessageId

public void setMessageId(java.net.URI uri)

getRelatesTo

public Iterable getRelatesTo()

removeAllRelatesTo

public void removeAllRelatesTo()

addRelatesTo

public void addRelatesTo(WsaRelatesTo relatesTo)

getFrom

public WsaEndpointReference getFrom()

setFrom

public void setFrom(WsaEndpointReference fromEpr)

getReplyTo

public WsaEndpointReference getReplyTo()

setReplyTo

public void setReplyTo(WsaEndpointReference replyToEpr)

getFaultTo

public WsaEndpointReference getFaultTo()

setFaultTo

public void setFaultTo(WsaEndpointReference faultToEpr)

explodeEndpointReference

public void explodeEndpointReference(WsaEndpointReference epr)

validateData

public void validateData()
                  throws DataValidationException
Specified by:
validateData in interface DataValidation
Throws:
DataValidationException

serialize

public void serialize(XmlSerializer ser)
               throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()


IU Extreme! Lab (http://www.extreme.indiana.edu)