/******************************************************************
 * File:        MapSource.java
 * Created by:  Dave Reynolds
 * Created on:  13 Dec 2013
 * 
 * (c) Copyright 2013, Epimorphics Limited
 *
 *****************************************************************/

package com.epimorphics.dclib.framework;

import org.apache.jena.riot.system.StreamRDF;

import com.hp.hpl.jena.graph.Node;

/**
 * Signature for utilities the support mapping of input values 
 * to normalized RDF values (normally URIs).
 * 
 * @author <a href="mailto:dave@epimorphics.com">Dave Reynolds</a>
 */
public interface MapSource {

    /**
     * Return the matching normalized RDF value or none if there no
     * match (or no unambiguous match)
     */
    public Node lookup(String key);
    
    
    /**
     * Return the name of this suorce, may be null
     */
    public String getName();
    
    /**
     * Enrich the RDF outstream from other properties of a matched node
     */
    public void enrich(StreamRDF stream, Node match);
}

@@ -358,16 +358,71 @@
 amRDF;%0A%0A
+import com.epimorphics.appbase.monitor.ConfigInstance;%0A
 import c
@@ -664,16 +664,39 @@
 pSource 
+extends ConfigInstance 
 %7B%0A%0A    /

Change signature so sources can be treated as configurable items