Class ElementFactory


  • public class ElementFactory
    extends Object
    • Constructor Detail

      • ElementFactory

        public ElementFactory()
    • Method Detail

      • createElement

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

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

        public static jakarta.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 jakarta.xml.soap.SOAPElement createNamedElement​(SOAPDocumentImpl ownerDocument,
                                                                      String localName,
                                                                      String prefix,
                                                                      String namespaceUri)
      • invalidCreate

        protected static void invalidCreate​(String msg)