examples
Class Matchmaker

java.lang.Object
  extended by examples.Matchmaker

public class Matchmaker
extends java.lang.Object

An example that finds service matches for composition. The outputs of services are matched with the inputs of services using one of EXACT, SUBSUME and RELAXED match criteria. Pellet reasoner is used to find matches but can be replaced with any other reasoner.

Author:
Evren Sirin

Nested Class Summary
static class Matchmaker.Match
           
 
Constructor Summary
Matchmaker()
           
 
Method Summary
 void addOntology(java.lang.String ont)
           
 void addOntology(java.net.URI ont)
           
 java.util.List displayAllMatches()
           
 java.util.List findInputs()
           
 java.util.List findOutputs()
           
 java.util.List findServices(boolean getProducers)
           
 int getMatchType(OWLType outputType, OWLType inputType)
           
static void main(java.lang.String[] args)
           
static void printIterator(java.util.Iterator i)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matchmaker

public Matchmaker()
Method Detail

addOntology

public void addOntology(java.lang.String ont)
                 throws java.io.FileNotFoundException,
                        java.net.URISyntaxException
Throws:
java.io.FileNotFoundException
java.net.URISyntaxException

addOntology

public void addOntology(java.net.URI ont)
                 throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

findServices

public java.util.List findServices(boolean getProducers)

findOutputs

public java.util.List findOutputs()

findInputs

public java.util.List findInputs()

getMatchType

public int getMatchType(OWLType outputType,
                        OWLType inputType)

displayAllMatches

public java.util.List displayAllMatches()

printIterator

public static void printIterator(java.util.Iterator i)

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException,
                        java.net.URISyntaxException
Throws:
java.io.FileNotFoundException
java.net.URISyntaxException


Copyright © 2004 Evren Sirin. All Rights Reserved.