Revision 43983 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.api/src/main/java/org/gvsig/expressionevaluator/ExpressionEvaluatorManager.java
ExpressionEvaluatorManager.java | ||
---|---|---|
1 | 1 |
|
2 | 2 |
package org.gvsig.expressionevaluator; |
3 | 3 |
|
4 |
import java.util.List; |
|
5 |
import java.util.Map; |
|
6 |
import org.gvsig.fmap.dal.EvaluatorFactory; |
|
4 |
import java.util.Collection; |
|
7 | 5 |
|
8 | 6 |
|
9 | 7 |
public interface ExpressionEvaluatorManager { |
... | ... | |
20 | 18 |
|
21 | 19 |
public MutableSymbolTable createSymbolTable(); |
22 | 20 |
|
23 |
public Map<String,Function> getAllFunctions();
|
|
21 |
public SymbolTable getSymbolTable(String name);
|
|
24 | 22 |
|
25 |
public Map<String,Function> getAllOperators();
|
|
26 |
|
|
27 |
public void addFunction(Function function);
|
|
28 |
|
|
23 |
public Collection<SymbolTable> getSymbolTables();
|
|
24 |
|
|
25 |
public void registerSymbolTable(SymbolTable symbolTable);
|
|
26 |
|
|
29 | 27 |
public LexicalAnalyzer createLexicalAnalyzer(); |
30 | 28 |
|
31 | 29 |
public CodeBuilder createCodeBuilder(); |
... | ... | |
34 | 32 |
|
35 | 33 |
public Interpreter createInterpreter(); |
36 | 34 |
|
37 |
public ExpressionEvaluator createEvaluator(String expression); |
|
38 |
|
|
39 |
public ExpressionEvaluator createEvaluator(); |
|
40 |
|
|
41 |
public EvaluatorFactory createEvaluatorFactory(); |
|
42 |
|
|
43 | 35 |
public Double getAccuracy(); |
44 | 36 |
|
45 | 37 |
public void setAccuracy(Double accuracy); |
46 |
} |
|
38 |
|
|
39 |
public Expression createExpression(); |
|
40 |
} |
Also available in: Unified diff