public interface MimeTypePolicy extends 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| Modifier and Type | Method and Description |
|---|---|
String |
getMimeType(Object anObject)
return a MIME type string
|
String getMimeType(Object anObject)
getMimeType in interface MimeTypePolicyanObject - - fixed non-dynamic implementors will ignore this parameterEclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference