public class RDFReaderFImpl extends Object implements RDFReaderF
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULTLANG |
Constructor and Description |
---|
RDFReaderFImpl()
Creates new RDFReaderFImpl
|
Modifier and Type | Method and Description |
---|---|
static void |
alternative(RDFReaderF other)
Rewire to use an external RDFReaderF (typically, RIOT).
|
RDFReader |
getReader()
return an RDFReader instance for the default serialization language.
|
RDFReader |
getReader(String lang)
return an RDFReader instance for the specified serialization language.
|
String |
removeReader(String lang)
Remove lang from list of readers..
|
void |
resetRDFReaderF()
Resets the values to the initial condition.
|
static String |
setBaseReaderClassName(String lang,
String className)
Deprecated.
Register with RIOT.
|
String |
setReaderClassName(String lang,
String className)
Deprecated.
Register with RIOT.
|
public static final String DEFAULTLANG
public static void alternative(RDFReaderF other)
other
- public RDFReader getReader()
RDFReaderF
getReader
in interface RDFReaderF
public RDFReader getReader(String lang)
RDFReaderF
getReader
in interface RDFReaderF
lang
- the serialization language - null
selects the
default@Deprecated public String setReaderClassName(String lang, String className)
RDFParserRegistry.registerLangTriples
and
RDFParserRegistry.registerLangQuads
setReaderClassName
in interface RDFReaderF
lang
- the language for which this class should be usedclassName
- the class name for readers for this language@Deprecated public static String setBaseReaderClassName(String lang, String className)
RDFParserRegistry.registerLang
public void resetRDFReaderF()
RDFReaderF
resetRDFReaderF
in interface RDFReaderF
public String removeReader(String lang) throws IllegalArgumentException
RDFReaderF
removeReader
in interface RDFReaderF
lang
- The lang to remove.IllegalArgumentException
- if lang is one of the initial languagesLicenced under the Apache License, Version 2.0