Lines Matching refs:Service
25 import org.mindswap.owls.service.Service;
32 * This example shows how the default Service implementation can be extended to support
49 // Override the default Service converter to return ExtendedService descriptions
50 OWLConfig.addConverter(Service.class, new ExtendedServiceConverter());
59 Service s = ont.createService(URIUtils.createURI(baseURI, "TestService"));
71 System.out.println("Service name: " + service.getLocalName());
80 OWLConfig.addConverter(Service.class, new ExtendedServiceConverter());
88 Service s = (Service) kb.readService("http://www.ifi.unizh.ch/ddis/ont/owl-s/ServiceExtensionTest.owl#");
97 System.out.println("Service name: " + service.getLocalName());
135 ((OWLIndividual) object).isType(OWLS.Service.Service);
140 throw new ConversionException("OWLObject " + object + " cannot be cast to Service class");