Revision 21966 trunk/libraries/libGPE-KML/src/org/gvsig/gpe/kml/parser/v21/geometries/RegionBinding.java
RegionBinding.java | ||
---|---|---|
5 | 5 |
import javax.xml.namespace.QName; |
6 | 6 |
|
7 | 7 |
import org.gvsig.gpe.kml.parser.GPEDeafultKmlParser; |
8 |
import org.gvsig.gpe.kml.utils.KmlTags; |
|
8 |
import org.gvsig.gpe.kml.utils.Kml2_1_Tags;
|
|
9 | 9 |
import org.gvsig.gpe.xml.stream.IXmlStreamReader; |
10 | 10 |
import org.gvsig.gpe.xml.stream.XmlStreamException; |
11 | 11 |
import org.gvsig.gpe.xml.utils.CompareUtils; |
... | ... | |
107 | 107 |
while (!endFeature){ |
108 | 108 |
switch(currentTag){ |
109 | 109 |
case IXmlStreamReader.START_ELEMENT: |
110 |
if (CompareUtils.compareWithNamespace(tag,KmlTags.LATLONALTBOX)){ |
|
110 |
if (CompareUtils.compareWithNamespace(tag,Kml2_1_Tags.LATLONALTBOX)){
|
|
111 | 111 |
bbox = handler.getProfile().getLatLonAltBoxBinding().parse(parser, handler); |
112 | 112 |
} |
113 | 113 |
break; |
114 | 114 |
case IXmlStreamReader.END_ELEMENT: |
115 |
if (CompareUtils.compareWithNamespace(tag,KmlTags.REGION)){ |
|
115 |
if (CompareUtils.compareWithNamespace(tag,Kml2_1_Tags.REGION)){
|
|
116 | 116 |
endFeature = true; |
117 | 117 |
} |
118 | 118 |
break; |
Also available in: Unified diff