|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JAJBUnMarshallException | |
|---|---|
| it.negro.jajb | |
| it.negro.jajb.utility | |
| Uses of JAJBUnMarshallException in it.negro.jajb |
|---|
| Methods in it.negro.jajb that throw JAJBUnMarshallException | |
|---|---|
java.lang.Object |
JAJB.unmarshall(it.dangelo.domjson.JSONElement jsonElement,
java.lang.Class<?> clazz)
Makes the same work of unmarshall(JSONElement, String) method but considering the mapping runtime found: if clazz has an EntityAnnotation makes binding using its annotated mapping, otherwise without
any mapping. |
java.lang.Object |
JAJB.unmarshall(it.dangelo.domjson.JSONElement jsonElement,
java.lang.String id)
This method makes binding between passed jsonElement parameter and the specific java bean that you should have described in one of your mapping files with the id passed parameter. |
java.lang.Object |
JAJB.unmarshall(java.lang.String jsonString,
java.lang.Class<?> clazz)
Makes the same work of unmarshall(String, String) method but considering the mapping runtime found: if clazz has an EntityAnnotation makes binding using its annotated mapping, otherwise without
any mapping. |
java.lang.Object |
JAJB.unmarshall(java.lang.String jsonString,
java.lang.String id)
This method makes binding between passed jsonString parameter and the specific java bean that you should have described in one of your mapping files (be careful to instantiation method used to get JAJB instance) with the id passed parameter or with id of annotated bean (if it starts with '@') or with simple id (if it starts with '#'). |
java.lang.Object |
JAJB.unmarshallSimpleArray(it.dangelo.domjson.JSONArray jsonArray,
java.lang.Class<?> arrayClass)
Converts a JSONArray into Java Array. |
java.lang.Object |
JAJB.unmarshallSimpleArray(java.lang.String jsonArrayString,
java.lang.Class<?> arrayClass)
Converts a string representing a JSONArray into Java Array. |
java.util.Collection<?> |
JAJB.unmarshallSimpleCollection(it.dangelo.domjson.JSONArray jsonArray,
java.lang.Class<?> collectionClass,
java.lang.Class<?> componentType)
Converts a JSONArray into a Collection of the specifies collectionClass
(for example ArrayList.class) containing specified componentType component. |
java.util.Collection<?> |
JAJB.unmarshallSimpleCollection(java.lang.String jsonArrayString,
java.lang.Class<?> collectionClass,
java.lang.Class<?> componentType)
Converts a string representing a JSONArray into a Collection of the specifies collectionClass
(for example ArrayList.class) containing specified componentType component. |
| Uses of JAJBUnMarshallException in it.negro.jajb.utility |
|---|
| Methods in it.negro.jajb.utility that throw JAJBUnMarshallException | |
|---|---|
static java.lang.Object |
Utility.unmarshallSimpleArray(it.dangelo.domjson.JSONArray jsonArray,
java.lang.Class<?> arrayClass)
Converts a JSONArray into Java Array. |
static java.util.Collection<?> |
Utility.unmarshallSimpleCollection(it.dangelo.domjson.JSONArray jsonArray,
java.lang.Class<?> collectionClass,
java.lang.Class<?> componentType)
Does the same work of unmarshallSimpleArray method, but using collections. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||