public void visit(OWLHasKeyAxiom axiom) {
   axiom.getClassExpression().accept(this);
   for (OWLPropertyExpression prop : axiom.getPropertyExpressions()) {
     prop.accept(this);
   }
   processAxiomAnnotations(axiom);
 }
Exemplo n.º 2
0
 @Override
 public void visit(OWLHasKeyAxiom axiom) {
   axiom.getClassExpression().accept(this);
   OWLClassExpression ce = (OWLClassExpression) obj;
   Set<OWLPropertyExpression<?, ?>> props = duplicateSet(axiom.getPropertyExpressions());
   obj = dataFactory.getOWLHasKeyAxiom(ce, props, duplicateAxiomAnnotations(axiom));
 }
Exemplo n.º 3
0
 @Override
 public void visit(OWLHasKeyAxiom axiom) {
   write("HasKey");
   axiom.getClassExpression().accept(this);
   for (OWLPropertyExpression<?, ?> p : axiom.getPropertyExpressions()) {
     writeSpace();
     p.accept(this);
   }
 }