Package com.ibm.wsdl.extensions.soap
Class SOAPHeaderImpl
- java.lang.Object
-
- com.ibm.wsdl.extensions.soap.SOAPHeaderImpl
-
- All Implemented Interfaces:
java.io.Serializable,ExtensibilityElement,SOAPHeader
public class SOAPHeaderImpl extends java.lang.Object implements SOAPHeader
- Author:
- Matthew J. Duftler (duftler@us.ibm.com)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected QNameelementTypeprotected java.util.ListencodingStylesprotected QNamemessageprotected java.lang.StringnamespaceURIprotected java.lang.Stringpartprotected java.lang.Booleanrequiredstatic longserialVersionUIDprotected java.util.ListsoapHeaderFaultsprotected java.lang.Stringuse
-
Constructor Summary
Constructors Constructor Description SOAPHeaderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)Add a SOAP header fault.QNamegetElementType()Get the type of this extensibility element.java.util.ListgetEncodingStyles()Get the encodingStyles 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.ListgetSOAPHeaderFaults()Get a list of all SOAP header faults contained in this SOAP header.java.lang.StringgetUse()Get the use for this SOAP header.SOAPHeaderFaultremoveSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)Remove a SOAP header fault.voidsetElementType(QName elementType)Set the type of this extensibility element.voidsetEncodingStyles(java.util.List encodingStyles)Set the encodingStyles 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
-
encodingStyles
protected java.util.List encodingStyles
-
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 interfaceSOAPHeader- Parameters:
message- the desired message
-
getMessage
public QName getMessage()
Get the message for this SOAP header.- Specified by:
getMessagein interfaceSOAPHeader
-
setPart
public void setPart(java.lang.String part)
Set the part for this SOAP header.- Specified by:
setPartin interfaceSOAPHeader- Parameters:
part- the desired part
-
getPart
public java.lang.String getPart()
Get the part for this SOAP header.- Specified by:
getPartin interfaceSOAPHeader
-
setUse
public void setUse(java.lang.String use)
Set the use for this SOAP header.- Specified by:
setUsein interfaceSOAPHeader- Parameters:
use- the desired use
-
getUse
public java.lang.String getUse()
Get the use for this SOAP header.- Specified by:
getUsein interfaceSOAPHeader
-
setEncodingStyles
public void setEncodingStyles(java.util.List encodingStyles)
Set the encodingStyles for this SOAP header.- Specified by:
setEncodingStylesin interfaceSOAPHeader- Parameters:
encodingStyles- the desired encodingStyles
-
getEncodingStyles
public java.util.List getEncodingStyles()
Get the encodingStyles for this SOAP header.- Specified by:
getEncodingStylesin interfaceSOAPHeader
-
setNamespaceURI
public void setNamespaceURI(java.lang.String namespaceURI)
Set the namespace URI for this SOAP header.- Specified by:
setNamespaceURIin interfaceSOAPHeader- Parameters:
namespaceURI- the desired namespace URI
-
getNamespaceURI
public java.lang.String getNamespaceURI()
Get the namespace URI for this SOAP header.- Specified by:
getNamespaceURIin interfaceSOAPHeader
-
addSOAPHeaderFault
public void addSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)
Description copied from interface:SOAPHeaderAdd a SOAP header fault.- Specified by:
addSOAPHeaderFaultin interfaceSOAPHeader- Parameters:
soapHeaderFault- the SOAP Header fault to be added.
-
removeSOAPHeaderFault
public SOAPHeaderFault removeSOAPHeaderFault(SOAPHeaderFault soapHeaderFault)
Description copied from interface:SOAPHeaderRemove a SOAP header fault.- Specified by:
removeSOAPHeaderFaultin interfaceSOAPHeader- Parameters:
soapHeaderFault- the SOAP header fault to be removed.- Returns:
- the SOAP header fault which was removed.
-
getSOAPHeaderFaults
public java.util.List getSOAPHeaderFaults()
Description copied from interface:SOAPHeaderGet a list of all SOAP header faults contained in this SOAP header.- Specified by:
getSOAPHeaderFaultsin interfaceSOAPHeader- Returns:
- a list of all SOAP header faults contained in this SOAP header.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-