Previous section   Next section
SOAPElementFactory javax.xml.soap

SAAJ 1.1; JWSDP 1.0, J2EE 1.4
public class SOAPElementFactory {
// No Constructor
// Public Class Methods
    public static SOAPElementFactory newInstance(  ) throws SOAPException; 
// Deprecated Public Methods
    public SOAPElement create(String localName) 
        throws SOAPException;               // #
    public SOAPElement create(Name name) 
        throws SOAPException;               // #
    public SOAPElement create(String localName, String prefix, String uri) 
        throws SOAPException;               // #
}

SOAPElementFactory is an obsolete class that was used in the early releases of the SAAJ API to create SOAPElements and is now supported only for backward-compatibility. As of SAAJ Version 1.1, application code should use the SOAPFactory class to create SOAPElement objects.

Returned By

SOAPElementFactory.newInstance( )


  Previous section   Next section