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
Based on com.ibm.wsdl.extensions.soap.SOAPHeaderImpl
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSOAP12HeaderFault
(SOAP12HeaderFault soap12HeaderFault) Add a SOAP header fault.Get the type of this extensibility element.java.lang.String
Get the encodingStyle 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
getPart()
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
getUse()
Get the use for this SOAP header.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 Details
-
elementType
-
required
protected java.lang.Boolean required -
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:
-
-
Constructor Details
-
SOAP12HeaderImpl
public SOAP12HeaderImpl()
-
-
Method Details
-
setElementType
Set the type of this extensibility element.- Specified by:
setElementType
in interfaceExtensibilityElement
- Parameters:
elementType
- the type
-
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
Set the message for this SOAP header.- Specified by:
setMessage
in interfaceSOAP12Header
- Parameters:
message
- the desired message
-
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
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
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
-