|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jena.riot.RDFWriterRegistry
public class RDFWriterRegistry
| Constructor Summary | |
|---|---|
RDFWriterRegistry()
|
|
| Method Summary | |
|---|---|
static boolean |
contains(Lang lang)
Does the language have a registered output format? |
static boolean |
contains(RDFFormat format)
Is the RDFFormat registered for use? |
static RDFFormat |
defaultSerialization(Lang lang)
Return the format registered as the default for the language |
static WriterDatasetRIOTFactory |
getWriterDatasetFactory(Lang lang)
Get the dataset writer factory asscoiated with the language |
static WriterDatasetRIOTFactory |
getWriterDatasetFactory(RDFFormat serialization)
Get the dataset writer factory asscoiated with the output format |
static WriterGraphRIOTFactory |
getWriterGraphFactory(Lang lang)
Get the graph writer factory asscoiated with the language |
static WriterGraphRIOTFactory |
getWriterGraphFactory(RDFFormat serialization)
Get the graph writer factory asscoiated with the output format |
static void |
init()
|
static void |
register(Lang lang,
RDFFormat format)
Register the default serialization for the language (replace any existing registration). |
static void |
register(RDFFormat serialization,
WriterDatasetRIOTFactory datasetWriterFactory)
Register the serialization for datasets and it's associated factory |
static void |
register(RDFFormat serialization,
WriterGraphRIOTFactory graphWriterFactory)
Register the serialization for graphs and it's associated factory |
static Collection<RDFFormat> |
registeredDatasetFormats()
All registered dataset formats |
static Collection<RDFFormat> |
registeredGraphFormats()
All registered graph formats |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RDFWriterRegistry()
| Method Detail |
|---|
public static void init()
public static void register(RDFFormat serialization,
WriterGraphRIOTFactory graphWriterFactory)
serialization - RDFFormat for the output format.graphWriterFactory - Source of writer engines
public static void register(RDFFormat serialization,
WriterDatasetRIOTFactory datasetWriterFactory)
serialization - RDFFormat for the output format.datasetWriterFactory - Source of writer engines
public static void register(Lang lang,
RDFFormat format)
lang - Languagesformat - The serialization forma to use when the language is used for writing.public static RDFFormat defaultSerialization(Lang lang)
public static boolean contains(Lang lang)
public static boolean contains(RDFFormat format)
public static Collection<RDFFormat> registeredGraphFormats()
public static Collection<RDFFormat> registeredDatasetFormats()
public static WriterGraphRIOTFactory getWriterGraphFactory(Lang lang)
public static WriterGraphRIOTFactory getWriterGraphFactory(RDFFormat serialization)
public static WriterDatasetRIOTFactory getWriterDatasetFactory(Lang lang)
public static WriterDatasetRIOTFactory getWriterDatasetFactory(RDFFormat serialization)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||