Lines Matching refs:theOntology
63 private void writeInternal(OWLModel theOntology, Writer out, URI baseURI) {
66 if (theOntology instanceof OWLKnowledgeBaseImpl)
72 OWLKnowledgeBaseImpl aKB = (OWLKnowledgeBaseImpl)theOntology;
101 model = ((OWLModelImpl) theOntology).getOntModel();
129 if (theOntology instanceof OWLOntology)
130 handleImports((OWLOntology)theOntology,aOutModel, baseURI);
131 // else if (theOntology instanceof OWLKnowledgeBase)
132 // handleImports((OWLKnowledgeBase)theOntology,aOutModel, baseURI);
137 private void handleImports(OWLOntology theOntology, OntModel theModel, URI theBaseURI)
150 if (theOntology.getURI() != null) {
155 else theModel.getOntology(theOntology.getURI().toString());
163 if (aOntNode == null && theOntology.getImports().size() > 0) {
171 if (theOntology.getURI() == null)
173 else aOntNode = theModel.createOntology(theOntology.getURI().toString());
179 Iterator aIter = theOntology.getImports().iterator();