com.ibm.websphere.wsrf
Class IOSerializableSOAPElementFactory
- java.lang.Object
com.ibm.websphere.wsrf.IOSerializableSOAPElementFactory
- public class IOSerializableSOAPElementFactory
- extends java.lang.Object
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
Modifier and Type | Method and Description |
---|---|
createElement(javax.xml.soap.SOAPElement soapElement)
Returns a
java.io.Serializable form of the supplied SOAPElement.
|
|
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)
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
java.io.Serializable
form of the supplied SOAPElement.