@Override public OWLImportsDeclaration buildObject() { return df.getOWLImportsDeclaration(getIRI()); }
@Override public OWLImportsDeclaration buildObject() { return df.getOWLImportsDeclaration(getIRI()); }
@Override public OWLImportsDeclaration buildObject() { return df.getOWLImportsDeclaration(getIRI()); }
public OWLImportsDeclaration parseImportsDeclaration(OWLOntology ont) throws ParserException { consumeToken(IMPORT); IRI importedOntologyIRI = parseIRI(); return dataFactory.getOWLImportsDeclaration(importedOntologyIRI); }
private OWLImportsDeclaration parseImportsDeclaration() { consumeToken(IMPORT); return df.getOWLImportsDeclaration(parseIRI()); }
final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {IRI iri; jj_consume_token(IMPORT); jj_consume_token(OPENPAR); iri = IRI(); jj_consume_token(CLOSEPAR); return df.getOWLImportsDeclaration(iri); }
final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {IRI iri; jj_consume_token(IMPORT); jj_consume_token(OPENPAR); iri = IRI(); jj_consume_token(CLOSEPAR); return df.getOWLImportsDeclaration(iri); }
final public OWLImportsDeclaration ImportsDeclaration() throws ParseException { IRI iri; jj_consume_token(IMPORT); jj_consume_token(OPENPAR); iri = IRI(); jj_consume_token(CLOSEPAR); OWLImportsDeclaration importsDeclaration = dataFactory .getOWLImportsDeclaration(iri); return importsDeclaration; }
final public OWLImportsDeclaration ImportsDeclaration() throws ParseException { IRI iri; jj_consume_token(IMPORT); jj_consume_token(OPENPAR); iri = IRI(); jj_consume_token(CLOSEPAR); OWLImportsDeclaration importsDeclaration = dataFactory.getOWLImportsDeclaration(iri); {if (true) return importsDeclaration;} throw new Error("Missing return statement in function"); }
final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {IRI iri; jj_consume_token(IMPORT); jj_consume_token(OPENPAR); iri = IRI(); jj_consume_token(CLOSEPAR); return df.getOWLImportsDeclaration(iri); }
@Override public RemoveImport read(OWLInputStream in) throws IOException { IRI importedOntologyIRI = (IRI) in.read(); OWLImportsDeclaration importDeclaration = in.getOWLDataFactory().getOWLImportsDeclaration(importedOntologyIRI); return new RemoveImport(in.getFakeOntology(), importDeclaration); }
final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {IRI iri; jj_consume_token(IMPORT); jj_consume_token(OPENPAR); iri = IRI(); jj_consume_token(CLOSEPAR); return df.getOWLImportsDeclaration(iri); }
@Override public AddImport read(OWLInputStream in) throws IOException { IRI importedOntologyIRI = (IRI) in.read(); OWLImportsDeclaration importDeclaration = in.getOWLDataFactory().getOWLImportsDeclaration(importedOntologyIRI); return new AddImport(in.getFakeOntology(), importDeclaration); }
public void addImport(IOntology ontology) { if (!this.ontology.getImports().contains(((Ontology) ontology).ontology)) { OWLDataFactory factory = this.ontology.getOWLOntologyManager() .getOWLDataFactory(); OWLImportsDeclaration imp = factory.getOWLImportsDeclaration(IRI .create(((Ontology) ontology).ontology.getOntologyID() .getOntologyIRI().toString())); this.ontology.getOWLOntologyManager() .applyChange(new AddImport(this.ontology, imp)); this.imported.add(ontology.getConceptSpace()); } }
@Override void endElement() { IRI ontIRI = handler.getIRI(getText().trim()); OWLImportsDeclaration decl = df.getOWLImportsDeclaration(ontIRI); handler.getOWLOntologyManager().applyChange(new AddImport(handler.getOntology(), decl)); handler.getOWLOntologyManager().makeLoadImportRequest(decl, handler.getConfiguration()); }
@Override void endElement() { IRI ontIRI = handler.getIRI(getText().trim()); OWLImportsDeclaration decl = df.getOWLImportsDeclaration(ontIRI); handler.getOWLOntologyManager().applyChange(new AddImport(handler.getOntology(), decl)); handler.getOWLOntologyManager().makeLoadImportRequest(decl, handler.getConfiguration()); }
@Override void endElement() { IRI ontIRI = handler.getIRI(getText().trim()); OWLImportsDeclaration decl = df.getOWLImportsDeclaration(ontIRI); handler.getOWLOntologyManager().applyChange(new AddImport(handler.getOntology(), decl)); handler.getOWLOntologyManager().makeLoadImportRequest(decl, handler.getConfiguration()); }
public void endElement() throws OWLParserException, UnloadableImportException { IRI ontIRI = getIRI(getText().trim()); OWLImportsDeclaration decl = getOWLDataFactory().getOWLImportsDeclaration(ontIRI); getOWLOntologyManager().applyChange(new AddImport(getOntology(), decl)); getOWLOntologyManager().makeLoadImportRequest(decl); }
@Override void endElement() { IRI ontIRI = handler.getIRI(getText().trim()); OWLImportsDeclaration decl = df.getOWLImportsDeclaration(ontIRI); handler.getOWLOntologyManager().applyChange(new AddImport(handler.getOntology(), decl)); handler.getOWLOntologyManager().makeLoadImportRequest(decl, handler.getConfiguration()); }
@Override public void endElement() throws OWLParserException, UnloadableImportException { IRI ontIRI = getIRI(getText().trim()); OWLImportsDeclaration decl = getOWLDataFactory().getOWLImportsDeclaration(ontIRI); getOWLOntologyManager().applyChange(new AddImport(getOntology(), decl)); getOWLOntologyManager().makeLoadImportRequest(decl, getConfiguration()); }