Esempio n. 1
0
 @Override
 public void visit(OWLDataUnionOf node) {
   for (Iterator<OWLDataRange> it = node.getOperands().iterator(); it.hasNext(); ) {
     it.next().accept(this);
     if (it.hasNext()) {
       writeSpace();
       write(OR);
       writeSpace();
     }
   }
 }
 @Override
 public void visit(OWLDataUnionOf node) {
   Set<OWLDataRange> ranges = duplicateSet(node.getOperands());
   obj = dataFactory.getOWLDataUnionOf(ranges);
 }
 public void visit(OWLDataUnionOf node) {
   for (OWLDataRange dr : node.getOperands()) {
     dr.accept(this);
   }
 }