Revision 1809 org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.ogc/org.gvsig.raster.wmts.ogc.impl/src/main/java/org/gvsig/raster/wmts/ogc/impl/wmts_1_0_0/struct/WMTSStyle_1_0_0.java
WMTSStyle_1_0_0.java | ||
---|---|---|
24 | 24 |
import java.io.IOException; |
25 | 25 |
|
26 | 26 |
import org.gvsig.raster.wmts.ogc.impl.Tags; |
27 |
import org.gvsig.raster.wmts.ogc.impl.struct.WMTSLegendURL; |
|
28 |
import org.gvsig.raster.wmts.ogc.impl.struct.WMTSStyle; |
|
27 |
import org.gvsig.raster.wmts.ogc.impl.struct.WMTSLegendURLImpl; |
|
28 |
import org.gvsig.raster.wmts.ogc.impl.struct.WMTSStyleImpl; |
|
29 |
import org.gvsig.raster.wmts.ogc.struct.WMTSLegendURL; |
|
29 | 30 |
import org.kxml2.io.KXmlParser; |
30 | 31 |
import org.xmlpull.v1.XmlPullParserException; |
31 | 32 |
|
... | ... | |
34 | 35 |
* |
35 | 36 |
* @author Nacho Brodin (nachobrodin@gmail.com) |
36 | 37 |
*/ |
37 |
public class WMTSStyle_1_0_0 extends WMTSStyle { |
|
38 |
public class WMTSStyle_1_0_0 extends WMTSStyleImpl {
|
|
38 | 39 |
|
39 | 40 |
public WMTSLegendURL getLegendURL() { |
40 | 41 |
if(legendURL == null) |
... | ... | |
67 | 68 |
} else if (compareName(parser, Tags.WMTS_KEYWORDS)) { |
68 | 69 |
parser.skipSubTree(); |
69 | 70 |
} else if (compareName(parser, Tags.WMTS_LEGENDURL)) { |
70 |
getLegendURL().parse(parser);
|
|
71 |
((WMTSLegendURLImpl)getLegendURL()).parse(parser);
|
|
71 | 72 |
} else if (compareName(parser, Tags.WMTS_ISDEFAULT)) { |
72 | 73 |
Boolean b = new Boolean(nextText(parser)); |
73 | 74 |
setDefault(b.booleanValue()); |
Also available in: Unified diff