org.eaglei.datatools.etl.server
Class RdfMakerUtil

java.lang.Object
  extended by org.eaglei.datatools.etl.server.RdfMakerUtil

public class RdfMakerUtil
extends java.lang.Object

Author:
sc281

Constructor Summary
RdfMakerUtil()
           
 
Method Summary
static java.lang.String evaluateExpression(Rdf123Expression rdf123Exp, int row, java.lang.String objectString)
          Evaluates the object Expression ,that is it converts $1 $2 ..
static java.lang.String[] getLabelAndRootURI(com.hp.hpl.jena.rdf.model.Model tempModel, int row, Rdf123Expression rdf123Exp)
           
static com.hp.hpl.jena.rdf.model.Resource getNewResourcesFromRepository(com.hp.hpl.jena.rdf.model.Model modelTocreateStatments, RDFtoRepoService rdftorepo)
           
static java.util.List<java.lang.String> getReourcesURIModel(com.hp.hpl.jena.rdf.model.Model model)
           
static com.hp.hpl.jena.rdf.model.Model getsubModelByExpression(java.lang.String expression, com.hp.hpl.jena.rdf.model.Model rdfModel)
          this utility method returns the subModel given by the Expression such as EX:e+$1 etc FIXME:write more documentation
static boolean isSubjectExpressionPresentInModel(java.lang.String expression, com.hp.hpl.jena.rdf.model.Model rdfModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdfMakerUtil

public RdfMakerUtil()
Method Detail

getsubModelByExpression

public static com.hp.hpl.jena.rdf.model.Model getsubModelByExpression(java.lang.String expression,
                                                                      com.hp.hpl.jena.rdf.model.Model rdfModel)
this utility method returns the subModel given by the Expression such as EX:e+$1 etc FIXME:write more documentation


isSubjectExpressionPresentInModel

public static boolean isSubjectExpressionPresentInModel(java.lang.String expression,
                                                        com.hp.hpl.jena.rdf.model.Model rdfModel)

evaluateExpression

public static java.lang.String evaluateExpression(Rdf123Expression rdf123Exp,
                                                  int row,
                                                  java.lang.String objectString)
                                           throws java.lang.Exception
Evaluates the object Expression ,that is it converts $1 $2 .. in to Excel Columns

Parameters:
rdf123Exp -
row -
objectString -
Returns:
Throws:
java.lang.Exception

getLabelAndRootURI

public static java.lang.String[] getLabelAndRootURI(com.hp.hpl.jena.rdf.model.Model tempModel,
                                                    int row,
                                                    Rdf123Expression rdf123Exp)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

getNewResourcesFromRepository

public static com.hp.hpl.jena.rdf.model.Resource getNewResourcesFromRepository(com.hp.hpl.jena.rdf.model.Model modelTocreateStatments,
                                                                               RDFtoRepoService rdftorepo)

getReourcesURIModel

public static java.util.List<java.lang.String> getReourcesURIModel(com.hp.hpl.jena.rdf.model.Model model)


Copyright © 2009-2011 Eagle-I. All Rights Reserved.