public class GenJWireEncoders extends java.lang.Object implements Parm.MainRun
JWired
objects.
For simplicity, the logic expects the fields with the JWired
class to be public.
Most common formats are supported and are documented in detail at {TODO}.
The present implementation supports TypeScript and Java. Javascript and Dart
implementations are lagging and have not been tested with more recent additions.
The generated code uses Mustache
templates. The GenJWireEncoders.JWireScope
object is used as the
primary source for each output generated.Modifier and Type | Class and Description |
---|---|
static class |
GenJWireEncoders.Brief |
static class |
GenJWireEncoders.JWireFld |
static class |
GenJWireEncoders.JWireScope |
static class |
GenJWireEncoders.JWireWrap |
static class |
GenJWireEncoders.Opt
START-UP ROUTINES **********
|
static class |
GenJWireEncoders.WireSpec
Used to specify what @link JWired} classes are to be inspected.
|
static class |
GenJWireEncoders.WireSpecGroup
Used as a repeating grouop in the
GenJWireEncoders.WireSpec class. |
Constructor and Description |
---|
GenJWireEncoders() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Exception |
e(java.lang.String s) |
static void |
log(java.lang.String sMsg) |
static void |
main(java.lang.String[] sArgs) |
void |
run(Parm.Opt oBaseOpt) |
public static void log(java.lang.String sMsg)
public static java.lang.Exception e(java.lang.String s)
public void run(Parm.Opt oBaseOpt) throws java.lang.Exception
run
in interface Parm.MainRun
java.lang.Exception
public static void main(java.lang.String[] sArgs)