Package org.apache.any23.writer
Class JSONWriterFactory
- java.lang.Object
-
- org.apache.any23.writer.JSONWriterFactory
-
- All Implemented Interfaces:
TripleWriterFactory
,WriterFactory
@Deprecated public class JSONWriterFactory extends Object implements TripleWriterFactory
Deprecated.since 2.3. UseJSONLDWriterFactory
instead.- Author:
- Peter Ansell p_ansell@yahoo.com, Hans Brende (hansbrende@apache.org)
-
-
Field Summary
Fields Modifier and Type Field Description static String
IDENTIFIER
Deprecated.static String
MIME_TYPE
Deprecated.
-
Constructor Summary
Constructors Constructor Description JSONWriterFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getIdentifier()
Deprecated.Settings
getSupportedSettings()
Deprecated.TripleFormat
getTripleFormat()
Deprecated.TripleHandler
getTripleWriter(OutputStream out, Settings settings)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.any23.writer.TripleWriterFactory
getMimeType, getRdfFormat, getRdfWriter
-
-
-
-
Field Detail
-
MIME_TYPE
public static final String MIME_TYPE
Deprecated.- See Also:
- Constant Field Values
-
IDENTIFIER
public static final String IDENTIFIER
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getTripleFormat
public TripleFormat getTripleFormat()
Deprecated.- Specified by:
getTripleFormat
in interfaceTripleWriterFactory
- Returns:
- the format used to write to
OutputStream
s
-
getSupportedSettings
public Settings getSupportedSettings()
Deprecated.- Specified by:
getSupportedSettings
in interfaceTripleWriterFactory
- Returns:
- the settings supported by writers produced by this factory
-
getIdentifier
public String getIdentifier()
Deprecated.- Specified by:
getIdentifier
in interfaceWriterFactory
-
getTripleWriter
public TripleHandler getTripleWriter(OutputStream out, Settings settings)
Deprecated.- Specified by:
getTripleWriter
in interfaceTripleWriterFactory
- Parameters:
out
- theOutputStream
to write tosettings
- the settings with which to configure the writer- Returns:
- a
TripleHandler
which writes to the specifiedOutputStream
-
-