Revision 570 trunk/org.gvsig.postgresql/org.gvsig.postgresql.provider/src/main/java/org/gvsig/postgresql/dal/expressionbuilderformatter/ST_GeomFromText.java
ST_GeomFromText.java | ||
---|---|---|
7 | 7 |
import org.gvsig.expressionevaluator.ExpressionBuilder.Function; |
8 | 8 |
import org.gvsig.expressionevaluator.ExpressionBuilder.Value; |
9 | 9 |
import org.gvsig.expressionevaluator.Formatter; |
10 |
import org.gvsig.expressionevaluator.GeometryExpressionBuilder; |
|
10 | 11 |
import org.gvsig.fmap.dal.SQLBuilder; |
11 | 12 |
import org.gvsig.fmap.dal.feature.FeatureType; |
12 | 13 |
import static org.gvsig.fmap.dal.store.jdbc2.spi.JDBCSQLBuilderBase.PROP_FEATURE_TYPE; |
... | ... | |
27 | 28 |
@Override |
28 | 29 |
public boolean canApply(ExpressionBuilder.Value value) { |
29 | 30 |
if (value instanceof ExpressionBuilder.Function) { |
30 |
return StringUtils.equalsIgnoreCase(ExpressionBuilder.FUNCTION_ST_GEOMFROMTEXT, ((Function) value).name()); |
|
31 |
return StringUtils.equalsIgnoreCase(GeometryExpressionBuilder.FUNCTION_ST_GEOMFROMTEXT, ((Function) value).name());
|
|
31 | 32 |
} |
32 | 33 |
return false; |
33 | 34 |
} |
Also available in: Unified diff