Novell exteNd Web Services SDK API

com.sssw.jbroker.web.portable
Class DOMMessage

java.lang.Object
  extended bycom.sssw.jbroker.web.portable.DOMMessage

public class DOMMessage
extends Object

The DOMMessage class contains the various parts of a SOAP message, i.e. the headers, body parts and attachments. This class is used by the DOMSkeleton.

Since:
WSSDK 5.0
See Also:
DOMSkeleton

Constructor Summary
DOMMessage()
          Construct a DOMMessage object.
 
Method Summary
 Map getAttachments()
          Get the attachments of this DOM message.
 Element[] getBodyElements()
          Get the body elements of this DOM message.
 Element[] getHeaderElements()
          Get the header elements of this DOM message.
 Map getProperties()
          Get the properties of this DOM message.
 void setAttachments(Map attachments)
          Set the attachments of this DOM message.
 void setBodyElements(Element[] elements)
          Set the body elements of this DOM message.
 void setHeaderElements(Element[] headers)
          Set the header elements of this DOM message.
 void setProperties(Map props)
          Set the properties of this DOM message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMMessage

public DOMMessage()
Construct a DOMMessage object.

Method Detail

getHeaderElements

public Element[] getHeaderElements()
Get the header elements of this DOM message.

Returns:
an array of header elements

setProperties

public void setProperties(Map props)
Set the properties of this DOM message.

Parameters:
props - a map with properties

getProperties

public Map getProperties()
Get the properties of this DOM message.

Returns:
a map with properties

setHeaderElements

public void setHeaderElements(Element[] headers)
Set the header elements of this DOM message.

Parameters:
headers - an array of header elements

getBodyElements

public Element[] getBodyElements()
Get the body elements of this DOM message.

Returns:
an array of body elements

setBodyElements

public void setBodyElements(Element[] elements)
Set the body elements of this DOM message.

Parameters:
elements - an array of body elements

getAttachments

public Map getAttachments()
Get the attachments of this DOM message.

Returns:
a map with attachments

setAttachments

public void setAttachments(Map attachments)
Set the attachments of this DOM message.

Parameters:
attachments - a map with attachments

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.