| Package | Description |
|---|---|
| ch.ralscha.extdirectspring.generator |
| Modifier and Type | Method and Description |
|---|---|
static OutputFormat |
OutputFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutputFormat[] |
OutputFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ModelGenerator.generateJavascript(Class<?> clazz,
OutputFormat format,
boolean debug)
Instrospects the provided class, creates a model object (JS code) and
returns it.
|
static String |
ModelGenerator.generateJavascript(Class<?> clazz,
OutputFormat format,
IncludeValidation includeValidation,
boolean debug)
Instrospects the provided class, creates a model object (JS code) and
returns it.
|
static String |
ModelGenerator.generateJavascript(ModelBean model,
OutputFormat format,
boolean debug)
Creates JS code based on the provided
ModelBean in the specified
OutputFormat. |
static void |
ModelGenerator.writeModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Class<?> clazz,
OutputFormat format)
Instrospects the provided class, creates a model object (JS code) and
writes it into the response.
|
static void |
ModelGenerator.writeModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Class<?> clazz,
OutputFormat format,
boolean debug)
Instrospects the provided class, creates a model object (JS code) and
writes it into the response.
|
static void |
ModelGenerator.writeModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Class<?> clazz,
OutputFormat format,
IncludeValidation includeValidation,
boolean debug)
Instrospects the provided class, creates a model object (JS code) and
writes it into the response.
|
static void |
ModelGenerator.writeModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ModelBean model,
OutputFormat format)
Creates a model object (JS code) based on the provided
ModelBean
and writes it into the response. |
static void |
ModelGenerator.writeModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ModelBean model,
OutputFormat format,
boolean debug)
Creates a model object (JS code) based on the provided ModelBean and
writes it into the response.
|
Copyright © 2010-2013. All Rights Reserved.