Class SOAPBodyElementImpl<T extends org.apache.axiom.om.OMElement>

All Implemented Interfaces:
jakarta.xml.soap.Node, jakarta.xml.soap.SOAPBodyElement, jakarta.xml.soap.SOAPElement, Element, Node
Direct Known Subclasses:
SOAPFaultImpl

public class SOAPBodyElementImpl<T extends org.apache.axiom.om.OMElement> extends SOAPElementImpl<T> implements jakarta.xml.soap.SOAPBodyElement
  • Constructor Details

    • SOAPBodyElementImpl

      public SOAPBodyElementImpl(T element)
      Parameters:
      element -
  • Method Details

    • setParentElement

      public void setParentElement(jakarta.xml.soap.SOAPElement parent) throws jakarta.xml.soap.SOAPException
      Specified by:
      setParentElement in interface jakarta.xml.soap.Node
      Overrides:
      setParentElement in class NodeImpl<Element,T extends org.apache.axiom.om.OMElement>
      Throws:
      jakarta.xml.soap.SOAPException
    • addAttribute

      public jakarta.xml.soap.SOAPElement addAttribute(QName qname, String value) throws jakarta.xml.soap.SOAPException
      Specified by:
      addAttribute in interface jakarta.xml.soap.SOAPElement
      Overrides:
      addAttribute in class SOAPElementImpl<T extends org.apache.axiom.om.OMElement>
      Throws:
      jakarta.xml.soap.SOAPException
    • addChildElement

      public jakarta.xml.soap.SOAPElement addChildElement(QName qname) throws jakarta.xml.soap.SOAPException
      Specified by:
      addChildElement in interface jakarta.xml.soap.SOAPElement
      Overrides:
      addChildElement in class SOAPElementImpl<T extends org.apache.axiom.om.OMElement>
      Throws:
      jakarta.xml.soap.SOAPException
    • createQName

      public QName createQName(String localName, String prefix) throws jakarta.xml.soap.SOAPException
      Description copied from class: SOAPElementImpl
      Creates a QName whose namespace URI is the one associated with the parameter, prefix, in the context of this SOAPElement. The remaining elements of the new QName are taken directly from the parameters, localName and prefix.
      Specified by:
      createQName in interface jakarta.xml.soap.SOAPElement
      Overrides:
      createQName in class SOAPElementImpl<T extends org.apache.axiom.om.OMElement>
      Parameters:
      localName - - a String containing the local part of the name. prefix - a String containing the prefix for the name.
      Returns:
      a QName with the specified localName and prefix, and with a namespace that is associated with the prefix in the context of this SOAPElement. This namespace will be the same as the one that would be returned by getNamespaceURI(String) if it were given prefix as its parameter.
      Throws:
      jakarta.xml.soap.SOAPException - - if the QName cannot be created.
    • getAllAttributesAsQNames

      public Iterator getAllAttributesAsQNames()
      Specified by:
      getAllAttributesAsQNames in interface jakarta.xml.soap.SOAPElement
      Overrides:
      getAllAttributesAsQNames in class SOAPElementImpl<T extends org.apache.axiom.om.OMElement>
    • getAttributeValue

      public String getAttributeValue(QName qname)
      Specified by:
      getAttributeValue in interface jakarta.xml.soap.SOAPElement
      Overrides:
      getAttributeValue in class SOAPElementImpl<T extends org.apache.axiom.om.OMElement>
    • getChildElements

      public Iterator getChildElements(QName qname)
      Specified by:
      getChildElements in interface jakarta.xml.soap.SOAPElement
      Overrides:
      getChildElements in class SOAPElementImpl<T extends org.apache.axiom.om.OMElement>
    • getElementQName

      public QName getElementQName()
      Specified by:
      getElementQName in interface jakarta.xml.soap.SOAPElement
      Overrides:
      getElementQName in class SOAPElementImpl<T extends org.apache.axiom.om.OMElement>
    • removeAttribute

      public boolean removeAttribute(QName qname)
      Specified by:
      removeAttribute in interface jakarta.xml.soap.SOAPElement
      Overrides:
      removeAttribute in class SOAPElementImpl<T extends org.apache.axiom.om.OMElement>
    • setElementQName

      public jakarta.xml.soap.SOAPElement setElementQName(QName newName) throws jakarta.xml.soap.SOAPException
      Specified by:
      setElementQName in interface jakarta.xml.soap.SOAPElement
      Overrides:
      setElementQName in class SOAPElementImpl<T extends org.apache.axiom.om.OMElement>
      Throws:
      jakarta.xml.soap.SOAPException