|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.html.json.Models
public final class Models
Information about and
operations for classes generated by the @Model
annotation.
| Method Summary | ||
|---|---|---|
static boolean |
isModel(Class<?> clazz)
Finds out whether given class is a model class - e.g. |
|
static
|
parse(Context c,
Class<M> model,
InputStream is)
Generic method to parse content of a model class from a stream. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isModel(Class<?> clazz)
@Model annotation.
clazz - the class to test
clazz was generated by Model annotation
public static <M> M parse(Context c,
Class<M> model,
InputStream is)
throws IOException
c - context of the technology to use for readingmodel - the model class generated by Model annotationis - input stream with data
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||