congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
OWLDataFactory.getOWLImportsDeclaration
Code IndexAdd Tabnine to your IDE (free)

How to use
getOWLImportsDeclaration
method
in
org.semanticweb.owlapi.model.OWLDataFactory

Best Java code snippets using org.semanticweb.owlapi.model.OWLDataFactory.getOWLImportsDeclaration (Showing top 20 results out of 315)

origin: owlcs/owlapi

@Override
public OWLImportsDeclaration buildObject() {
  return df.getOWLImportsDeclaration(getIRI());
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLImportsDeclaration buildObject() {
  return df.getOWLImportsDeclaration(getIRI());
}
origin: net.sourceforge.owlapi/owlapi-fixers

@Override
public OWLImportsDeclaration buildObject() {
  return df.getOWLImportsDeclaration(getIRI());
}
origin: net.sourceforge.owlapi/owlapi

public OWLImportsDeclaration parseImportsDeclaration(OWLOntology ont) throws ParserException {
  consumeToken(IMPORT);
  IRI importedOntologyIRI = parseIRI();
  return dataFactory.getOWLImportsDeclaration(importedOntologyIRI);
}
origin: owlcs/owlapi

private OWLImportsDeclaration parseImportsDeclaration() {
  consumeToken(IMPORT);
  return df.getOWLImportsDeclaration(parseIRI());
}
origin: owlcs/owlapi

 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);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

 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);
}

origin: com.github.ansell.owlapi/owlapi-parsers

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;
}
origin: net.sourceforge.owlapi/owlapi

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");
}
origin: net.sourceforge.owlapi/owlapi-distribution

 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);
}

origin: edu.stanford.protege/org.protege.owl.server

@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);
}
origin: net.sourceforge.owlapi/owlapi-parsers

 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);
}

origin: edu.stanford.protege/org.protege.owl.server

@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);
}
origin: org.integratedmodelling/klab-common

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());
  }
}
origin: owlcs/owlapi

@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());
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@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());
}
origin: net.sourceforge.owlapi/owlapi-distribution

@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());
}
origin: net.sourceforge.owlapi/owlapi

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);
}
origin: net.sourceforge.owlapi/owlapi-parsers

@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());
}
origin: com.github.ansell.owlapi/owlapi-parsers

@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());
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLImportsDeclaration

Popular methods of OWLDataFactory

  • getOWLClass
    Gets an OWL class that has the specified IRI
  • getOWLNamedIndividual
    Gets an OWL individual that has the specified IRI
  • getOWLObjectProperty
    Gets an OWL object property that has the specified IRI
  • getOWLSubClassOfAxiom
  • getOWLClassAssertionAxiom
  • getOWLDataProperty
    Gets an OWL data property that has the specified IRI
  • getOWLThing
    Gets the built in owl:Thing class, which has a URI of
  • getOWLAnnotationProperty
    Gets an OWLAnnotationProperty that has the specified IRI
  • getOWLLiteral
    Convenience method that obtains a literal typed as a boolean.
  • getOWLDeclarationAxiom
    Gets a declaration with zero or more annotations for an entity
  • getOWLObjectIntersectionOf
  • getOWLEquivalentClassesAxiom
  • getOWLObjectIntersectionOf,
  • getOWLEquivalentClassesAxiom,
  • getOWLObjectSomeValuesFrom,
  • getOWLNothing,
  • getOWLObjectComplementOf,
  • getOWLObjectPropertyAssertionAxiom,
  • getOWLAnnotationAssertionAxiom,
  • getOWLDataPropertyAssertionAxiom,
  • getOWLDatatype,
  • getOWLAnnotation

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now