com.ibm.wsdl.extensions.soap

Class SOAPHeaderImpl

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

public class SOAPHeaderImpl
extends java.lang.Object
implements SOAPHeader

Author:
Matthew J. Duftler (duftler@us.ibm.com)

Field Summary

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

Method Summary

void
addSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)
Add a SOAP header fault.
QName
getElementType()
Get the type of this extensibility element.
List
getEncodingStyles()
Get the encodingStyles 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
getSOAPHeaderFaults()
Get a list of all SOAP header faults contained in this SOAP header.
String
getUse()
Get the use for this SOAP header.
SOAPHeaderFault
removeSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)
Remove a SOAP header fault.
void
setElementType(QName elementType)
Set the type of this extensibility element.
void
setEncodingStyles(List encodingStyles)
Set the encodingStyles 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

encodingStyles

protected List encodingStyles

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

addSOAPHeaderFault

public void addSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)
Add a SOAP header fault.
Specified by:
addSOAPHeaderFault in interface SOAPHeader
Parameters:
soapHeaderFault - 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

getEncodingStyles

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

getMessage

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

getNamespaceURI

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

getPart

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

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

getSOAPHeaderFaults

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

getUse

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

removeSOAPHeaderFault

public SOAPHeaderFault removeSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)
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.

setElementType

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

setEncodingStyles

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

setMessage

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

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

setPart

public void setPart(String part)
Set the part for this SOAP header.
Specified by:
setPart in interface SOAPHeader
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 SOAPHeader
Parameters:
use - the desired use

toString

public String toString()

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