org.opentox.toxotis.util.spiders
Class BibTeXSprider

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

public class BibTeXSprider
extends Tarantula<BibTeX>

Downloads and parses data models of BibTeX resource represented in RDF according to the Knouf BibTeX ontology.

Author:
Pantelis Sopasakis, Charalampos Chomenides
See Also:
Knouf Ontology

Field Summary
 
Fields inherited from class org.opentox.toxotis.util.spiders.Tarantula
model, parseTime, readRemoteTime, resource
 
Constructor Summary
BibTeXSprider(com.hp.hpl.jena.rdf.model.Resource resource, com.hp.hpl.jena.ontology.OntModel model)
           
BibTeXSprider(VRI uri)
           
BibTeXSprider(VRI uri, AuthenticationToken token)
           
 
Method Summary
 BibTeX 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

BibTeXSprider

public BibTeXSprider(com.hp.hpl.jena.rdf.model.Resource resource,
                     com.hp.hpl.jena.ontology.OntModel model)
              throws ServiceInvocationException
Throws:
ServiceInvocationException

BibTeXSprider

public BibTeXSprider(VRI uri)
              throws ServiceInvocationException
Throws:
ServiceInvocationException

BibTeXSprider

public BibTeXSprider(VRI uri,
                     AuthenticationToken token)
              throws ServiceInvocationException
Throws:
ServiceInvocationException
Method Detail

parse

public BibTeX parse()
             throws ServiceInvocationException
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<BibTeX>
Returns:
The parsed object.
Throws:
ServiceInvocationException


Copyright © 2011-2012 OpenTox. All Rights Reserved.