|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.lod2.nlp2rdf.schema.tools.Factory
public class Factory
Factory
| Constructor Summary | |
|---|---|
Factory()
|
|
| Method Summary | |
|---|---|
static boolean |
deleteInstance(String uri)
Same as deleteInstance, but works with the default OntModel |
static boolean |
deleteInstance(String uri,
com.hp.hpl.jena.ontology.OntModel ontModel)
Deletes the individual with URI from the OntModel |
static com.hp.hpl.jena.ontology.OntModel |
getDefaultModel()
Returns the default ontModel set with setDefaultModel() |
static String |
getJavaInterfaceName(String uri)
Returns the interface name for a given OWL Class |
static boolean |
hasJavaType(String uri)
Returns true if there is a java interface for the given OWL Class |
static void |
registerCustomClasses()
Registers all custom classes with jena |
void |
registerImports(com.hp.hpl.jena.ontology.Ontology ontology)
Same as registerImports, but works with the default OntModel |
static void |
registerImports(com.hp.hpl.jena.ontology.Ontology ontology,
com.hp.hpl.jena.ontology.OntModel ontModel)
Adds imports statements to an ontology and adds imported subModels to a model. |
static void |
setDefaultModel(com.hp.hpl.jena.ontology.OntModel defaultModel)
Sets the default ontModel that may be used by ontology wrapper classes when no explicit ontModel argument is provided |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Factory()
| Method Detail |
|---|
public static void setDefaultModel(com.hp.hpl.jena.ontology.OntModel defaultModel)
public static com.hp.hpl.jena.ontology.OntModel getDefaultModel()
public static String getJavaInterfaceName(String uri)
public static boolean hasJavaType(String uri)
public static boolean deleteInstance(String uri,
com.hp.hpl.jena.ontology.OntModel ontModel)
public static boolean deleteInstance(String uri)
deleteInstance(java.lang.String, OntModel)public static void registerCustomClasses()
public static void registerImports(com.hp.hpl.jena.ontology.Ontology ontology,
com.hp.hpl.jena.ontology.OntModel ontModel)
public void registerImports(com.hp.hpl.jena.ontology.Ontology ontology)
registerImports(Ontology, OntModel)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||