Class method to register a parser class to a format name
string $name The name of the format (e.g. ntriples):
string $class The name of the class (e.g. EasyRdf_Parser_Ntriples):
public static function registerParser($name, $class) {
if (!self::formatExists($name)) {
self::register($name);
}
self::getFormat($name)
->setParserClass($class);
}