Package owlsmx.data

Examples of owlsmx.data.OutputServiceContainer


     */
    private Map getOutputCandidates(Vector outConcepts) throws  URISyntaxException, MatchingException {
        if (outConcepts.size()==0) {
            return registry.getAllServices(false);
        }
        OutputServiceContainer resultContainer= new OutputServiceContainer();
        resultContainer.addServices(getServicesForOutputConcept(((URI) outConcepts.get(0)).toString()));
       
        OutputServiceContainer serviceContainer;
        for (int i = 1; i<outConcepts.size();i++) {
              serviceContainer=new OutputServiceContainer();
                serviceContainer.addServices(getServicesForOutputConcept(((URI) outConcepts.get(i)).toString()));
                resultContainer.merge(serviceContainer);
        }
        System.out.println("Output candidates: " + resultContainer.getServiceMap().values().toString());
        return resultContainer.getServiceMap();
    }
View Full Code Here

TOP

Related Classes of owlsmx.data.OutputServiceContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.