com.ibm.wsdl.extensions.soap12
Class SOAP12HeaderImpl

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

public class SOAP12HeaderImpl
extends java.lang.Object
implements SOAP12Header

Based on com.ibm.wsdl.extensions.soap.SOAPHeaderImpl

See Also:
Serialized Form

Field Summary
protected  QName elementType
           
protected  java.lang.String encodingStyle
           
protected  QName message
           
protected  java.lang.String namespaceURI
           
protected  java.lang.String part
           
protected  java.lang.Boolean required
           
static long serialVersionUID
           
protected  java.util.List soapHeaderFaults
           
protected  java.lang.String use
           
 
Constructor Summary
SOAP12HeaderImpl()
           
 
Method Summary
 void addSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)
          Add a SOAP header fault.
 QName getElementType()
          Get the type of this extensibility element.
 java.lang.String getEncodingStyle()
          Get the encodingStyle for this SOAP header.
 QName getMessage()
          Get the message for this SOAP header.
 java.lang.String getNamespaceURI()
          Get the namespace URI for this SOAP header.
 java.lang.String getPart()
          Get the part for this SOAP header.
 java.lang.Boolean getRequired()
          Get whether or not the semantics of this extension are required.
 java.util.List getSOAP12HeaderFaults()
          Get a list of all SOAP header faults contained in this SOAP header.
 java.lang.String getUse()
          Get the use for this SOAP header.
 SOAP12HeaderFault removeSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)
          Remove a SOAP header fault.
 void setElementType(QName elementType)
          Set the type of this extensibility element.
 void setEncodingStyle(java.lang.String encodingStyle)
          Set the encodingStyle 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 toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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

encodingStyle

protected java.lang.String encodingStyle

namespaceURI

protected java.lang.String namespaceURI

soapHeaderFaults

protected java.util.List soapHeaderFaults

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SOAP12HeaderImpl

public SOAP12HeaderImpl()
Method Detail

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 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(java.lang.String part)
Set the part for this SOAP header.

Specified by:
setPart in interface SOAP12Header
Parameters:
part - the desired part

getPart

public java.lang.String getPart()
Get the part for this SOAP header.

Specified by:
getPart in interface SOAP12Header

setUse

public void setUse(java.lang.String use)
Set the use for this SOAP header.

Specified by:
setUse in interface SOAP12Header
Parameters:
use - the desired use

getUse

public java.lang.String getUse()
Get the use for this SOAP header.

Specified by:
getUse in interface SOAP12Header

setEncodingStyle

public void setEncodingStyle(java.lang.String encodingStyle)
Set the encodingStyle for this SOAP header.

Specified by:
setEncodingStyle in interface SOAP12Header
Parameters:
encodingStyle - the desired encodingStyle

getEncodingStyle

public java.lang.String getEncodingStyle()
Get the encodingStyle for this SOAP header.

Specified by:
getEncodingStyle in interface SOAP12Header

setNamespaceURI

public void setNamespaceURI(java.lang.String namespaceURI)
Set the namespace URI for this SOAP header.

Specified by:
setNamespaceURI in interface SOAP12Header
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 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
Returns:
the SOAP header fault which was removed.

getSOAP12HeaderFaults

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


Copyright ? 2003,2006 IBM. All Rights Reserved.