Project

General

Profile

1
/**
2
 * 
3
 */
4
package eu.dnetlib.data.collective.transformation.engine.functions;
5

    
6
import java.util.List;
7

    
8
/**
9
 * @author jochen
10
 *
11
 */
12
public interface IVocabulary {
13

    
14
	/**
15
	 * return the encoding for a given list of values
16
	 * @param keys
17
	 * @return the encoding as string
18
	 * @throws ProcessingException
19
	 */
20
	public String encoding(List<String> keys) throws ProcessingException;
21
	
22
	/**
23
	 * return the encoding for a given list of values using a default pattern and applying a filter function
24
	 * @param aKeys
25
	 * @param aDefaultPattern
26
	 * @param aFilterFunction
27
	 * @return the list of encoded values
28
	 * @throws ProcessingException
29
	 */
30
	public List<String> encoding(List<String> aKeys, String aDefaultPattern, String aFilterFunction) throws ProcessingException;
31
}
(8-8/17)