IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.webservices.soap
Class IBMSOAPFactory

java.lang.Object
  extended by javax.xml.soap.SOAPFactory
      extended by com.ibm.websphere.webservices.soap.IBMSOAPFactory

public abstract class IBMSOAPFactory
extends javax.xml.soap.SOAPFactory

This interface exposes IBM value-add methods. These methods are not thread safe.

See Also:
SOAPFactory

Constructor Summary
IBMSOAPFactory()
           
 
Method Summary
abstract  javax.xml.soap.SOAPElement createElementFromDOMElement(org.w3c.dom.Element dom, java.lang.Class cls)
          Create a SOAPElement from a DOM Element createElementFromDOMElement is not thread safe
abstract  javax.xml.soap.SOAPElement createElementFromInputSource(org.xml.sax.InputSource inputSource)
          Create a SOAPElement from an InputSource createElementFromInputSource is not thread safe
abstract  javax.xml.soap.SOAPElement createElementFromInputSource(org.xml.sax.InputSource is, java.lang.Class cls)
          Create a SOAPElement based on given InputSource createElementFromInputSource is not thread safe
abstract  javax.xml.soap.SOAPElement createElementFromXMLString(java.lang.String xmlString)
          Create a SOAPElement from an xml string createElementXMLString is not a thread safe method
abstract  javax.xml.soap.SOAPElement createElementFromXMLString(java.lang.String xmlString, java.lang.Class cls)
          Create a SOAPElement based on given xml string createElementFromXMLString is not thread safe
 
Methods inherited from class javax.xml.soap.SOAPFactory
createDetail, createElement, createElement, createElement, createElement, createElement, createFault, createFault, createName, createName, newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IBMSOAPFactory

public IBMSOAPFactory()
Method Detail

createElementFromXMLString

public abstract javax.xml.soap.SOAPElement createElementFromXMLString(java.lang.String xmlString)
                                                               throws javax.xml.soap.SOAPException
Create a SOAPElement from an xml string

createElementXMLString is not a thread safe method

Parameters:
xmlString - String containing the xml representation of this element and its contents
Returns:
SOAPElement
Throws:
SOAPException
javax.xml.soap.SOAPException

createElementFromXMLString

public abstract javax.xml.soap.SOAPElement createElementFromXMLString(java.lang.String xmlString,
                                                                      java.lang.Class cls)
                                                               throws javax.xml.soap.SOAPException
Create a SOAPElement based on given xml string

createElementFromXMLString is not thread safe

Parameters:
xmlString - the string containing the SOAPElement tree
cls - Class of SOAPElement to create (SOAPElement, SOAPBodyElement, SOAPHeaderElement, etc.)
Returns:
SOAPElement or null if class is not supported
Throws:
SOAPException
javax.xml.soap.SOAPException

createElementFromInputSource

public abstract javax.xml.soap.SOAPElement createElementFromInputSource(org.xml.sax.InputSource inputSource)
                                                                 throws javax.xml.soap.SOAPException
Create a SOAPElement from an InputSource

createElementFromInputSource is not thread safe

Parameters:
inputSource - InputSource containing the xml representation of this element and its contents
Returns:
SOAPElement
Throws:
SOAPException
javax.xml.soap.SOAPException

createElementFromInputSource

public abstract javax.xml.soap.SOAPElement createElementFromInputSource(org.xml.sax.InputSource is,
                                                                        java.lang.Class cls)
                                                                 throws javax.xml.soap.SOAPException
Create a SOAPElement based on given InputSource

createElementFromInputSource is not thread safe

Parameters:
xmlString - the string containing the soap element tree
cls - Class of SOAPElement to create (SOAPElement, SOAPBodyElement, SOAPHeaderElement, etc.)
Returns:
SOAPElement or null if cls is not supported.
Throws:
SOAPException
javax.xml.soap.SOAPException

createElementFromDOMElement

public abstract javax.xml.soap.SOAPElement createElementFromDOMElement(org.w3c.dom.Element dom,
                                                                       java.lang.Class cls)
                                                                throws javax.xml.soap.SOAPException
Create a SOAPElement from a DOM Element

createElementFromDOMElement is not thread safe

Parameters:
xmlString - the string containing the SOAPElement tree
cls - Class of SOAPElement to create (SOAPElement, SOAPBodyElement, SOAPHeaderElement, etc.)
Returns:
SOAPElement or null if cls is not supported.
Throws:
SOAPException
javax.xml.soap.SOAPException

IBM WebSphere Application ServerTM
Release 7