svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.impl / src / main / java / org / gvsig / fmap / dal / impl / expressionevaluator / DefaultEvaluatorFactory.java @ 47176
History | View | Annotate | Download (513 Bytes)
1 |
package org.gvsig.fmap.dal.impl.expressionevaluator; |
---|---|
2 |
|
3 |
import org.gvsig.tools.evaluator.Evaluator; |
4 |
import org.gvsig.tools.evaluator.EvaluatorFactory; |
5 |
|
6 |
/**
|
7 |
*
|
8 |
* @author jjdelcerro
|
9 |
*/
|
10 |
public class DefaultEvaluatorFactory implements EvaluatorFactory { |
11 |
|
12 |
@Override
|
13 |
public Evaluator createEvaluator(String phrase) { |
14 |
Evaluator e = new DefaultFeatureExpressionEvaluator(phrase);
|
15 |
return e;
|
16 |
} |
17 |
|
18 |
@Override
|
19 |
public String getName() { |
20 |
return "DAL expression evaluator"; |
21 |
} |
22 |
|
23 |
} |