edu.stanford.smi.protegex.owl.ui.forms
Class AbsoluteFormsGenerator
java.lang.Object
edu.stanford.smi.protegex.owl.ui.forms.AbsoluteFormsGenerator
- public class AbsoluteFormsGenerator
- extends Object
A utility class that creates a Jena Model in the absolute forms ontology
from the forms represented in a Protege project.
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ignoreSystemClasses
private static final Set ignoreSystemClasses
optional
public static boolean optional
SAVE_FORMS_KEY
public static final String SAVE_FORMS_KEY
ALL
public static final String ALL
- See Also:
- Constant Field Values
MODIFIED
public static final String MODIFIED
- See Also:
- Constant Field Values
owlModel
private OWLModel owlModel
project
private edu.stanford.smi.protege.model.Project project
widgetClassMapper
private WidgetClassMapper widgetClassMapper
SUFFIX
public static final String SUFFIX
- See Also:
- Constant Field Values
FILE_NAME
public static final String FILE_NAME
- See Also:
- Constant Field Values
PROTEGE_SYSTEM_FORMS_URI
public static final String PROTEGE_SYSTEM_FORMS_URI
- See Also:
- Constant Field Values
AbsoluteFormsGenerator
public AbsoluteFormsGenerator(OWLModel owlModel)
createFormWidget
private void createFormWidget(com.hp.hpl.jena.rdf.model.Model model,
RDFSNamedClass cls,
boolean all)
createFormWidget
private void createFormWidget(com.hp.hpl.jena.rdf.model.Model model,
RDFSNamedClass cls,
edu.stanford.smi.protege.widget.ClsWidget clsWidget)
createModel
public com.hp.hpl.jena.rdf.model.Model createModel(TripleStore ts,
boolean all)
- Creates a Jena Model that can be saved etc.
- Returns:
- the Jena Model for the current Project
getFormsFileURI
private String getFormsFileURI(TripleStore ts)
getFormsFileURI
public static String getFormsFileURI(TripleStore ts,
OWLModel owlModel)
generateFiles
public void generateFiles(String option)
throws Exception
- Throws:
Exception
saveSystemForms
private void saveSystemForms(String option)
throws IOException
- Throws:
IOException