thewebsemantic
Class JenaHelper

java.lang.Object
  extended by thewebsemantic.JenaHelper

public class JenaHelper
extends java.lang.Object


Constructor Summary
JenaHelper()
           
 
Method Summary
static com.hp.hpl.jena.ontology.Individual asIndividual(com.hp.hpl.jena.rdf.model.RDFNode n)
           
static com.hp.hpl.jena.rdf.model.Literal asLiteral(com.hp.hpl.jena.rdf.model.RDFNode n)
           
static java.util.Calendar calendar(com.hp.hpl.jena.rdf.model.Literal l)
           
static java.lang.Object convertLiteral(com.hp.hpl.jena.rdf.model.Literal l, java.lang.Class<?> c)
           
static java.lang.Object convertLiteral(com.hp.hpl.jena.rdf.model.RDFNode node, java.lang.Class<?> c)
           
static java.util.Date date(com.hp.hpl.jena.rdf.model.Literal l)
           
static java.util.List<com.hp.hpl.jena.ontology.Individual> listAllIndividuals(com.hp.hpl.jena.ontology.OntClass c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenaHelper

public JenaHelper()
Method Detail

convertLiteral

public static java.lang.Object convertLiteral(com.hp.hpl.jena.rdf.model.RDFNode node,
                                              java.lang.Class<?> c)

convertLiteral

public static java.lang.Object convertLiteral(com.hp.hpl.jena.rdf.model.Literal l,
                                              java.lang.Class<?> c)

date

public static java.util.Date date(com.hp.hpl.jena.rdf.model.Literal l)

calendar

public static java.util.Calendar calendar(com.hp.hpl.jena.rdf.model.Literal l)

listAllIndividuals

public static java.util.List<com.hp.hpl.jena.ontology.Individual> listAllIndividuals(com.hp.hpl.jena.ontology.OntClass c)

asLiteral

public static com.hp.hpl.jena.rdf.model.Literal asLiteral(com.hp.hpl.jena.rdf.model.RDFNode n)

asIndividual

public static com.hp.hpl.jena.ontology.Individual asIndividual(com.hp.hpl.jena.rdf.model.RDFNode n)