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.
|
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 ExtensibilityElement
elementType
- the typepublic QName getElementType()
getElementType
in interface ExtensibilityElement
public void setRequired(java.lang.Boolean required)
setRequired
in interface ExtensibilityElement
public java.lang.Boolean getRequired()
getRequired
in interface ExtensibilityElement
public void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement
in interface MIMEPart
extElement
- the extensibility element to be addedpublic java.util.List getExtensibilityElements()
getExtensibilityElements
in interface MIMEPart
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2003,2005 IBM. All Rights Reserved.