public class AttributeMimeTypePolicy extends Object implements MimeTypePolicy
Constructor and Description |
---|
AttributeMimeTypePolicy(String propertyName) |
Modifier and Type | Method and Description |
---|---|
String |
getMimeType(Object obj)
return a MIME type string
|
public AttributeMimeTypePolicy(String propertyName)
public String getMimeType(Object obj)
MimeTypePolicy
getMimeType
in interface org.eclipse.persistence.internal.oxm.mappings.MimeTypePolicy
obj
- - fixed non-dynamic implementors will ignore this parameter