Class RegionWriter
java.lang.Object
org.gvsig.gpe.prov.kml.writer.v2.geometries.RegionWriter
This class writes a Region Kml tag. Example:
<Region>
<LatLonAltBox>
<north>43.374</north>
<south>42.983</south>
<east>-0.335</east>
<west>-1.423</west>
<rotation>39.37878630116985</rotation>
</LatLonAltBox>
</Region>
- Author:
- Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidend(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler) /** It writes the LatLonAltBox end tag and its fieldsvoidstart(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, ICoordinateSequence coords) It writes the Region init tag and its fields
-
Constructor Details
-
RegionWriter
public RegionWriter()
-
-
Method Details
-
start
public void start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, ICoordinateSequence coords) throws IOException It writes the Region init tag and its fields- Parameters:
writer- Writer to write the labelshandler- The writer handler implementorcoords- A coordinates iterator.- Throws:
IOException
-
end
public void end(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler) throws IOException /** It writes the LatLonAltBox end tag and its fields- Parameters:
writer- Writer to write the labelshandler- The writer handler implementor- Throws:
IOException
-