OWLSValidator.java revision 2
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// The MIT License
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// Copyright (c) 2004 Evren Sirin
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// The above copyright notice and this permission notice shall be included in
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek// all copies or substantial portions of the Software.
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 * Created on Dec 16, 2004
e2ac9be4f293b96f3c8992f1171e44bc1da5cfcaMichal Zidek * Validate the <code>Service</code> description in the OWL-S ontology.
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek * @author Evren Sirin
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.
e75a152157e054a2ed46acecbe8b5cfb9853773cJakub Hrozek * @param ontology Ontology being validated
f17d26a8db285622a5cd5f21c7488b62eedc2cf8Jakub Hrozek * @return Map from Service objects to a list of <code>OWLValidationError</code>s.