public class MIMEMultipartRelatedImpl extends Object implements MIMEMultipartRelated
| Modifier and Type | Field and Description |
|---|---|
protected QName |
elementType |
protected List |
mimeParts |
protected Boolean |
required |
static long |
serialVersionUID |
| Constructor and Description |
|---|
MIMEMultipartRelatedImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMIMEPart(MIMEPart mimePart)
Add a MIME part to this MIME multipart related.
|
QName |
getElementType()
Get the type of this extensibility element.
|
List |
getMIMEParts()
Get all the MIME parts defined here.
|
Boolean |
getRequired()
Get whether or not the semantics of this extension
are required.
|
MIMEPart |
removeMIMEPart(MIMEPart mimePart)
Remove a MIME part from this MIME multipart related.
|
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.
|
String |
toString() |
protected QName elementType
protected Boolean required
protected List mimeParts
public static final long serialVersionUID
public void setElementType(QName elementType)
setElementType in interface ExtensibilityElementelementType - the typepublic QName getElementType()
getElementType in interface ExtensibilityElementpublic void setRequired(Boolean required)
setRequired in interface ExtensibilityElementpublic Boolean getRequired()
getRequired in interface ExtensibilityElementpublic void addMIMEPart(MIMEPart mimePart)
addMIMEPart in interface MIMEMultipartRelatedmimePart - the MIME part to be addedpublic MIMEPart removeMIMEPart(MIMEPart mimePart)
removeMIMEPart in interface MIMEMultipartRelatedmimePart - the MIME part to be removed.public List getMIMEParts()
getMIMEParts in interface MIMEMultipartRelatedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.