public class DocumentWriter extends Object
<Document>
<Placemark>
<name>CDATA example</name>
<description>Description example</description>
<Point>
<oordinates>102.595626,14.996729</coordinates>
</Point>
</Placemark>
</Document>
http://code.google.com/apis/kml/documentation/kml_tags_21.html#document
Constructor and Description |
---|
DocumentWriter() |
Modifier and Type | Method and Description |
---|---|
void |
end(IXmlStreamWriter writer,
GPEKmlWriterHandlerImplementor handler)
It writes the end Docuemnt tag
|
void |
start(IXmlStreamWriter writer,
GPEKmlWriterHandlerImplementor handler,
String id,
String name,
String description)
Writes a Document init tag and its attributes
|
public void start(IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, String name, String description) throws IOException
writer
- Writer to write the labelshandler
- The writer handler implementorid
- Document idname
- Document namedescription
- Document descriptionIOException
public void end(IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler) throws IOException
writer
- Writer to write the labelshandler
- The writer handler implementorIOException