svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.expressionevaluator / org.gvsig.expressionevaluator.lib / org.gvsig.expressionevaluator.lib.impl / src / main / java / org / gvsig / expressionevaluator / impl / symboltable / BasicImageSymbolTable.java @ 46041
History | View | Annotate | Download (1.97 KB)
1 | 43983 | jjdelcerro | package org.gvsig.expressionevaluator.impl.symboltable; |
---|---|---|---|
2 | |||
3 | import org.gvsig.expressionevaluator.Function; |
||
4 | 44126 | jjdelcerro | import org.gvsig.expressionevaluator.impl.function.image.AffineTransformFunction; |
5 | 46041 | jjdelcerro | import org.gvsig.expressionevaluator.impl.function.image.ImageFromHTMLFunction; |
6 | 44126 | jjdelcerro | import org.gvsig.expressionevaluator.impl.function.image.ImageHeightFunction; |
7 | import org.gvsig.expressionevaluator.impl.function.image.ImageHorizontalflipFunction; |
||
8 | import org.gvsig.expressionevaluator.impl.function.image.ImageReadFunction; |
||
9 | import org.gvsig.expressionevaluator.impl.function.image.ImageResizeFunction; |
||
10 | import org.gvsig.expressionevaluator.impl.function.image.ImageRotateFunction; |
||
11 | import org.gvsig.expressionevaluator.impl.function.image.ImageTransformFunction; |
||
12 | import org.gvsig.expressionevaluator.impl.function.image.ImageVerticalflipFunction; |
||
13 | import org.gvsig.expressionevaluator.impl.function.image.ImageWidthFunction; |
||
14 | 44924 | jjdelcerro | import org.gvsig.expressionevaluator.impl.function.image.ImageWriteFunction; |
15 | 43983 | jjdelcerro | import org.gvsig.expressionevaluator.spi.AbstractSymbolTable; |
16 | |||
17 | /**
|
||
18 | *
|
||
19 | * @author jjdelcerro
|
||
20 | */
|
||
21 | 44126 | jjdelcerro | public class BasicImageSymbolTable extends AbstractSymbolTable { |
22 | static final String NAME = "BasicImage"; |
||
23 | 43983 | jjdelcerro | |
24 | 43987 | jjdelcerro | @SuppressWarnings("OverridableMethodCallInConstructor") |
25 | 44126 | jjdelcerro | public BasicImageSymbolTable() {
|
26 | super(NAME);
|
||
27 | 44006 | jjdelcerro | |
28 | 44126 | jjdelcerro | this.addFunction(new AffineTransformFunction()); |
29 | 44098 | jjdelcerro | |
30 | 44126 | jjdelcerro | this.addFunction(new ImageHeightFunction()); |
31 | this.addFunction(new ImageHorizontalflipFunction()); |
||
32 | this.addFunction(new ImageReadFunction()); |
||
33 | 44924 | jjdelcerro | this.addFunction(new ImageWriteFunction()); |
34 | 44126 | jjdelcerro | this.addFunction(new ImageResizeFunction()); |
35 | this.addFunction(new ImageRotateFunction()); |
||
36 | this.addFunction(new ImageTransformFunction()); |
||
37 | this.addFunction(new ImageVerticalflipFunction()); |
||
38 | this.addFunction(new ImageWidthFunction()); |
||
39 | 46041 | jjdelcerro | this.addFunction(new ImageFromHTMLFunction()); |
40 | 43983 | jjdelcerro | } |
41 | |||
42 | private void addOperator(Function operator) { |
||
43 | this.addFunction(operator);
|
||
44 | } |
||
45 | |||
46 | } |