Revision 40789 branches/v02_desarrollo/libraries/sld/temp/org.gvsig.sldsupport.lib.api/src/main/java/org/gvsig/sldsupport/sld/rule/SLDRule.java
SLDRule.java | ||
---|---|---|
10 | 10 |
public class SLDRule { |
11 | 11 |
|
12 | 12 |
protected String name = null; |
13 |
|
|
14 |
/* |
|
15 |
* SLD 1.0.0 |
|
16 |
*/ |
|
17 |
protected String title = null; |
|
13 | 18 |
protected SLDFilter filter = null; |
14 | 19 |
|
20 |
/* |
|
21 |
* Called abstract in SLD 1.0.0 |
|
22 |
*/ |
|
15 | 23 |
protected String description = null; |
16 | 24 |
protected SLDLegendGraphic legendGraphic = null; |
17 | 25 |
protected double minScaleDenominator = 1; |
... | ... | |
21 | 29 |
|
22 | 30 |
// ============================= |
23 | 31 |
|
24 |
public SLDRule(String _name, SLDFilter _filter) { |
|
25 |
name = _name; |
|
26 |
filter = _filter; |
|
32 |
public SLDRule() { |
|
27 | 33 |
} |
28 | 34 |
|
29 | 35 |
// =============================== |
... | ... | |
32 | 38 |
return name; |
33 | 39 |
} |
34 | 40 |
|
41 |
public void setName(String n) { |
|
42 |
name = n; |
|
43 |
} |
|
44 |
|
|
45 |
public String getTitle() { |
|
46 |
return title; |
|
47 |
} |
|
48 |
|
|
49 |
public void setTitle(String tit) { |
|
50 |
title = tit; |
|
51 |
} |
|
52 |
|
|
53 |
public void setFilter(SLDFilter f) { |
|
54 |
filter = f; |
|
55 |
} |
|
56 |
|
|
35 | 57 |
public SLDFilter getFilter() { |
36 | 58 |
return filter; |
37 | 59 |
} |
Also available in: Unified diff