Statistics
| Revision:

gvsig-sldtools / org.gvsig.sld / org.gvsig.sldsupport / org.gvsig.sldsupport.lib / org.gvsig.sldsupport.lib.api / src / main / java / org / gvsig / sldsupport / sld / symbol / SLDPolygonSymbol.java @ 46

History | View | Annotate | Download (2.63 KB)

1
/*******************************************************************************
2
 *
3
 *   gvSIG. Desktop Geographic Information System.
4
 *  
5
 *   Copyright (C) 2007-2013 gvSIG Association.
6
 *  
7
 *   This program is free software; you can redistribute it and/or
8
 *   modify it under the terms of the GNU General Public License
9
 *   as published by the Free Software Foundation; either version 3
10
 *   of the License, or (at your option) any later version.
11
 *  
12
 *   This program is distributed in the hope that it will be useful,
13
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 *   GNU General Public License for more details.
16
 *  
17
 *   You should have received a copy of the GNU General Public License
18
 *   along with this program; if not, write to the Free Software
19
 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
 *   MA  02110-1301, USA.
21
 *  
22
 *   For any additional information, do not hesitate to contact us
23
 *   at info AT gvsig.com, or visit our website www.gvsig.com.
24
 *   
25
 *******************************************************************************/
26
package org.gvsig.sldsupport.sld.symbol;
27

    
28
import org.gvsig.sldsupport.sld.graphic.SLDDisplacement;
29
import org.gvsig.sldsupport.sld.symbol.misc.SLDFill;
30
import org.gvsig.sldsupport.sld.symbol.misc.SLDStroke;
31

    
32
public class  SLDPolygonSymbol implements SLDSymbol {
33
        
34
        protected String geometryPropertyName = null;
35
        protected SLDFill fill = null;
36
        protected SLDStroke stroke = null;
37
        
38
        /**
39
         * in uoms
40
         * @return
41
         */        
42
        protected SLDDisplacement displacement = null;
43
        protected String uom = null;
44
        protected String version = null;
45
        
46
        // ============================
47
        
48
        public SLDPolygonSymbol() {
49
                fill = new SLDFill();
50
                stroke = new SLDStroke();
51
                displacement = new SLDDisplacement();
52
        }
53

    
54
        public SLDFill getFill() {
55
                return fill;
56
        }
57

    
58
        public void setFill(SLDFill f) {
59
                this.fill = f;
60
        }
61

    
62
        public SLDStroke getStroke() {
63
                return stroke;
64
        }
65

    
66
        public void setStroke(SLDStroke s) {
67
                this.stroke = s;
68
        }
69

    
70
        public SLDDisplacement getDisplacement() {
71
                return displacement;
72
        }
73

    
74
        public void setDisplacement(SLDDisplacement disp) {
75
                displacement = disp;
76
        }
77

    
78
        public String getUom() {
79
                return uom;
80
        }
81

    
82
        public void setUom(String u) {
83
                this.uom = u;
84
        }
85

    
86
        public String getGeometryPropertyName() {
87
                return geometryPropertyName;
88
        }
89
        
90
        public String getVersion() {
91
                return version;
92
        }
93
        
94
        public void setGeometryPropertyName(String pn) {
95
                geometryPropertyName = pn;
96
        }
97
        
98
        public void setVersion(String v) {
99
                version = v;
100
        }        
101
        
102
}