org.deri.wsmo4j.validator
Class AnonIdCollectHelper

java.lang.Object
  extended by org.deri.wsmo4j.validator.AnonIdCollectHelper

public class AnonIdCollectHelper
extends Object

The AnonIdCollectHelper collects the anonym concepts, instances and relation, and checks if they are used correctly. An object with an unnumbered anonymous identifier cannot be referenced, and thus, the validator throws an error, if such an object is referenced.

 Created on March 24, 2006
 Committed by $Author: morcen $
 $Source$
 

Version:
$Revision: 1946 $ $Date: 2007-04-02 15:13:28 +0300 (Mon, 02 Apr 2007) $
Author:
nathalie.steinmetz@deri.org

Constructor Summary
AnonIdCollectHelper(List<org.wsmo.validator.ValidationError> errors)
           
 
Method Summary
 void checkAnonIds(org.omwg.ontology.Ontology ontology)
          This method takes the ontology and checks all its contained elements for an erronous use of unnumbered anonymous identifiers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnonIdCollectHelper

public AnonIdCollectHelper(List<org.wsmo.validator.ValidationError> errors)
Method Detail

checkAnonIds

public void checkAnonIds(org.omwg.ontology.Ontology ontology)
This method takes the ontology and checks all its contained elements for an erronous use of unnumbered anonymous identifiers.



Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.