com.hi3project.broccoli.bsdm.api.parsing.IServiceDescriptionLoader Maven / Gradle / Ivy
/*******************************************************************************
*
* Copyright (C) 2015 Mytech Ingenieria Aplicada
* Copyright (C) 2015 Alejandro Paz
*
* This file is part of Broccoli.
*
* Broccoli is free software: you can redistribute it and/or modify it under the
* terms of the GNU Affero General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* Broccoli is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Broccoli. If not, see .
*
******************************************************************************/
package com.hi3project.broccoli.bsdm.api.parsing;
import com.hi3project.broccoli.bsdl.api.ISemanticLocator;
import com.hi3project.broccoli.bsdl.api.registry.IBSDLRegistry;
import com.hi3project.broccoli.bsdm.api.IServiceDescription;
import com.hi3project.broccoli.bsdm.api.profile.functionality.IRequestedFunctionality;
import com.hi3project.broccoli.bsdl.impl.exceptions.ModelException;
import com.hi3project.broccoli.bsdl.impl.exceptions.SemanticModelException;
import java.util.Collection;
/**
* Interface for an utility class that can read BSDO services from document
* descriptors. And knows how to register the read axioms to an IBSDLRegistry
*
*
*/
public interface IServiceDescriptionLoader
{
public Collection readServicesFrom(Collection locators) throws ModelException;
public Collection readServicesFrom(ISemanticLocator locator) throws ModelException;
public Collection readServices(Collection serviceDescriptors) throws ModelException;
public Collection readFunctionalitiesFrom(ISemanticLocator locator) throws ModelException;
public Collection readFunctionalitiesFrom(Collection locators) throws ModelException;
public Collection readFunctionalities(Collection contents) throws ModelException;
public IParameterConverter getParameterConverter();
public IServiceDescriptionLoader addOntology(ISemanticLocator locator) throws ModelException;
public IServiceDescriptionLoader addOntologyReferences(ISemanticLocator locator) throws SemanticModelException, ModelException;
public void setBSDLRegistry(IBSDLRegistry bsdlRegistry);
public IBSDLRegistry getBSDLRegistry();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy