John suggested to generate Javadoc for at least applyBindings() method in the generated model class
1.1 --- a/json/src/main/java/org/apidesign/html/json/impl/ModelProcessor.java Thu Aug 08 13:36:59 2013 +0200
1.2 +++ b/json/src/main/java/org/apidesign/html/json/impl/ModelProcessor.java Fri Aug 09 11:22:21 2013 +0200
1.3 @@ -338,6 +338,13 @@
1.4 w.append(" };\n");
1.5 writeToString(props, w);
1.6 writeClone(className, props, w);
1.7 + w.write(" /** Activates this model instance in the current {@link "
1.8 + + "net.java.html.json.Models#bind(java.lang.Object, net.java.html.BrwsrCtx) browser context}. "
1.9 + + "In case of using Knockout technology, this means to "
1.10 + + "bind JSON like data in this model instance with Knockout tags in "
1.11 + + "the surrounding HTML page."
1.12 + + "*/"
1.13 + );
1.14 w.write(" public " + className + " applyBindings() {\n");
1.15 w.write(" intKnckt().applyBindings();\n");
1.16 w.write(" return this;\n");