Revision 18333 trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/kml/KmlFeaturesIterator.java
KmlFeaturesIterator.java | ||
---|---|---|
5 | 5 |
import org.gvsig.exceptions.BaseException; |
6 | 6 |
import org.gvsig.remoteClient.gml.engine.AbstractFeaturesIterator; |
7 | 7 |
import org.gvsig.remoteClient.gml.engine.readers.IReaderFile; |
8 |
import org.gvsig.remoteClient.gml.exceptions.GMLException; |
|
8 | 9 |
import org.gvsig.remoteClient.gml.factories.IGeometriesFactory; |
9 | 10 |
import org.gvsig.remoteClient.kml.bindings.FolderBinding; |
10 | 11 |
import org.gvsig.remoteClient.kml.bindings.PlaceMarketBinding; |
... | ... | |
75 | 76 |
* (non-Javadoc) |
76 | 77 |
* @see org.gvsig.remoteClient.gmlEngine.IFeaturesIterator#hasNext() |
77 | 78 |
*/ |
78 |
public boolean hasNext() throws BaseException {
|
|
79 |
public boolean hasNext() throws GMLException {
|
|
79 | 80 |
boolean endFile = false; |
80 | 81 |
int currentTag; |
81 | 82 |
boolean isFolder = false; |
... | ... | |
123 | 124 |
* (non-Javadoc) |
124 | 125 |
* @see org.gvsig.remoteClient.gmlEngine.IFeaturesIterator#next() |
125 | 126 |
*/ |
126 |
public Object next() throws BaseException {
|
|
127 |
public Object next() throws GMLException {
|
|
127 | 128 |
String tag = reader.getName(); |
128 | 129 |
|
129 | 130 |
if (tag.compareTo(KmlTags.PLACEMARK) == 0){ |
Also available in: Unified diff