IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.wsrf
Class IOSerializableSOAPElementFactory

java.lang.Object
  extended by com.ibm.websphere.wsrf.IOSerializableSOAPElementFactory

public class IOSerializableSOAPElementFactory
extends java.lang.Object

An instance of IOSerializableSOAPElementFactory is used to create IOSerializableSOAPElements, which represent a java.io.Serializable form of a javax.xml.soap.SOAPElement Web Services BaseFault implementations, which derive from java.lang.Exception, make use of this mechanism to allow any SOAPElement content to be java.io.Serializable as java.lang.Exceptions must themselves be java.io.Serializable.


Method Summary
 IOSerializableSOAPElement createElement(javax.xml.soap.SOAPElement soapElement)
          Returns a java.io.Serializable form of the supplied SOAPElement.
static IOSerializableSOAPElementFactory newInstance()
          Returns an instance of the IOSerializableSOAPElementFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createElement

public IOSerializableSOAPElement createElement(javax.xml.soap.SOAPElement soapElement)
Returns a java.io.Serializable form of the supplied SOAPElement.

Parameters:
soapElement - the SOAPElement to be wrapped in a java.io.Serializable form
Returns:
the java.io.Serializable form of the supplied SOAPElement

newInstance

public static IOSerializableSOAPElementFactory newInstance()
Returns an instance of the IOSerializableSOAPElementFactory

Returns:
an instance of the IOSerializableSOAPElementFactory

IBM WebSphere Application ServerTM
Release 8