svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.expressionevaluator / org.gvsig.expressionevaluator.geometry / org.gvsig.expressionevaluator.geometry.lib / org.gvsig.expressionevaluator.geometry.lib.impl / src / main / java / org / gvsig / expressionevaluator / impl / symboltable / OGCSymbolTable.java @ 44644
History | View | Annotate | Download (5.48 KB)
1 |
package org.gvsig.expressionevaluator.impl.symboltable; |
---|---|
2 |
|
3 |
import org.gvsig.expressionevaluator.impl.function.spatial.AndAndOperator; |
4 |
import org.gvsig.expressionevaluator.impl.function.spatial.STAreaFunction; |
5 |
import org.gvsig.expressionevaluator.impl.function.spatial.STAsTextFunction; |
6 |
import org.gvsig.expressionevaluator.impl.function.spatial.STBufferFunction; |
7 |
import org.gvsig.expressionevaluator.impl.function.spatial.STCentroidFunction; |
8 |
import org.gvsig.expressionevaluator.impl.function.spatial.STContainsFunction; |
9 |
import org.gvsig.expressionevaluator.impl.function.spatial.STConvexHullFunction; |
10 |
import org.gvsig.expressionevaluator.impl.function.spatial.STCoveredByFunction; |
11 |
import org.gvsig.expressionevaluator.impl.function.spatial.STCoversFunction; |
12 |
import org.gvsig.expressionevaluator.impl.function.spatial.STCrossesFunction; |
13 |
import org.gvsig.expressionevaluator.impl.function.spatial.STDifferenceFunction; |
14 |
import org.gvsig.expressionevaluator.impl.function.spatial.STDimensionFunction; |
15 |
import org.gvsig.expressionevaluator.impl.function.spatial.STDisjointFunction; |
16 |
import org.gvsig.expressionevaluator.impl.function.spatial.STDistanceFunction; |
17 |
import org.gvsig.expressionevaluator.impl.function.spatial.STEndPointFunction; |
18 |
import org.gvsig.expressionevaluator.impl.function.spatial.STEnvelopeFunction; |
19 |
import org.gvsig.expressionevaluator.impl.function.spatial.STForce2DFunction; |
20 |
import org.gvsig.expressionevaluator.impl.function.spatial.STGeomFromTextFunction; |
21 |
import org.gvsig.expressionevaluator.impl.function.spatial.STGeomFromWKBFunction; |
22 |
import org.gvsig.expressionevaluator.impl.function.spatial.STGeometryNFunction; |
23 |
import org.gvsig.expressionevaluator.impl.function.spatial.STIntersectionFunction; |
24 |
import org.gvsig.expressionevaluator.impl.function.spatial.STIntersectsFunction; |
25 |
import org.gvsig.expressionevaluator.impl.function.spatial.STIsSimpleFunction; |
26 |
import org.gvsig.expressionevaluator.impl.function.spatial.STIsValidFunction; |
27 |
import org.gvsig.expressionevaluator.impl.function.spatial.STMakePointFunction; |
28 |
import org.gvsig.expressionevaluator.impl.function.spatial.STNumGeometriesFunction; |
29 |
import org.gvsig.expressionevaluator.impl.function.spatial.STNumPointsFunction; |
30 |
import org.gvsig.expressionevaluator.impl.function.spatial.STOverlapsFunction; |
31 |
import org.gvsig.expressionevaluator.impl.function.spatial.STPerimeterFunction; |
32 |
import org.gvsig.expressionevaluator.impl.function.spatial.STPointFunction; |
33 |
import org.gvsig.expressionevaluator.impl.function.spatial.STPointNFunction; |
34 |
import org.gvsig.expressionevaluator.impl.function.spatial.STSRIDFunction; |
35 |
import org.gvsig.expressionevaluator.impl.function.spatial.STSetSRIDFunction; |
36 |
import org.gvsig.expressionevaluator.impl.function.spatial.STStartPointFunction; |
37 |
import org.gvsig.expressionevaluator.impl.function.spatial.STTouchesFunction; |
38 |
import org.gvsig.expressionevaluator.impl.function.spatial.STUnionFunction; |
39 |
import org.gvsig.expressionevaluator.impl.function.spatial.STWithinFunction; |
40 |
import org.gvsig.expressionevaluator.impl.function.spatial.STXFunction; |
41 |
import org.gvsig.expressionevaluator.impl.function.spatial.STYFunction; |
42 |
import org.gvsig.expressionevaluator.impl.function.spatial.STZFunction; |
43 |
import org.gvsig.expressionevaluator.spi.AbstractSymbolTable; |
44 |
|
45 |
/**
|
46 |
*
|
47 |
* @author jjdelcerro
|
48 |
*/
|
49 |
public class OGCSymbolTable |
50 |
extends AbstractSymbolTable
|
51 |
{ |
52 |
|
53 |
static final String NAME = "OGC"; |
54 |
|
55 |
public OGCSymbolTable() {
|
56 |
super(NAME);
|
57 |
this.initFunctions();
|
58 |
} |
59 |
|
60 |
private void initFunctions() { |
61 |
this.addFunction(new STAreaFunction()); |
62 |
this.addFunction(new STAsTextFunction()); |
63 |
this.addFunction(new STBufferFunction()); |
64 |
this.addFunction(new STCentroidFunction()); |
65 |
this.addFunction(new STContainsFunction()); |
66 |
this.addFunction(new STConvexHullFunction()); |
67 |
this.addFunction(new STCoveredByFunction()); |
68 |
this.addFunction(new STCoversFunction()); |
69 |
this.addFunction(new STCrossesFunction()); |
70 |
this.addFunction(new STDifferenceFunction()); |
71 |
this.addFunction(new STDimensionFunction()); |
72 |
this.addFunction(new STDisjointFunction()); |
73 |
this.addFunction(new STDistanceFunction()); |
74 |
this.addFunction(new STEndPointFunction()); |
75 |
this.addFunction(new STEnvelopeFunction()); |
76 |
this.addFunction(new STGeomFromTextFunction()); |
77 |
this.addFunction(new STGeomFromWKBFunction()); |
78 |
this.addFunction(new STGeometryNFunction()); |
79 |
this.addFunction(new STIntersectionFunction()); |
80 |
this.addFunction(new STIntersectsFunction()); |
81 |
this.addFunction(new STIsSimpleFunction()); |
82 |
this.addFunction(new STIsValidFunction()); |
83 |
this.addFunction(new STNumGeometriesFunction()); |
84 |
this.addFunction(new STNumPointsFunction()); |
85 |
this.addFunction(new STOverlapsFunction()); |
86 |
this.addFunction(new STPerimeterFunction()); |
87 |
this.addFunction(new STPointNFunction()); |
88 |
this.addFunction(new STStartPointFunction()); |
89 |
this.addFunction(new STTouchesFunction()); |
90 |
this.addFunction(new STUnionFunction()); |
91 |
this.addFunction(new STWithinFunction()); |
92 |
this.addFunction(new STXFunction()); |
93 |
this.addFunction(new STYFunction()); |
94 |
this.addFunction(new STZFunction()); |
95 |
this.addFunction(new STSRIDFunction()); |
96 |
this.addFunction(new STSetSRIDFunction()); |
97 |
this.addFunction(new STPointFunction()); |
98 |
this.addFunction(new STMakePointFunction()); |
99 |
this.addFunction(new STForce2DFunction()); |
100 |
|
101 |
this.addFunction(new AndAndOperator()); |
102 |
} |
103 |
} |