KMLEditor

com.phasmidsoftware.xmldoc.kml.KMLEditor
See theKMLEditor companion object
case class KMLEditor(edits: Seq[KmlEdit])

Case class to represent a set of KmlEdit objects.

Value parameters

edits

a sequence of edits.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def process(filename: Try[String]): IO[Unit]

Method to process the file defined by baseFilename by parsing it, editing it, and writing it out. The input file extension is ".kml" and the output file suffix is "_out.kml"

Method to process the file defined by baseFilename by parsing it, editing it, and writing it out. The input file extension is ".kml" and the output file suffix is "_out.kml"

Value parameters

filename

the input filename, including the extension (".kml")

Attributes

Returns

an IO[Unit] which needs to be run.

def processKML(k: KML): KML

Method to process a KML object.

Method to process a KML object.

Value parameters

k

a KML.

Attributes

Returns

a sequence of KML, quite possibly different from the input sequence.

def processKMLs(ks: Seq[KML]): Seq[KML]

Method to process a sequence of KML objects. In practice, there is only ever one such object in a KML file.

Method to process a sequence of KML objects. In practice, there is only ever one such object in a KML file.

Value parameters

ks

a sequence of KML.

Attributes

Returns

a sequence of KML, quite possibly different from the input sequence.

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product