org.mindswap.owls.validation
Class OWLSValidator

java.lang.Object
  extended by org.mindswap.owls.validation.OWLSValidator

public class OWLSValidator
extends java.lang.Object

Validate the Service description in the OWL-S ontology.

Author:
Evren Sirin

Constructor Summary
OWLSValidator()
           
 
Method Summary
 java.util.Map validate(OWLOntology ontology)
          Return the validation errors associated with each service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLSValidator

public OWLSValidator()
Method Detail

validate

public java.util.Map validate(OWLOntology ontology)
Return the validation errors associated with each service. There will be a list of errors associated with each service. If a service description has no errors in it there will not be any entries for that service. A result of empty map means there were no errors (or no Service instances) found.

Parameters:
ontology - Ontology being validated
Returns:
Map from Service objects to a list of OWLValidationErrors.


Copyright © 2004 Evren Sirin. All Rights Reserved.