Download xapi-template JAR file with all dependencies
xapi-template from group net.wetheinter (version 0.2)
A simple templating system for java codegen.
This library includes an object-oriented, fluent source writing api, for a chained, intuitive codegen api.
It also includes a template processor which can take java source files formatted with "magic comments",
to allow simple mapping of GeneratorClass#generatorMethod() to inject dynamic source content.
//@generateWith(GeneratorClass)//
-Sets the current generator. You may use as many as you please
//generatorMethod(arbitrary-string-data-you-may-want-to-parse)//
-invokes the named method on the current injector, with any text (between brackets) sent as a string
This allows you to markup default source with hooks where you may want to inject arbitrary code.
It is especially useful for generating super-source in gwt compiles; changes to the default class are propagated to overrides.
Artifact xapi-template
Group net.wetheinter
Version 0.2
Last update 20. February 2013
Tags: arbitrary markup injector where sent please oriented useful sets processor template formatted text class code many content system magic default propagated brackets this intuitive dynamic named allow compiles hooks generatormethod simple data writing mapping object includes chained super especially allows current generator generatewith parse between want invokes files with generatorclass overrides fluent inject generating templating which source codegen take string library method java also comments changes
Organization The Internet Party
URL https://github.com/WeTheInternet/xapi-template
License The Apache Software License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group net.wetheinter
Version 0.2
Last update 20. February 2013
Tags: arbitrary markup injector where sent please oriented useful sets processor template formatted text class code many content system magic default propagated brackets this intuitive dynamic named allow compiles hooks generatormethod simple data writing mapping object includes chained super especially allows current generator generatewith parse between want invokes files with generatorclass overrides fluent inject generating templating which source codegen take string library method java also comments changes
Organization The Internet Party
URL https://github.com/WeTheInternet/xapi-template
License The Apache Software License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Page 1 from 1 (items total 1)