com.ibm.websphere.webservices.soap

Class IBMSOAPFactory

  1. java.lang.Object
  2. extended byjavax.xml.soap.SOAPFactory
  3. extended bycom.ibm.websphere.webservices.soap.IBMSOAPFactory

  1. public abstract class IBMSOAPFactory
  2. extends javax.xml.soap.SOAPFactory
This interface exposes IBM value-add methods. These methods are not thread safe.
See Also:
SOAPFactory

Constructor Summary

Constructor and Description
IBMSOAPFactory()

Method Summary

Modifier and Type Method and Description
  1. abstract
  2. 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
  1. abstract
  2. javax.xml.soap.SOAPElement
createElementFromInputSource(org.xml.sax.InputSource inputSource)
Create a SOAPElement from an InputSource createElementFromInputSource is not thread safe
  1. abstract
  2. 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
  1. abstract
  2. javax.xml.soap.SOAPElement
createElementFromXMLString(java.lang.String xmlString)
Create a SOAPElement from an xml string createElementXMLString is not a thread safe method
  1. abstract
  2. 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

  1. public IBMSOAPFactory()

Method Detail

createElementFromXMLString

  1. public abstract javax.xml.soap.SOAPElement createElementFromXMLString( java.lang.String xmlString)
  2. 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:
javax.xml.soap.SOAPException

createElementFromXMLString

  1. public abstract javax.xml.soap.SOAPElement createElementFromXMLString( java.lang.String xmlString,
  2. java.lang.Class cls)
  3. 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:
javax.xml.soap.SOAPException

createElementFromInputSource

  1. public abstract javax.xml.soap.SOAPElement createElementFromInputSource( org.xml.sax.InputSource inputSource)
  2. 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:
javax.xml.soap.SOAPException

createElementFromInputSource

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

createElementFromInputSource is not thread safe

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

createElementFromDOMElement

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

createElementFromDOMElement is not thread safe

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