public class RDFParserRegistry extends Object
RDFLanguages
RDFParserRegistry
Constructor and Description |
---|
RDFParserRegistry() |
Modifier and Type | Method and Description |
---|---|
static ReaderRIOTFactory |
getFactory(Lang language)
Return the parser factory for the language, or null if not registered
|
static void |
init() |
static boolean |
isQuads(Lang lang)
return true if the language is registered with the quads parser factories
|
static boolean |
isTriples(Lang lang)
return true if the language is registered with the triples parser factories
|
static void |
registerLangQuads(Lang lang,
ReaderRIOTFactory factory)
Register a language and it's parser factory.
|
static void |
registerLangTriples(Lang lang,
ReaderRIOTFactory factory)
Register a language and it's parser factory.
|
static void |
removeRegistration(Lang lang)
Remove registration
|
public static void init()
public static void registerLangTriples(Lang lang, ReaderRIOTFactory factory)
Lang
object use LangBuilder
.public static void registerLangQuads(Lang lang, ReaderRIOTFactory factory)
Lang
object use LangBuilder
.public static void removeRegistration(Lang lang)
public static ReaderRIOTFactory getFactory(Lang language)
public static boolean isTriples(Lang lang)
public static boolean isQuads(Lang lang)
Licenced under the Apache License, Version 2.0