examples
Class ServiceParameterExample

java.lang.Object
  extended by examples.ServiceParameterExample

public class ServiceParameterExample
extends java.lang.Object

This example shows how to access ServiceParameter and ServiceCategory values. Different reasoners will provide different information depending on their capabilities. When there is no reasoner associated with the KB, no information about profile can be retrieved because it cannot be verified that profile is actually an instance of profile:Profile concept. If strict type checking is disabled using OWLConfig.setStrictConversion( false ) then some information can be retrieved.

Author:
Evren Sirin

Constructor Summary
ServiceParameterExample()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void printProfileInfo(Service s, java.lang.String reasoner)
           
static java.lang.String trimString(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceParameterExample

public ServiceParameterExample()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

printProfileInfo

public static void printProfileInfo(Service s,
                                    java.lang.String reasoner)

trimString

public static java.lang.String trimString(java.lang.String str)


Copyright © 2004 Evren Sirin. All Rights Reserved.