com.github.jsonldjava.impl
Class SesameJSONLDParser

java.lang.Object
  extended by org.openrdf.rio.helpers.RDFParserBase
      extended by com.github.jsonldjava.impl.SesameJSONLDParser
All Implemented Interfaces:
org.openrdf.rio.RDFParser

public class SesameJSONLDParser
extends org.openrdf.rio.helpers.RDFParserBase
implements org.openrdf.rio.RDFParser

An RDFParser that links to SesameTripleCallback.

Author:
Peter Ansell p_ansell@yahoo.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openrdf.rio.RDFParser
org.openrdf.rio.RDFParser.DatatypeHandling
 
Field Summary
 
Fields inherited from class org.openrdf.rio.helpers.RDFParserBase
rdfHandler, valueFactory
 
Constructor Summary
SesameJSONLDParser()
          Default constructor
SesameJSONLDParser(org.openrdf.model.ValueFactory valueFactory)
          Creates a Sesame JSONLD Parser using the given ValueFactory to create new Values.
 
Method Summary
 org.openrdf.rio.RDFFormat getRDFFormat()
           
 void parse(InputStream in, String baseURI)
           
 void parse(Reader reader, String baseURI)
           
 
Methods inherited from class org.openrdf.rio.helpers.RDFParserBase
clear, clearBNodeIDMap, createBNode, createBNode, createLiteral, createStatement, createStatement, createURI, datatypeHandling, getNamespace, getParseErrorListener, getParseLocationListener, getParserConfig, getRDFHandler, getSupportedSettings, preserveBNodeIDs, reportError, reportError, reportError, reportFatalError, reportFatalError, reportFatalError, reportFatalError, reportLocation, reportWarning, reportWarning, resolveURI, setBaseURI, setBaseURI, setDatatypeHandling, setNamespace, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData, stopAtFirstError, verifyData
 
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.RDFParser
getParserConfig, getSupportedSettings, setDatatypeHandling, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData
 

Constructor Detail

SesameJSONLDParser

public SesameJSONLDParser()
Default constructor


SesameJSONLDParser

public SesameJSONLDParser(org.openrdf.model.ValueFactory valueFactory)
Creates a Sesame JSONLD Parser using the given ValueFactory to create new Values.

Parameters:
valueFactory -
Method Detail

getRDFFormat

public org.openrdf.rio.RDFFormat getRDFFormat()
Specified by:
getRDFFormat in interface org.openrdf.rio.RDFParser

parse

public void parse(InputStream in,
                  String baseURI)
           throws IOException,
                  org.openrdf.rio.RDFParseException,
                  org.openrdf.rio.RDFHandlerException
Specified by:
parse in interface org.openrdf.rio.RDFParser
Throws:
IOException
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException

parse

public void parse(Reader reader,
                  String baseURI)
           throws IOException,
                  org.openrdf.rio.RDFParseException,
                  org.openrdf.rio.RDFHandlerException
Specified by:
parse in interface org.openrdf.rio.RDFParser
Throws:
IOException
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException


Copyright © 2013. All Rights Reserved.