com.github.jsonldjava.impl
Class SesameJSONLDWriter
java.lang.Object
org.openrdf.rio.helpers.RDFWriterBase
com.github.jsonldjava.impl.SesameJSONLDWriter
- All Implemented Interfaces:
- org.openrdf.rio.RDFHandler, org.openrdf.rio.RDFWriter
public class SesameJSONLDWriter
- extends org.openrdf.rio.helpers.RDFWriterBase
- implements org.openrdf.rio.RDFWriter
- Author:
- Peter Ansell p_ansell@yahoo.com
| Fields inherited from class org.openrdf.rio.helpers.RDFWriterBase |
namespaceTable |
| Methods inherited from class org.openrdf.rio.helpers.RDFWriterBase |
getSupportedSettings, getWriterConfig, setWriterConfig |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openrdf.rio.RDFWriter |
getSupportedSettings, getWriterConfig, setWriterConfig |
SesameJSONLDWriter
public SesameJSONLDWriter(OutputStream outputStream)
- Create a SesameJSONLDWriter using a java.io.OutputStream
- Parameters:
outputStream -
SesameJSONLDWriter
public SesameJSONLDWriter(Writer nextWriter)
- Create a SesameJSONLDWriter using a java.io.Writer
handleNamespace
public void handleNamespace(String prefix,
String uri)
throws org.openrdf.rio.RDFHandlerException
- Specified by:
handleNamespace in interface org.openrdf.rio.RDFHandler- Overrides:
handleNamespace in class org.openrdf.rio.helpers.RDFWriterBase
- Throws:
org.openrdf.rio.RDFHandlerException
startRDF
public void startRDF()
throws org.openrdf.rio.RDFHandlerException
- Specified by:
startRDF in interface org.openrdf.rio.RDFHandler
- Throws:
org.openrdf.rio.RDFHandlerException
endRDF
public void endRDF()
throws org.openrdf.rio.RDFHandlerException
- Specified by:
endRDF in interface org.openrdf.rio.RDFHandler
- Throws:
org.openrdf.rio.RDFHandlerException
handleStatement
public void handleStatement(org.openrdf.model.Statement st)
throws org.openrdf.rio.RDFHandlerException
- Specified by:
handleStatement in interface org.openrdf.rio.RDFHandler
- Throws:
org.openrdf.rio.RDFHandlerException
handleComment
public void handleComment(String comment)
throws org.openrdf.rio.RDFHandlerException
- Specified by:
handleComment in interface org.openrdf.rio.RDFHandler
- Throws:
org.openrdf.rio.RDFHandlerException
getRDFFormat
public org.openrdf.rio.RDFFormat getRDFFormat()
- Specified by:
getRDFFormat in interface org.openrdf.rio.RDFWriter
Copyright © 2013. All Rights Reserved.