Package com.ibm.wsdl.extensions.soap12
Class SOAP12HeaderImpl
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description 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
Constructors Constructor Description SOAP12HeaderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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
-
-
Method Detail
-
setElementType
public void setElementType(QName elementType)
Set the type of this extensibility element.- Specified by:
setElementType
in interfaceExtensibilityElement
- Parameters:
elementType
- the type
-
getElementType
public QName getElementType()
Get the type of this extensibility element.- Specified by:
getElementType
in interfaceExtensibilityElement
- 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 interfaceExtensibilityElement
-
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 interfaceExtensibilityElement
-
setMessage
public void setMessage(QName message)
Set the message for this SOAP header.- Specified by:
setMessage
in interfaceSOAP12Header
- Parameters:
message
- the desired message
-
getMessage
public QName getMessage()
Get the message for this SOAP header.- Specified by:
getMessage
in interfaceSOAP12Header
-
setPart
public void setPart(java.lang.String part)
Set the part for this SOAP header.- Specified by:
setPart
in interfaceSOAP12Header
- Parameters:
part
- the desired part
-
getPart
public java.lang.String getPart()
Get the part for this SOAP header.- Specified by:
getPart
in interfaceSOAP12Header
-
setUse
public void setUse(java.lang.String use)
Set the use for this SOAP header.- Specified by:
setUse
in interfaceSOAP12Header
- Parameters:
use
- the desired use
-
getUse
public java.lang.String getUse()
Get the use for this SOAP header.- Specified by:
getUse
in interfaceSOAP12Header
-
setEncodingStyle
public void setEncodingStyle(java.lang.String encodingStyle)
Set the encodingStyle for this SOAP header.- Specified by:
setEncodingStyle
in interfaceSOAP12Header
- Parameters:
encodingStyle
- the desired encodingStyle
-
getEncodingStyle
public java.lang.String getEncodingStyle()
Get the encodingStyle for this SOAP header.- Specified by:
getEncodingStyle
in interfaceSOAP12Header
-
setNamespaceURI
public void setNamespaceURI(java.lang.String namespaceURI)
Set the namespace URI for this SOAP header.- Specified by:
setNamespaceURI
in interfaceSOAP12Header
- Parameters:
namespaceURI
- the desired namespace URI
-
getNamespaceURI
public java.lang.String getNamespaceURI()
Get the namespace URI for this SOAP header.- Specified by:
getNamespaceURI
in interfaceSOAP12Header
-
addSOAP12HeaderFault
public void addSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)
Description copied from interface:SOAP12Header
Add a SOAP header fault.- Specified by:
addSOAP12HeaderFault
in interfaceSOAP12Header
- 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 interfaceSOAP12Header
- Parameters:
soap12HeaderFault
- the SOAP header fault to be removed.- 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 interfaceSOAP12Header
- Returns:
- a list of all SOAP header faults contained in this SOAP header.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-