Package org.apache.jena.rdf.model.impl
Class RDFWriterFImpl
- java.lang.Object
-
- org.apache.jena.rdf.model.impl.RDFWriterFImpl
-
- All Implemented Interfaces:
RDFWriterF
public class RDFWriterFImpl extends java.lang.Object implements RDFWriterF
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULTLANG
-
Constructor Summary
Constructors Constructor Description RDFWriterFImpl()
Creates new RDFReaderFImpl
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
alternative(RDFWriterF other)
Rewire to use an external RDFWriterF (typically, RIOT).static RDFWriterF
getCurrentRDFWriterF(RDFWriterF other)
Return the the current "rewiredAlternative" which may be null, meaningRDFWriterFImpl
is in use.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.
-
-
-
Field Detail
-
DEFAULTLANG
public static final java.lang.String DEFAULTLANG
- See Also:
- Constant Field Values
-
-
Method Detail
-
alternative
public static void alternative(RDFWriterF other)
Rewire to use an external RDFWriterF (typically, RIOT). Set to null to use old jena-core setup.- Parameters:
other
-
-
getCurrentRDFWriterF
public static RDFWriterF getCurrentRDFWriterF(RDFWriterF other)
Return the the current "rewiredAlternative" which may be null, meaningRDFWriterFImpl
is in use.
-
getWriter
public RDFWriterI getWriter()
Description copied from interface:RDFWriterF
return an RDFWriter instance for the default serialization language.- Specified by:
getWriter
in interfaceRDFWriterF
- Returns:
- an RDFWriter instance for the default serialization language.
-
getWriter
public RDFWriterI getWriter(java.lang.String lang)
Description copied from interface:RDFWriterF
an RDFWriter instance for the specified serialization language.- Specified by:
getWriter
in interfaceRDFWriterF
- Parameters:
lang
- the serialization language -null
selects the default- Returns:
- the RDFWriter instance
-
-