com.ibm.websphere.webservices.soap
Class IBMSOAPFactory
- java.lang.Object
-
- javax.xml.soap.SOAPFactory
-
- 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
Constructors Constructor and Description IBMSOAPFactory()
-
Method Summary
Methods Modifier and Type Method and Description abstract javax.xml.soap.SOAPElement
createElementFromDOMElement(org.w3c.dom.Element dom, java.lang.Class cls)
Create aSOAPElement
from a DOM Element createElementFromDOMElement is not thread safeabstract javax.xml.soap.SOAPElement
createElementFromInputSource(org.xml.sax.InputSource inputSource)
Create aSOAPElement
from anInputSource
createElementFromInputSource is not thread safeabstract javax.xml.soap.SOAPElement
createElementFromInputSource(org.xml.sax.InputSource is, java.lang.Class cls)
Create aSOAPElement
based on given InputSource createElementFromInputSource is not thread safeabstract javax.xml.soap.SOAPElement
createElementFromXMLString(java.lang.String xmlString)
Create aSOAPElement
from an xml string createElementXMLString is not a thread safe methodabstract 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
-
-
-
Method Detail
-
createElementFromXMLString
public abstract javax.xml.soap.SOAPElement createElementFromXMLString(java.lang.String xmlString) throws javax.xml.soap.SOAPException
Create aSOAPElement
from an xml stringcreateElementXMLString 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 stringcreateElementFromXMLString is not thread safe
- Parameters:
xmlString
- the string containing the SOAPElement treecls
- 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 aSOAPElement
from anInputSource
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 aSOAPElement
based on given InputSourcecreateElementFromInputSource is not thread safe
- Parameters:
xmlString
- the string containing the soap element treecls
- 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 aSOAPElement
from a DOM ElementcreateElementFromDOMElement is not thread safe
- Parameters:
xmlString
- the string containing the SOAPElement treecls
- Class of SOAPElement to create (SOAPElement, SOAPBodyElement, SOAPHeaderElement, etc.)- Returns:
- SOAPElement or null if cls is not supported.
- Throws:
SOAPException
javax.xml.soap.SOAPException
-
-