Package org.apache.jena.rdf.model
Interface RDFWriterF
-
- All Known Implementing Classes:
InfModelImpl
,ModelCom
,MonitorModel
,OntModelImpl
,RDFWriterFImpl
public interface RDFWriterF
An RDFWriter factory interface.The factory will create an appropriate writer for the particular serialization language being read. Predefined languages:
- RDF/XML - default
- RDF/XML-ABBREV
- N-TRIPLE
System wide defaults for classes to use as readers for these languages are defined.
NOTE: All settings are global in nature
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RDFWriterI
getWriter()
return an RDFWriter instance for the default serialization language.RDFWriterI
getWriter(java.lang.String lang)
an RDFWriter instance for the specified serialization language.
-
-
-
Method Detail
-
getWriter
RDFWriterI getWriter()
return an RDFWriter instance for the default serialization language.- Returns:
- an RDFWriter instance for the default serialization language.
-
getWriter
RDFWriterI getWriter(java.lang.String lang)
an RDFWriter instance for the specified serialization language.- Parameters:
lang
- the serialization language -null
selects the default- Returns:
- the RDFWriter instance
-
-