public class MIMEContentImpl extends java.lang.Object implements MIMEContent
Modifier and Type | Field and Description |
---|---|
protected QName |
elementType |
protected java.lang.String |
part |
protected java.lang.Boolean |
required |
static long |
serialVersionUID |
protected java.lang.String |
type |
Constructor and Description |
---|
MIMEContentImpl() |
Modifier and Type | Method and Description |
---|---|
QName |
getElementType()
Get the type of this extensibility element.
|
java.lang.String |
getPart()
Get the part for this MIME content.
|
java.lang.Boolean |
getRequired()
Get whether or not the semantics of this extension
are required.
|
java.lang.String |
getType()
Get the type for this MIME content.
|
void |
setElementType(QName elementType)
Set the type of this extensibility element.
|
void |
setPart(java.lang.String part)
Set the part for this MIME content.
|
void |
setRequired(java.lang.Boolean required)
Set whether or not the semantics of this extension
are required.
|
void |
setType(java.lang.String type)
Set the type for this MIME content.
|
java.lang.String |
toString() |
protected QName elementType
protected java.lang.Boolean required
protected java.lang.String part
protected java.lang.String type
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 setPart(java.lang.String part)
setPart
in interface MIMEContent
part
- the desired partpublic java.lang.String getPart()
getPart
in interface MIMEContent
public void setType(java.lang.String type)
setType
in interface MIMEContent
type
- the desired typepublic java.lang.String getType()
getType
in interface MIMEContent
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2003, 2013 IBM. All Rights Reserved.