public class MIMEPartImpl extends java.lang.Object implements MIMEPart
| Modifier and Type | Field and Description |
|---|---|
protected QName |
elementType |
protected java.util.List |
extElements |
protected java.lang.Boolean |
required |
static long |
serialVersionUID |
| Constructor and Description |
|---|
MIMEPartImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
|
QName |
getElementType()
Get the type of this extensibility element.
|
java.util.List |
getExtensibilityElements()
Get all the extensibility elements defined here.
|
java.lang.Boolean |
getRequired()
Get whether or not the semantics of this extension
are required.
|
ExtensibilityElement |
removeExtensibilityElement(ExtensibilityElement extElement)
Remove an extensibility element.
|
void |
setElementType(QName elementType)
Set the type of this extensibility element.
|
void |
setRequired(java.lang.Boolean required)
Set whether or not the semantics of this extension
are required.
|
java.lang.String |
toString() |
protected QName elementType
protected java.lang.Boolean required
protected java.util.List extElements
public static final long serialVersionUID
public void setElementType(QName elementType)
setElementType in interface ExtensibilityElementelementType - the typepublic QName getElementType()
getElementType in interface ExtensibilityElementpublic void setRequired(java.lang.Boolean required)
setRequired in interface ExtensibilityElementpublic java.lang.Boolean getRequired()
getRequired in interface ExtensibilityElementpublic void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement in interface ElementExtensibleextElement - the extensibility element to be addedpublic ExtensibilityElement removeExtensibilityElement(ExtensibilityElement extElement)
removeExtensibilityElement in interface ElementExtensibleextElement - the extensibility element to be removedpublic java.util.List getExtensibilityElements()
getExtensibilityElements in interface ElementExtensiblepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2003, 2013 IBM. All Rights Reserved.