com.ibm.wsdl.extensions.soap12

Class SOAP12HeaderImpl

Implemented Interfaces:
ExtensibilityElement, java.io.Serializable, SOAP12Header

public class SOAP12HeaderImpl
extends java.lang.Object
implements SOAP12Header

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

Field Summary

protected QName
elementType
protected String
encodingStyle
protected QName
message
protected String
namespaceURI
protected String
part
protected Boolean
required
static long
serialVersionUID
protected List
soapHeaderFaults
protected String
use

Method Summary

void
addSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)
Add a SOAP header fault.
QName
getElementType()
Get the type of this extensibility element.
String
getEncodingStyle()
Get the encodingStyle for this SOAP header.
QName
getMessage()
Get the message for this SOAP header.
String
getNamespaceURI()
Get the namespace URI for this SOAP header.
String
getPart()
Get the part for this SOAP header.
Boolean
getRequired()
Get whether or not the semantics of this extension are required.
List
getSOAP12HeaderFaults()
Get a list of all SOAP header faults contained in this SOAP header.
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(String encodingStyle)
Set the encodingStyle for this SOAP header.
void
setMessage(QName message)
Set the message for this SOAP header.
void
setNamespaceURI(String namespaceURI)
Set the namespace URI for this SOAP header.
void
setPart(String part)
Set the part for this SOAP header.
void
setRequired(Boolean required)
Set whether or not the semantics of this extension are required.
void
setUse(String use)
Set the use for this SOAP header.
String
toString()

Field Details

elementType

protected QName elementType

encodingStyle

protected String encodingStyle

message

protected QName message

namespaceURI

protected String namespaceURI

part

protected String part

required

protected Boolean required

serialVersionUID

public static final long serialVersionUID
Field Value:
1L

soapHeaderFaults

protected List soapHeaderFaults

use

protected String use

Method Details

addSOAP12HeaderFault

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

getElementType

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

getEncodingStyle

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

getMessage

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

getNamespaceURI

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

getPart

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

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

getSOAP12HeaderFaults

public List getSOAP12HeaderFaults()
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.

getUse

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

removeSOAP12HeaderFault

public SOAP12HeaderFault removeSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)
Remove a SOAP header fault.
Specified by:
removeSOAP12HeaderFault in interface SOAP12Header
Parameters:
Returns:
the SOAP header fault which was removed.

setElementType

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

setEncodingStyle

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

setMessage

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

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

setPart

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

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

setUse

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

toString

public String toString()

Copyright B) 2003,2006 IBM. All Rights Reserved.