OWLSValidator.java revision 2
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// The MIT License
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek//
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// Copyright (c) 2004 Evren Sirin
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek//
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// Permission is hereby granted, free of charge, to any person obtaining a copy
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// of this software and associated documentation files (the "Software"), to
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// deal in the Software without restriction, including without limitation the
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// sell copies of the Software, and to permit persons to whom the Software is
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// furnished to do so, subject to the following conditions:
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek//
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// The above copyright notice and this permission notice shall be included in
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// all copies or substantial portions of the Software.
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek//
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// IN THE SOFTWARE.
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek/*
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek * Created on Dec 16, 2004
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek */
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozekpackage org.mindswap.owls.validation;
f17d26a8db285622a5cd5f21c7488b62eedc2cf8Jakub Hrozek
f17d26a8db285622a5cd5f21c7488b62eedc2cf8Jakub Hrozekimport java.util.Map;
f17d26a8db285622a5cd5f21c7488b62eedc2cf8Jakub Hrozek
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozekimport org.mindswap.owl.OWLOntology;
2913240aee51ce81195148a4d814e967f66839c4Simo Sorce
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek/**
e2ac9be4f293b96f3c8992f1171e44bc1da5cfcaMichal Zidek * Validate the <code>Service</code> description in the OWL-S ontology.
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek *
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek * @author Evren Sirin
f17d26a8db285622a5cd5f21c7488b62eedc2cf8Jakub Hrozek */
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozekpublic class OWLSValidator {
2913240aee51ce81195148a4d814e967f66839c4Simo Sorce /**
f17d26a8db285622a5cd5f21c7488b62eedc2cf8Jakub Hrozek * Return the validation errors associated with each service. There will be a list
e75a152157e054a2ed46acecbe8b5cfb9853773cJakub Hrozek * of errors associated with each service. If a service description has no errors
e75a152157e054a2ed46acecbe8b5cfb9853773cJakub Hrozek * in it there will not be any entries for that service. A result of empty map
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek * means there were no errors (or no <code>Service</code> instances) found.
f17d26a8db285622a5cd5f21c7488b62eedc2cf8Jakub Hrozek *
e75a152157e054a2ed46acecbe8b5cfb9853773cJakub Hrozek * @param ontology Ontology being validated
f17d26a8db285622a5cd5f21c7488b62eedc2cf8Jakub Hrozek * @return Map from Service objects to a list of <code>OWLValidationError</code>s.
e75a152157e054a2ed46acecbe8b5cfb9853773cJakub Hrozek */
e75a152157e054a2ed46acecbe8b5cfb9853773cJakub Hrozek public Map validate(OWLOntology ontology) {
e75a152157e054a2ed46acecbe8b5cfb9853773cJakub Hrozek return null;
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek }
e75a152157e054a2ed46acecbe8b5cfb9853773cJakub Hrozek}
e75a152157e054a2ed46acecbe8b5cfb9853773cJakub Hrozek