Class AttributeMimeTypePolicy

  • All Implemented Interfaces:
    org.eclipse.persistence.internal.oxm.mappings.MimeTypePolicy, MimeTypePolicy

    public class AttributeMimeTypePolicy
    extends java.lang.Object
    implements MimeTypePolicy
    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeMimeTypePolicy​(java.lang.String propertyName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMimeType​(java.lang.Object obj)
      return a MIME type string
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AttributeMimeTypePolicy

        public AttributeMimeTypePolicy​(java.lang.String propertyName)
    • Method Detail

      • getMimeType

        public java.lang.String getMimeType​(java.lang.Object obj)
        Description copied from interface: MimeTypePolicy
        return a MIME type string
        Specified by:
        getMimeType in interface org.eclipse.persistence.internal.oxm.mappings.MimeTypePolicy
        Specified by:
        getMimeType in interface MimeTypePolicy
        Parameters:
        obj - - fixed non-dynamic implementors will ignore this parameter
        Returns:
        String