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 QNameelementTypeprotected java.lang.StringencodingStyleprotected QNamemessageprotected java.lang.StringnamespaceURIprotected java.lang.Stringpartprotected java.lang.Booleanrequiredstatic longserialVersionUIDprotected java.util.ListsoapHeaderFaultsprotected java.lang.Stringuse
-
Constructor Summary
Constructors Constructor Description SOAP12HeaderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)Add a SOAP header fault.QNamegetElementType()Get the type of this extensibility element.java.lang.StringgetEncodingStyle()Get the encodingStyle for this SOAP header.QNamegetMessage()Get the message for this SOAP header.java.lang.StringgetNamespaceURI()Get the namespace URI for this SOAP header.java.lang.StringgetPart()Get the part for this SOAP header.java.lang.BooleangetRequired()Get whether or not the semantics of this extension are required.java.util.ListgetSOAP12HeaderFaults()Get a list of all SOAP header faults contained in this SOAP header.java.lang.StringgetUse()Get the use for this SOAP header.SOAP12HeaderFaultremoveSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)Remove a SOAP header fault.voidsetElementType(QName elementType)Set the type of this extensibility element.voidsetEncodingStyle(java.lang.String encodingStyle)Set the encodingStyle for this SOAP header.voidsetMessage(QName message)Set the message for this SOAP header.voidsetNamespaceURI(java.lang.String namespaceURI)Set the namespace URI for this SOAP header.voidsetPart(java.lang.String part)Set the part for this SOAP header.voidsetRequired(java.lang.Boolean required)Set whether or not the semantics of this extension are required.voidsetUse(java.lang.String use)Set the use for this SOAP header.java.lang.StringtoString()
-
-
-
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:
setElementTypein interfaceExtensibilityElement- Parameters:
elementType- the type
-
getElementType
public QName getElementType()
Get the type of this extensibility element.- Specified by:
getElementTypein 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:
setRequiredin 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:
getRequiredin interfaceExtensibilityElement
-
setMessage
public void setMessage(QName message)
Set the message for this SOAP header.- Specified by:
setMessagein interfaceSOAP12Header- Parameters:
message- the desired message
-
getMessage
public QName getMessage()
Get the message for this SOAP header.- Specified by:
getMessagein interfaceSOAP12Header
-
setPart
public void setPart(java.lang.String part)
Set the part for this SOAP header.- Specified by:
setPartin interfaceSOAP12Header- Parameters:
part- the desired part
-
getPart
public java.lang.String getPart()
Get the part for this SOAP header.- Specified by:
getPartin interfaceSOAP12Header
-
setUse
public void setUse(java.lang.String use)
Set the use for this SOAP header.- Specified by:
setUsein interfaceSOAP12Header- Parameters:
use- the desired use
-
getUse
public java.lang.String getUse()
Get the use for this SOAP header.- Specified by:
getUsein interfaceSOAP12Header
-
setEncodingStyle
public void setEncodingStyle(java.lang.String encodingStyle)
Set the encodingStyle for this SOAP header.- Specified by:
setEncodingStylein interfaceSOAP12Header- Parameters:
encodingStyle- the desired encodingStyle
-
getEncodingStyle
public java.lang.String getEncodingStyle()
Get the encodingStyle for this SOAP header.- Specified by:
getEncodingStylein interfaceSOAP12Header
-
setNamespaceURI
public void setNamespaceURI(java.lang.String namespaceURI)
Set the namespace URI for this SOAP header.- Specified by:
setNamespaceURIin interfaceSOAP12Header- Parameters:
namespaceURI- the desired namespace URI
-
getNamespaceURI
public java.lang.String getNamespaceURI()
Get the namespace URI for this SOAP header.- Specified by:
getNamespaceURIin interfaceSOAP12Header
-
addSOAP12HeaderFault
public void addSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)
Description copied from interface:SOAP12HeaderAdd a SOAP header fault.- Specified by:
addSOAP12HeaderFaultin interfaceSOAP12Header- Parameters:
soap12HeaderFault- the SOAP Header fault to be added.
-
removeSOAP12HeaderFault
public SOAP12HeaderFault removeSOAP12HeaderFault(SOAP12HeaderFault soap12HeaderFault)
Description copied from interface:SOAP12HeaderRemove a SOAP header fault.- Specified by:
removeSOAP12HeaderFaultin 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:SOAP12HeaderGet a list of all SOAP header faults contained in this SOAP header.- Specified by:
getSOAP12HeaderFaultsin interfaceSOAP12Header- Returns:
- a list of all SOAP header faults contained in this SOAP header.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-