Class SOAP12HeaderImpl

java.lang.Object
com.ibm.wsdl.extensions.soap12.SOAP12HeaderImpl
All Implemented Interfaces:
Serializable, ExtensibilityElement, SOAP12Header

public class SOAP12HeaderImpl extends Object implements SOAP12Header
Based on com.ibm.wsdl.extensions.soap.SOAPHeaderImpl
See Also:
  • Field Details

    • elementType

      protected QName elementType
    • required

      protected Boolean required
    • message

      protected QName message
    • part

      protected String part
    • use

      protected String use
    • encodingStyle

      protected String encodingStyle
    • namespaceURI

      protected String namespaceURI
    • soapHeaderFaults

      protected List soapHeaderFaults
    • serialVersionUID

      public static final long serialVersionUID
      See Also:
  • Constructor Details

    • SOAP12HeaderImpl

      public SOAP12HeaderImpl()
  • Method Details

    • setElementType

      public void setElementType(QName elementType)
      Set the type of this extensibility element.
      Specified by:
      setElementType in interface ExtensibilityElement
      Parameters:
      elementType - the type
    • getElementType

      public QName getElementType()
      Get the type of this extensibility element.
      Specified by:
      getElementType in interface ExtensibilityElement
      Returns:
      the extensibility element's type
    • setRequired

      public void setRequired(Boolean required)
      Set whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
      Specified by:
      setRequired in interface ExtensibilityElement
    • getRequired

      public Boolean getRequired()
      Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
      Specified by:
      getRequired in interface ExtensibilityElement
    • setMessage

      public void setMessage(QName message)
      Set the message for this SOAP header.
      Specified by:
      setMessage in interface SOAP12Header
      Parameters:
      message - the desired message
    • getMessage

      public QName getMessage()
      Get the message for this SOAP header.
      Specified by:
      getMessage in interface SOAP12Header
    • setPart

      public void setPart(String part)
      Set the part for this SOAP header.
      Specified by:
      setPart in interface SOAP12Header
      Parameters:
      part - the desired part
    • getPart

      public String getPart()
      Get the part for this SOAP header.
      Specified by:
      getPart in interface SOAP12Header
    • setUse

      public void setUse(String use)
      Set the use for this SOAP header.
      Specified by:
      setUse in interface SOAP12Header
      Parameters:
      use - the desired use
    • getUse

      public String getUse()
      Get the use for this SOAP header.
      Specified by:
      getUse in interface SOAP12Header
    • setEncodingStyle

      public void setEncodingStyle(String encodingStyle)
      Set the encodingStyle for this SOAP header.
      Specified by:
      setEncodingStyle in interface SOAP12Header
      Parameters:
      encodingStyle - the desired encodingStyle
    • getEncodingStyle

      public String getEncodingStyle()
      Get the encodingStyle for this SOAP header.
      Specified by:
      getEncodingStyle in interface SOAP12Header
    • setNamespaceURI

      public void setNamespaceURI(String namespaceURI)
      Set the namespace URI for this SOAP header.
      Specified by:
      setNamespaceURI in interface SOAP12Header
      Parameters:
      namespaceURI - the desired namespace URI
    • getNamespaceURI

      public String getNamespaceURI()
      Get the namespace URI for this SOAP header.
      Specified by:
      getNamespaceURI in interface SOAP12Header
    • addSOAP12HeaderFault

      public void addSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)
      Description copied from interface: SOAP12Header
      Add a SOAP header fault.
      Specified by:
      addSOAP12HeaderFault in interface SOAP12Header
      Parameters:
      soap12HeaderFault - the SOAP Header fault to be added.
    • removeSOAP12HeaderFault

      public SOAP12HeaderFault removeSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)
      Description copied from interface: SOAP12Header
      Remove a SOAP header fault.
      Specified by:
      removeSOAP12HeaderFault in interface SOAP12Header
      Parameters:
      soap12HeaderFault - the SOAP header fault to be removed.
      Returns:
      the SOAP header fault which was removed.
    • getSOAP12HeaderFaults

      public List getSOAP12HeaderFaults()
      Description copied from interface: SOAP12Header
      Get a list of all SOAP header faults contained in this SOAP header.
      Specified by:
      getSOAP12HeaderFaults in interface SOAP12Header
      Returns:
      a list of all SOAP header faults contained in this SOAP header.
    • toString

      public String toString()
      Overrides:
      toString in class Object