|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataType<T>
Defines a Java type associated with additional information about the data. This may be a mime type for the type or for collections, the collection item type can be stored with the collection type.
| Field Summary | |
|---|---|
static String |
ANY_MIME_TYPE
|
| Method Summary | |
|---|---|
String |
getMimeType()
The mime type of the the source object to transform. |
Class |
getType()
The object type of the source object to transform. |
boolean |
isCompatibleWith(DataType dataType)
Used to determine if this data type is compatible with the data type passed in. |
void |
setMimeType(String mimeType)
The mime type of the the source object to transform. |
| Field Detail |
|---|
static final String ANY_MIME_TYPE
| Method Detail |
|---|
Class getType()
String getMimeType()
void setMimeType(String mimeType)
mimeType - the mime type of the source object. This may be null if the mime type is not known, or if the mime type is
not neededboolean isCompatibleWith(DataType dataType)
dataType - the dataType object to compare with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||