DOC

net.wetheinter : xapi-template

Maven & Gradle

Feb 20, 2013
4 stars

XApi - Code Generator Templates · 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.

Table Of Contents

Latest Version

Download net.wetheinter : xapi-template Javadoc & API Documentation - Latest Versions:

All Versions

Download net.wetheinter : xapi-template Javadoc & API Documentation - All Versions:

Version Size Javadoc Updated
0.2

How to open Javadoc JAR file in web browser

  1. Rename the file xapi-template-0.2-javadoc.jar to xapi-template-0.2-javadoc.zip
  2. Use your favourite unzip tool (WinRAR / WinZIP) to extract it, now you have a folder xapi-template-0.2-javadoc
  3. Double click index.html will open the index page on your default web browser.

How to generate Javadoc from a source JAR?

Running the command javadoc:

javadoc --ignore-source-errors -encoding UTF-8 -sourcepath "xapi-template-0.2-sources.jar" -d "xapi-template-0.2-javadoc" -subpackages 

Advertisement