public class MatcherFactory {
public static AbstractMatcher createMatcher(String matcherID, Graph pattern, Graph template) {
if (matcherID.equals(SimpleMatcher.matcherID)) {
return new SimpleMatcher(pattern, template);
}
if (matcherID.equals(ShapeContextGraphMatcher.matcherID)) {
return new ShapeContextGraphMatcher(pattern, template);
}
if (matcherID.equals(KOSystemGraphMatcher.matcherID)) {