org.opentox.toxotis.util.spiders
Class MetaInfoSpider

java.lang.Object
  extended by org.opentox.toxotis.util.spiders.Tarantula<MetaInfo>
      extended by org.opentox.toxotis.util.spiders.MetaInfoSpider
All Implemented Interfaces:
Closeable

public class MetaInfoSpider
extends Tarantula<MetaInfo>

Parser of meta information over a given resource in an RDF graph.

Author:
Charalampos Chomenides, Pantelis Sopasakis

Field Summary
 
Fields inherited from class org.opentox.toxotis.util.spiders.Tarantula
model, parseTime, readRemoteTime, resource
 
Constructor Summary
MetaInfoSpider(com.hp.hpl.jena.ontology.OntModel model, String uri)
           
MetaInfoSpider(com.hp.hpl.jena.rdf.model.Resource resource, com.hp.hpl.jena.ontology.OntModel model)
           
 
Method Summary
 MetaInfo parse()
          Parse the data model of an OpenTox entity and create an ToxOtis object according to the data content of the data model.
 
Methods inherited from class org.opentox.toxotis.util.spiders.Tarantula
assessHttpStatus, close, getOntModel, getOntologicalTypes, getOTATypes, getParseTime, getReadRemoteTime, retrievePropertyLiterals, retrievePropertyNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaInfoSpider

public MetaInfoSpider(com.hp.hpl.jena.ontology.OntModel model,
                      String uri)

MetaInfoSpider

public MetaInfoSpider(com.hp.hpl.jena.rdf.model.Resource resource,
                      com.hp.hpl.jena.ontology.OntModel model)
Method Detail

parse

public MetaInfo parse()
Description copied from class: Tarantula
Parse the data model of an OpenTox entity and create an ToxOtis object according to the data content of the data model.

Specified by:
parse in class Tarantula<MetaInfo>
Returns:
The parsed object.


Copyright © 2011-2012 OpenTox. All Rights Reserved.