Module org.eclipse.persistence.core
Interface MimeTypePolicy
- All Superinterfaces:
MimeTypePolicy
- All Known Implementing Classes:
AttributeMimeTypePolicy
,FixedMimeTypePolicy
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.- See Also:
-
Method Summary
-
Method Details
-
getMimeType
return a MIME type string- Specified by:
getMimeType
in interfaceMimeTypePolicy
- Parameters:
anObject
- - fixed non-dynamic implementors will ignore this parameter- Returns:
- String
-