writes the kml element object as xml to a file.
writes the kml element object as xml to a file. Will write to System.out if fileName is not defined
the file name to write to
writes the kml element object as xml to a file.
writes the kml element object as xml to a file. Will write to System.out if fileName is not defined
the file name to write to
the Writer to use, e.g PrintWriter, StringWriter, ...default PrintWriter(System.out)
the encoding, default "UTF-8"
if true, write xml declaration, default true
if not null, write doctype declaration, default null
close the writer
writes the Kml element to xml
writes the Kml element to xml
the Kml element option
the pretty printer to use, default null
convenience method
convenience method
the Kml element
convenience method
convenience method
the Kml element
the pretty printer to use
writes the kml element object to xml representation