abstractpublic class MimeType extends EnumClass(Code)
This is a typed enumeration of all the mime types that the content
management framework specifically knows about.
The types that are defined here can be validated and transformed.
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3634 $ since: 1.0
getValidationRule(ConstrainedProperty constrainedProperty) Constructs and returns a CMF-specific validation rule that is able to
validate data for this mime type.
Returns the MimeType instance that corresponds to a given
textual identifier.
Parameters: identifier - the identifier of the mime type that has to beretrieved the requested MimeType; or
Constructs and returns a CMF-specific validation rule that is able to
validate data for this mime type.
Parameters: constrainedProperty - an instance of the property for which thevalidation rule has to be built an instance of the validation rule since: 1.0