Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scufl.semantics
Class RDFSParser  view RDFSParser download RDFSParser.java

java.lang.Object
  extended byorg.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...


Field Summary
(package private) static org.jdom.Namespace rdfNS
          The RDF namespace
(package private) static org.jdom.Namespace rdfsNS
          The RDF Schema namespace
static javax.swing.tree.DefaultMutableTreeNode rootNode
          The root node of the tree
 
Constructor Summary
RDFSParser()
           
 
Method Summary
private static javax.swing.tree.DefaultMutableTreeNode generateTree(java.util.Map classToChildList, java.lang.String className, boolean generateHolder)
           
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rdfsNS

static org.jdom.Namespace rdfsNS
The RDF Schema namespace


rdfNS

static org.jdom.Namespace rdfNS
The RDF namespace


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


generateTree

private static javax.swing.tree.DefaultMutableTreeNode generateTree(java.util.Map classToChildList,
                                                                    java.lang.String className,
                                                                    boolean generateHolder)