org.embl.ebi.escience.scufl.semantics
Class RDFSParser

java.lang.Object
  extended by org.embl.ebi.escience.scufl.semantics.RDFSParser

public class RDFSParser
extends java.lang.Object

Parse an RDFS ontology file into a tree to be displayed by some UI component or other. Builds a tree based on DefaultMutableTreeNodes containing the full text from the 'about' property of each Class in the RDFS document. The tree is denormalised, otherwise it wouldn't be a tree...

Author:
Tom Oinn

Field Summary
static javax.swing.tree.DefaultMutableTreeNode rootNode
          The root node of the tree
 
Constructor Summary
RDFSParser()
           
 
Method Summary
static void loadRDFSDocument(java.io.InputStream docInputStream, java.lang.String ontologyName)
          Import an ontology into the data model
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootNode

public static javax.swing.tree.DefaultMutableTreeNode rootNode
The root node of the tree

Constructor Detail

RDFSParser

public RDFSParser()
Method Detail

loadRDFSDocument

public static void loadRDFSDocument(java.io.InputStream docInputStream,
                                    java.lang.String ontologyName)
Import an ontology into the data model