Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 764 Bytes

File metadata and controls

24 lines (17 loc) · 764 Bytes

Download

Kotlin XML Builder DSL Generator

This jar can be used to generate a typesafe DSL based on an XSD file.

NOTE: This is experimental and may not generate the exact DSL you expect. Please report any issues.

License

Apache 2.0

Usage

Usage is similar to generating java code with XJC. Simply run:

java -jar <path to kotlin-xml-gsl-generator.jar> -d <dest> -p <package> <path to schema>

You can also use JAXB bindings files to customize some of the generator code. Note that this is very experimental and not guaranteed to work with all customizations.