Uses of Interface
javax.xml.soap.SOAPElement
Packages that use SOAPElement
-
Uses of SOAPElement in javax.xml.soap
Subinterfaces of SOAPElement in javax.xml.soapModifier and TypeInterfaceDescriptioninterfaceA container forDetailEntryobjects.interfaceThe content for aDetailobject, giving details for aSOAPFaultobject.interfaceAn object that represents the contents of the SOAP body element in a SOAP message.interfaceASOAPBodyElementobject represents the contents in aSOAPBodyobject.interfaceThe container for the SOAPHeader and SOAPBody portions of aSOAPPartobject.interfaceAn element in theSOAPBodyobject that contains error and/or status information.interfaceA representation of the contents in aSOAPFaultobject.interfaceA representation of the SOAP header element.interfaceAn object representing the contents in the SOAP header part of the SOAP envelope.Methods in javax.xml.soap that return SOAPElementModifier and TypeMethodDescriptionSOAPElement.addAttribute(QName qname, String value) Adds an attribute with the specified name and value to thisSOAPElementobject.SOAPElement.addAttribute(Name name, String value) Adds an attribute with the specified name and value to thisSOAPElementobject.SOAPElement.addChildElement(String localName) Creates a newSOAPElementobject initialized with the specified local name and adds the new element to thisSOAPElementobject.SOAPElement.addChildElement(String localName, String prefix) Creates a newSOAPElementobject initialized with the specified local name and prefix and adds the new element to thisSOAPElementobject.SOAPElement.addChildElement(String localName, String prefix, String uri) Creates a newSOAPElementobject initialized with the specified local name, prefix, and URI and adds the new element to thisSOAPElementobject.SOAPElement.addChildElement(QName qname) Creates a newSOAPElementobject initialized with the givenQNameobject and adds the new element to thisSOAPElementobject.SOAPElement.addChildElement(Name name) Creates a newSOAPElementobject initialized with the givenNameobject and adds the new element to thisSOAPElementobject.SOAPElement.addChildElement(SOAPElement element) Add aSOAPElementas a child of thisSOAPElementinstance.SOAPElement.addNamespaceDeclaration(String prefix, String uri) Adds a namespace declaration with the specified prefix and URI to thisSOAPElementobject.SOAPElement.addTextNode(String text) Creates a newTextobject initialized with the givenStringand adds it to thisSOAPElementobject.Deprecated.Use javax.xml.soap.SOAPFactory.createElement(String localName) insteadDeprecated.Use javax.xml.soap.SOAPFactory.createElement(String localName, String prefix, String uri) insteadDeprecated.Use javax.xml.soap.SOAPFactory.createElement(javax.xml.soap.Name) insteadabstract SOAPElementSOAPFactory.createElement(String localName) Creates aSOAPElementobject initialized with the given local name.abstract SOAPElementSOAPFactory.createElement(String localName, String prefix, String uri) Creates a newSOAPElementobject with the given local name, prefix and uri.SOAPFactory.createElement(QName qname) Creates aSOAPElementobject initialized with the givenQNameobject.abstract SOAPElementSOAPFactory.createElement(Name name) Creates aSOAPElementobject initialized with the givenNameobject.SOAPFactory.createElement(Element domElement) Creates aSOAPElementobject from an existing DOMElement.Node.getParentElement()Returns the parent element of thisNodeobject.SOAPElement.setElementQName(QName newName) Changes the name of thisElementtonewNameif possible.Methods in javax.xml.soap with parameters of type SOAPElementModifier and TypeMethodDescriptionSOAPElement.addChildElement(SOAPElement element) Add aSOAPElementas a child of thisSOAPElementinstance.abstract AttachmentPartSOAPMessage.getAttachment(SOAPElement element) Returns anAttachmentPartobject that is associated with an attachment that is referenced by thisSOAPElementornullif no such attachment exists.voidNode.setParentElement(SOAPElement parent) Sets the parent of thisNodeobject to the givenSOAPElementobject.Constructors in javax.xml.soap with parameters of type SOAPElementModifierConstructorDescriptionSAAJResult(SOAPElement rootNode) Creates aSAAJResultthat will write the results as a child node of theSOAPElementspecified.