public interface RDFWriterF
The factory will create an appropriate writer for the particular serialization language being read. Predefined languages include:
System wide defaults for classes to use as readers for these languages
are defined. These defaults may be overwridden by setting a system property
with a name of the form com.hp.hpl.jena.readers.
NOTE: All settings are global in nature
Modifier and Type | Method and Description |
---|---|
RDFWriter |
getWriter()
return an RDFWriter instance for the default serialization language.
|
RDFWriter |
getWriter(String lang)
an RDFWriter instance for the specified serialization language.
|
String |
removeWriter(String lang)
Remove lang from list of writers.
|
void |
resetRDFWriterF()
Resets the values to the initial condition.
|
String |
setWriterClassName(String lang,
String className)
set the class name for the RDFWriter for a langauge
|
RDFWriter getWriter()
RDFWriter getWriter(String lang)
lang
- the serialization langauge - null
selects the
defaultString setWriterClassName(String lang, String className)
lang
- the language for which this class should be usedclassName
- the class name for writers for this languageNullPointerException
- if lang or classname is null.void resetRDFWriterF()
String removeWriter(String lang) throws IllegalArgumentException
lang
- The lang to remove.IllegalArgumentException
- if lang is one of the initial languagesLicenced under the Apache License, Version 2.0