Class ElementFactory


  • public class ElementFactory
    extends Object
    • Constructor Detail

      • ElementFactory

        public ElementFactory()
    • Method Detail

      • createElement

        public static javax.xml.soap.SOAPElement createElement​(SOAPDocumentImpl ownerDocument,
                                                               javax.xml.soap.Name name)
      • createElement

        public static javax.xml.soap.SOAPElement createElement​(SOAPDocumentImpl ownerDocument,
                                                               QName name)
      • createElement

        public static javax.xml.soap.SOAPElement createElement​(SOAPDocumentImpl ownerDocument,
                                                               Element element)
        Create element wrapper for existing DOM element.
        Parameters:
        ownerDocument - SOAP document wrapper not null
        element - DOM element not null
        Returns:
        SOAP wrapper for DOM element
      • createNamedElement

        public static javax.xml.soap.SOAPElement createNamedElement​(SOAPDocumentImpl ownerDocument,
                                                                    String localName,
                                                                    String prefix,
                                                                    String namespaceUri)
      • invalidCreate

        protected static void invalidCreate​(String msg)