Revision 40793 branches/v02_desarrollo/libraries/sld/temp/org.gvsig.sldsupport.lib.impl/src/main/java/org/gvsig/sldsupport/impl/sld1_0_0/parsing/LegendGraphicElement.java
LegendGraphicElement.java | ||
---|---|---|
20 | 20 |
parser.require(KXmlParser.START_TAG, null, SLDTags.LEGENDGRAPHIC); |
21 | 21 |
int tag = 0; |
22 | 22 |
|
23 |
SLDLegendGraphic resp = null;
|
|
23 |
SLDLegendGraphic resp = new SLDLegendGraphic();
|
|
24 | 24 |
|
25 | 25 |
tag = parser.next(); |
26 | 26 |
String name = parser.getName(); |
... | ... | |
30 | 30 |
switch (tag) { |
31 | 31 |
case KXmlParser.START_TAG: |
32 | 32 |
if (SLDUtils.isStr(name, SLDTags.GRAPHIC)) { |
33 |
SLDGraphic gra = GraphicElement.parse(); |
|
33 |
SLDGraphic gra = GraphicElement.parse(parser, version);
|
|
34 | 34 |
resp.setGraphic(gra); |
35 | 35 |
break; |
36 | 36 |
} |
Also available in: Unified diff