com.ibm.websphere.webservices.soap
Class IBMSOAPFactory

java.lang.Object
  extended by javax.xml.soap.SOAPFactory
      extended by com.ibm.websphere.webservices.soap.IBMSOAPFactory
Direct Known Subclasses:
SOAPFactory

public abstract class IBMSOAPFactory
extends SOAPFactory

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

See Also:
SOAPFactory

Constructor Summary
IBMSOAPFactory()
           
 
Method Summary
abstract  SOAPElement createElementFromDOMElement(org.w3c.dom.Element dom, java.lang.Class cls)
          Create a SOAPElement from a DOM Element
abstract  SOAPElement createElementFromInputSource(org.xml.sax.InputSource inputSource)
          Create a SOAPElement from an InputSource
abstract  SOAPElement createElementFromInputSource(org.xml.sax.InputSource is, java.lang.Class cls)
          Create a SOAPElement based on given InputSource
abstract  SOAPElement createElementFromXMLString(java.lang.String xmlString)
          Create a SOAPElement from an xml string
abstract  SOAPElement createElementFromXMLString(java.lang.String xmlString, java.lang.Class cls)
          Create a SOAPElement based on given xml string
 
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 SOAPElement createElementFromXMLString(java.lang.String xmlString)
                                                throws 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
SOAPException

createElementFromXMLString

public abstract SOAPElement createElementFromXMLString(java.lang.String xmlString,
                                                       java.lang.Class cls)
                                                throws 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
SOAPException

createElementFromInputSource

public abstract SOAPElement createElementFromInputSource(org.xml.sax.InputSource inputSource)
                                                  throws 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
SOAPException

createElementFromInputSource

public abstract SOAPElement createElementFromInputSource(org.xml.sax.InputSource is,
                                                         java.lang.Class cls)
                                                  throws 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
SOAPException

createElementFromDOMElement

public abstract SOAPElement createElementFromDOMElement(org.w3c.dom.Element dom,
                                                        java.lang.Class cls)
                                                 throws 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
SOAPException