public class LatLonBoxIterator extends KmlCoodinatesIterator
<LatLonAltBox>
<north>43.374</north>
<south>42.983</south>
<east>-0.335</east>
<west>-1.423</west>
<rotation>39.37878630116985</rotation>
</LatLonAltBox>
http://code.google.com/apis/kml/documentation/kml_tags_21.html#latlonboxcoordinatesString, dimension, handler, lastTag, parser| Constructor and Description |
|---|
LatLonBoxIterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns whether there are more coordinates in this sequence
|
void |
next(double[] buffer) |
java.lang.Object |
parse(IXmlStreamReader parser,
GPEDeafultKmlParser handler)
It parses the LatLonAltBox tag
|
getDimension, initialize, parseAllpublic java.lang.Object parse(IXmlStreamReader parser,
GPEDeafultKmlParser handler)
throws XmlStreamException,
java.io.IOException
parser - The XML parserhandler - The GPE parser that contains the content handler and
the error handlerjava.io.IOExceptionXmlStreamExceptionpublic boolean hasNext()
throws java.io.IOException
ICoordinateIteratorjava.io.IOExceptionpublic void next(double[] buffer)
throws java.io.IOException
buffer - where to store the parsed coordinates. The buffer lenght shall be >=
ICoordinateIterator.getDimension()java.io.IOException