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 ExtensibilityElement
elementType
- the typepublic QName getElementType()
getElementType
in interface ExtensibilityElement
public void setRequired(Boolean required)
setRequired
in interface ExtensibilityElement
public Boolean getRequired()
getRequired
in interface ExtensibilityElement
public void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement
in interface ElementExtensible
extElement
- the extensibility element to be addedpublic ExtensibilityElement removeExtensibilityElement(ExtensibilityElement extElement)
removeExtensibilityElement
in interface ElementExtensible
extElement
- the extensibility element to be removedpublic List getExtensibilityElements()
getExtensibilityElements
in interface ElementExtensible
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.