|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.fluxion.spring.OntologyFactoryBean
public class OntologyFactoryBean
Factory bean to create an OWLOntology instance from a resource containing OWL XML
| Constructor Summary | |
|---|---|
OntologyFactoryBean()
|
|
| Method Summary | |
|---|---|
org.semanticweb.owl.model.OWLOntology |
getObject()
Opens the resource as a stream and uses it to attempt to load an OWLOntology instance. |
java.lang.Class<org.semanticweb.owl.model.OWLOntology> |
getObjectType()
Return Class<OWLOntology> |
boolean |
isSingleton()
Factory method is a singleton |
void |
setOntologyLocation(org.springframework.core.io.Resource res)
Set the location of an ontology file in OWL XML format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OntologyFactoryBean()
| Method Detail |
|---|
public void setOntologyLocation(org.springframework.core.io.Resource res)
public org.semanticweb.owl.model.OWLOntology getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBeanjava.lang.Exceptionpublic java.lang.Class<org.semanticweb.owl.model.OWLOntology> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||