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 / SLDLineSymbol.java @ 46
History | View | Annotate | Download (2.42 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.symbol.misc.SLDParameterValue; |
29 |
import org.gvsig.sldsupport.sld.symbol.misc.SLDStroke; |
30 |
|
31 |
public class SLDLineSymbol implements SLDSymbol { |
32 |
|
33 |
protected String geometryPropertyName = null; |
34 |
protected SLDStroke stroke = null; |
35 |
protected String version = null; |
36 |
|
37 |
/*
|
38 |
* SLD 1.1.0
|
39 |
*/
|
40 |
protected SLDParameterValue perpendicularOffset = null; |
41 |
|
42 |
/**
|
43 |
* Unit of measure
|
44 |
*/
|
45 |
protected String uom = null; |
46 |
|
47 |
|
48 |
public SLDLineSymbol() {
|
49 |
|
50 |
} |
51 |
|
52 |
public String getGeometryPropertyName() { |
53 |
return geometryPropertyName;
|
54 |
} |
55 |
|
56 |
public void setGeometryPropertyName(String pn) { |
57 |
geometryPropertyName = pn; |
58 |
} |
59 |
|
60 |
public SLDStroke getStroke() {
|
61 |
return stroke;
|
62 |
} |
63 |
|
64 |
public void setStroke(SLDStroke str) { |
65 |
stroke = str; |
66 |
} |
67 |
|
68 |
|
69 |
|
70 |
/**
|
71 |
* in uoms
|
72 |
* @return
|
73 |
*/
|
74 |
public SLDParameterValue getPerpendicularOffset() {
|
75 |
return perpendicularOffset;
|
76 |
} |
77 |
|
78 |
public void setPerpendicularOffset(SLDParameterValue o) { |
79 |
perpendicularOffset = o; |
80 |
} |
81 |
|
82 |
public String getUom() { |
83 |
return uom;
|
84 |
} |
85 |
|
86 |
public void setUom(String u) { |
87 |
uom = u; |
88 |
} |
89 |
|
90 |
public String getVersion() { |
91 |
return version;
|
92 |
} |
93 |
|
94 |
public void setVersion(String v) { |
95 |
version = v; |
96 |
} |
97 |
|
98 |
|
99 |
} |