org.mindswap.pellet.jena
Class JenaUtils

java.lang.Object
  extended by org.mindswap.pellet.jena.JenaUtils

public class JenaUtils
extends java.lang.Object

Utility functions related to Jena structures. The functions here may have similar functinoality to the ones in ATermUtils but they are aprovided here because ATermUtils is supposed to be library-independent (it should NOT import Jena packagesotherwise applications based on OWL-API would require Jena packages)

Author:
Evren Sirin

Constructor Summary
JenaUtils()
           
 
Method Summary
static com.hp.hpl.jena.graph.Node makeGraphLiteral(aterm.ATermAppl literal)
           
static com.hp.hpl.jena.graph.Node makeGraphNode(aterm.ATermAppl value)
           
static com.hp.hpl.jena.graph.Node makeGraphResource(aterm.ATermAppl term)
           
static com.hp.hpl.jena.rdf.model.Literal makeLiteral(aterm.ATermAppl literal, com.hp.hpl.jena.rdf.model.Model model)
           
static aterm.ATermAppl makeLiteral(com.hp.hpl.jena.graph.impl.LiteralLabel jenaLiteral)
           
static QNameProvider makeQNameProvider(com.hp.hpl.jena.shared.PrefixMapping mapping)
           
static com.hp.hpl.jena.rdf.model.RDFNode makeRDFNode(aterm.ATermAppl term, com.hp.hpl.jena.rdf.model.Model model)
           
static com.hp.hpl.jena.rdf.model.Resource makeResource(aterm.ATermAppl term, com.hp.hpl.jena.rdf.model.Model model)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenaUtils

public JenaUtils()
Method Detail

makeLiteral

public static aterm.ATermAppl makeLiteral(com.hp.hpl.jena.graph.impl.LiteralLabel jenaLiteral)

makeGraphLiteral

public static com.hp.hpl.jena.graph.Node makeGraphLiteral(aterm.ATermAppl literal)

makeGraphResource

public static com.hp.hpl.jena.graph.Node makeGraphResource(aterm.ATermAppl term)

makeGraphNode

public static com.hp.hpl.jena.graph.Node makeGraphNode(aterm.ATermAppl value)

makeLiteral

public static com.hp.hpl.jena.rdf.model.Literal makeLiteral(aterm.ATermAppl literal,
                                                            com.hp.hpl.jena.rdf.model.Model model)

makeResource

public static com.hp.hpl.jena.rdf.model.Resource makeResource(aterm.ATermAppl term,
                                                              com.hp.hpl.jena.rdf.model.Model model)

makeRDFNode

public static com.hp.hpl.jena.rdf.model.RDFNode makeRDFNode(aterm.ATermAppl term,
                                                            com.hp.hpl.jena.rdf.model.Model model)

makeQNameProvider

public static QNameProvider makeQNameProvider(com.hp.hpl.jena.shared.PrefixMapping mapping)


Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.