org.wsmo.validator
Interface Validator
- All Known Subinterfaces:
- WsmlValidator
public interface Validator
An interface representing validator for WSMO entities.
The validator may perform specific model checks to ensure that the entity definition is
compliant with the respective WSML variant
- Since:
- 0.4.0
- Version:
- $Revision: 1.1 $ $Date: 2005/09/09 15:45:06 $
- Author:
- not attributable
Method Summary |
boolean |
isValid(TopEntity te,
java.util.List errorMessages)
Checks whether a WSMO element definition is valid. |
isValid
boolean isValid(TopEntity te,
java.util.List errorMessages)
- Checks whether a WSMO element definition is valid. The notion of "validity" is dependent only
on the specific Validator implementation (f.e. a validity check may be whether a definition is
compliant with a specific WSML variant)
- Parameters:
te
- the TopEntity to be validated (ontology, mediator, goal,...)errorMessages
- a collection where the validation specific error messages will be added (if any)
- Returns:
- valid/invalid
- See Also:
Ontology