Class EnvelopeImpl

    • Field Detail

      • header

        private Header header
        SOAP header.
      • body

        private Body body
        SOAP body.
    • Constructor Detail

      • EnvelopeImpl

        protected EnvelopeImpl​(String namespaceURI,
                               String elementLocalName,
                               String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - namespace of the element
        elementLocalName - name of the element
        namespacePrefix - namespace prefix of the element
    • Method Detail

      • getHeader

        public Header getHeader()
        Gets the header of this envelope.
        Specified by:
        getHeader in interface Envelope
        Returns:
        the header of this envelope
      • setHeader

        public void setHeader​(Header newHeader)
        Sets the header of this envelope.
        Specified by:
        setHeader in interface Envelope
        Parameters:
        newHeader - the header of this envelope
      • getBody

        public Body getBody()
        Gets the body of this envelope.
        Specified by:
        getBody in interface Envelope
        Returns:
        the body of this envelope
      • setBody

        public void setBody​(Body newBody)
        Sets the body of this envelope.
        Specified by:
        setBody in interface Envelope
        Parameters:
        newBody - the body of this envelope