Class SOAPHeaderImpl

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

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

    Fields
    Modifier and Type
    Field
    Description
    protected QName
     
    protected java.util.List
     
    protected QName
     
    protected java.lang.String
     
    protected java.lang.String
     
    protected java.lang.Boolean
     
    static final long
     
    protected java.util.List
     
    protected java.lang.String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add a SOAP header fault.
    Get the type of this extensibility element.
    java.util.List
    Get the encodingStyles for this SOAP header.
    Get the message for this SOAP header.
    java.lang.String
    Get the namespace URI for this SOAP header.
    java.lang.String
    Get the part for this SOAP header.
    java.lang.Boolean
    Get whether or not the semantics of this extension are required.
    java.util.List
    Get a list of all SOAP header faults contained in this SOAP header.
    java.lang.String
    Get the use for this SOAP header.
    Remove a SOAP header fault.
    void
    setElementType(QName elementType)
    Set the type of this extensibility element.
    void
    setEncodingStyles(java.util.List encodingStyles)
    Set the encodingStyles for this SOAP header.
    void
    setMessage(QName message)
    Set the message for this SOAP header.
    void
    setNamespaceURI(java.lang.String namespaceURI)
    Set the namespace URI for this SOAP header.
    void
    setPart(java.lang.String part)
    Set the part for this SOAP header.
    void
    setRequired(java.lang.Boolean required)
    Set whether or not the semantics of this extension are required.
    void
    setUse(java.lang.String use)
    Set the use for this SOAP header.
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • elementType

      protected QName elementType
    • required

      protected java.lang.Boolean required
    • message

      protected QName message
    • part

      protected java.lang.String part
    • use

      protected java.lang.String use
    • encodingStyles

      protected java.util.List encodingStyles
    • namespaceURI

      protected java.lang.String namespaceURI
    • soapHeaderFaults

      protected java.util.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(java.lang.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 java.lang.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(java.lang.String part)
      Set the part for this SOAP header.
      Specified by:
      setPart in interface SOAPHeader
      Parameters:
      part - the desired part
    • getPart

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

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

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

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

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

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

      public java.lang.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 java.util.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 java.lang.String toString()
      Overrides:
      toString in class java.lang.Object