Package com.ibm.wsdl.extensions.mime
Class MIMEPartImpl
java.lang.Object
com.ibm.wsdl.extensions.mime.MIMEPartImpl
- All Implemented Interfaces:
Serializable
,ElementExtensible
,ExtensibilityElement
,MIMEPart
- Author:
- Matthew J. Duftler (duftler@us.ibm.com)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtensibilityElement
(ExtensibilityElement extElement) Add an extensibility element.Get the type of this extensibility element.Get all the extensibility elements defined here.Get whether or not the semantics of this extension are required.removeExtensibilityElement
(ExtensibilityElement extElement) Remove an extensibility element.void
setElementType
(QName elementType) Set the type of this extensibility element.void
setRequired
(Boolean required) Set whether or not the semantics of this extension are required.toString()
-
Field Details
-
elementType
-
required
-
extElements
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
MIMEPartImpl
public MIMEPartImpl()
-
-
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
Set whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.- Specified by:
setRequired
in interfaceExtensibilityElement
-
getRequired
Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.- Specified by:
getRequired
in interfaceExtensibilityElement
-
addExtensibilityElement
Add an extensibility element. This is where the MIME elements go.- Specified by:
addExtensibilityElement
in interfaceElementExtensible
- Parameters:
extElement
- the extensibility element to be added
-
removeExtensibilityElement
Remove an extensibility element.- Specified by:
removeExtensibilityElement
in interfaceElementExtensible
- Parameters:
extElement
- the extensibility element to be removed- Returns:
- the extensibility element which was removed
-
getExtensibilityElements
Get all the extensibility elements defined here.- Specified by:
getExtensibilityElements
in interfaceElementExtensible
-
toString
-