|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MimeTypePolicy
Purpose:
A MimeTypePolicy is used in conjunction with an XMLBinaryData/CollectionMapping in order to allow customisation of the mime type for a specific property at runtime rather than at design time. By default, a FixedMimeTypePolicy is used.
XMLBinaryDataMapping,
XMLBinaryCollectionMapping,
FixedMimeTypePolicy| Method Summary | |
|---|---|
java.lang.String |
getMimeType(java.lang.Object anObject)
return a MIME type string |
| Method Detail |
|---|
java.lang.String getMimeType(java.lang.Object anObject)
anObject - - fixed non-dynamic implementors will ignore this parameter
|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||