com.github.jsonldjava.impl
Class JenaRDFParser

java.lang.Object
  extended by com.github.jsonldjava.impl.JenaRDFParser
All Implemented Interfaces:
RDFParser

public class JenaRDFParser
extends Object
implements RDFParser


Constructor Summary
JenaRDFParser()
           
 
Method Summary
 String getID(com.hp.hpl.jena.rdf.model.Resource r)
           
protected  String getNameForBlankNode(String node)
           
 void importModel(RDFDataset result, com.hp.hpl.jena.rdf.model.Model model)
           
 void importResource(RDFDataset result, com.hp.hpl.jena.rdf.model.Resource subject)
           
 RDFDataset parse(Object input)
           
 void setPrefix(String fullUri, String prefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenaRDFParser

public JenaRDFParser()
Method Detail

getNameForBlankNode

protected String getNameForBlankNode(String node)

setPrefix

public void setPrefix(String fullUri,
                      String prefix)

getID

public String getID(com.hp.hpl.jena.rdf.model.Resource r)

importModel

public void importModel(RDFDataset result,
                        com.hp.hpl.jena.rdf.model.Model model)

importResource

public void importResource(RDFDataset result,
                           com.hp.hpl.jena.rdf.model.Resource subject)

parse

public RDFDataset parse(Object input)
                 throws JSONLDProcessingError
Specified by:
parse in interface RDFParser
Throws:
JSONLDProcessingError


Copyright © 2013. All Rights Reserved.