GeoXML XSD with scalaxb procedure to generate XML data-binding for Scala
sbt command can be replaced by activator act or whatever your aliases and sbt build tool is named. From now on sbt is used.
sbt compile
This will generate three .scala source files:
geoXml.scala
geoXmlProtocol.scala
scalaxb.scala
geoXml.scala file contains model traits, classes and objects that are used everywhere the corresponding geoXml.xsd schema elements are used in Scala
geoXmlProtocol.scala file formats scala.xml objects to geoXml defined model using scalaxb.XMLFormat
scalaxb package provides functions to read and write from scala.xml to Scala types as for instance toXML[A] where A can be any model class or object such as MELFIN, ELFIN, POINT...
sbt eclipse
Latest IntelliJ IDEA provides Scala support in the repository plugins