Examples of OWLEntityCollector


Examples of org.semanticweb.owlapi.util.OWLEntityCollector


    private void handleAxiomRemoved(OWLAxiom axiom) {
      Set<OWLEntity> sig=new HashSet<OWLEntity>();
      Set<OWLAnonymousIndividual> anons=new HashSet<OWLAnonymousIndividual>();
        OWLEntityCollector entityCollector = new OWLEntityCollector(sig, anons);
            OWLNamedObjectReferenceRemover referenceRemover = getReferenceRemover();
        axiom.accept(entityCollector);
        for (OWLEntity object : sig) {
            referenceRemover.setAxiom(axiom);
            object.accept(referenceRemover);
View Full Code Here

Examples of org.semanticweb.owlapi.util.OWLEntityCollector

  /**
   * Given a set of OWL-API axiom, return its signature.
   */
  public static Set<OWLEntity> getSignature(OWLAxiom axiom) {
    Set<OWLEntity> entities = new HashSet<OWLEntity>();
    OWLEntityCollector collector = new OWLEntityCollector(entities);
    collector.setCollectDatatypes( false );
    axiom.accept(collector);

    return entities;
  }
View Full Code Here

Examples of org.semanticweb.owlapi.util.OWLEntityCollector

  /**
   * Given a set of OWL-API axiom, return its signature.
   */
  public static Set<OWLEntity> getSignature(OWLAxiom axiom) {
    Set<OWLEntity> entities = new HashSet<OWLEntity>();
    OWLEntityCollector collector = new OWLEntityCollector(entities);
    collector.setCollectDatatypes( false );
    axiom.accept(collector);

    return entities;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.