public static boolean isDefaultType(String schema){
  for (int i=ALL_MEDIA_TYPES.length; --i >= 0; )   if (schema.equals(ALL_MEDIA_TYPES[i].schema))   return true;
  return false;
}

public static boolean isDefaultType ( String schema ) { for ( int i = ALL_MEDIA_TYPES . length ; -- i >= 0 ; ) if ( schema . equals ( ALL_MEDIA_TYPES [ i ] . schema ) ) return true ; return false ; }
determines whether or not the specified schema is a default .
