Implemented abstract media type validator to be extended by concrete media type validators.