|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.lehigh.swat.hawk.core.OntReader
edu.lehigh.swat.hawk.owl.OwlRdfReader
public class OwlRdfReader
OWL reader, reads OWL documents.
Constructor Summary | |
---|---|
OwlRdfReader(StorageModel s)
Constructor |
Method Summary | |
---|---|
protected com.hp.hpl.jena.rdf.model.RDFNode |
firstNode(com.hp.hpl.jena.rdf.model.NodeIterator ri)
OilEd: Returns the first statement in a model. |
Document |
read(java.io.InputStream in)
Use empty string as XMl base. |
Document |
read(java.io.InputStream in,
java.lang.String xmlBase)
Read an input in OWL format to the model and return the document object |
Document |
read(java.lang.String url)
Read document from given URL |
protected void |
readOntology(Ontology ont,
com.hp.hpl.jena.rdf.model.Model model)
Parse and construct an ontology. |
protected java.util.Collection |
unpackList(com.hp.hpl.jena.rdf.model.Model currentModel,
com.hp.hpl.jena.rdf.model.Resource r)
OilEd: Unpacks a RDF List into a collection of resources |
Methods inherited from class edu.lehigh.swat.hawk.core.OntReader |
---|
getAllowUpdate, getLoadImports, setAllowUpdate, setLoadImports |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwlRdfReader(StorageModel s) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public Document read(java.io.InputStream in) throws java.lang.Exception
read
in class OntReader
java.lang.Exception
public Document read(java.lang.String url) throws java.lang.Exception
java.lang.Exception
public Document read(java.io.InputStream in, java.lang.String xmlBase) throws java.lang.Exception
java.lang.Exception
protected void readOntology(Ontology ont, com.hp.hpl.jena.rdf.model.Model model)
protected java.util.Collection unpackList(com.hp.hpl.jena.rdf.model.Model currentModel, com.hp.hpl.jena.rdf.model.Resource r)
protected com.hp.hpl.jena.rdf.model.RDFNode firstNode(com.hp.hpl.jena.rdf.model.NodeIterator ri)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |