public class MIMEPartImpl extends Object implements MIMEPart
| Modifier and Type | Field and Description |
|---|---|
protected QName |
elementType |
protected List |
extElements |
protected 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.
|
List |
getExtensibilityElements()
Get all the extensibility elements defined here.
|
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(Boolean required)
Set whether or not the semantics of this extension
are required.
|
String |
toString() |
protected QName elementType
protected Boolean required
protected 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(Boolean required)
setRequired in interface ExtensibilityElementpublic 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 List getExtensibilityElements()
getExtensibilityElements in interface ElementExtensibleCopyright © 2017 JBoss by Red Hat. All rights reserved.