Class SOAPHeaderImpl

java.lang.Object
com.ibm.wsdl.extensions.soap.SOAPHeaderImpl
All Implemented Interfaces:
Serializable, ExtensibilityElement, SOAPHeader

public class SOAPHeaderImpl extends Object implements SOAPHeader
Author:
Matthew J. Duftler (duftler@us.ibm.com)
See Also:
  • Field Details

    • elementType

      protected QName elementType
    • required

      protected Boolean required
    • message

      protected QName message
    • part

      protected String part
    • use

      protected String use
    • encodingStyles

      protected List encodingStyles
    • namespaceURI

      protected String namespaceURI
    • soapHeaderFaults

      protected List soapHeaderFaults
    • serialVersionUID

      public static final long serialVersionUID
      See Also:
  • Constructor Details

    • SOAPHeaderImpl

      public SOAPHeaderImpl()
  • 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 SOAPHeader
      Parameters:
      message - the desired message
    • getMessage

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

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

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

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

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

      public void setEncodingStyles(List encodingStyles)
      Set the encodingStyles for this SOAP header.
      Specified by:
      setEncodingStyles in interface SOAPHeader
      Parameters:
      encodingStyles - the desired encodingStyles
    • getEncodingStyles

      public List getEncodingStyles()
      Get the encodingStyles for this SOAP header.
      Specified by:
      getEncodingStyles in interface SOAPHeader
    • setNamespaceURI

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

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

      public void addSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)
      Description copied from interface: SOAPHeader
      Add a SOAP header fault.
      Specified by:
      addSOAPHeaderFault in interface SOAPHeader
      Parameters:
      soapHeaderFault - the SOAP Header fault to be added.
    • removeSOAPHeaderFault

      public SOAPHeaderFault removeSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)
      Description copied from interface: SOAPHeader
      Remove a SOAP header fault.
      Specified by:
      removeSOAPHeaderFault in interface SOAPHeader
      Parameters:
      soapHeaderFault - the SOAP header fault to be removed.
      Returns:
      the SOAP header fault which was removed.
    • getSOAPHeaderFaults

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

      public String toString()
      Overrides:
      toString in class Object