Package io.inversion.context
Class Decoder
java.lang.Object
io.inversion.context.Decoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThree step process 1.protected ClassgetArrayElementClass(Class arrayClass) List<io.inversion.context.Decoder.FieldToSet>sort(Collection<String> keys) Sorts based on the number of "." characters first and then based on the string value.
-
Constructor Details
-
Decoder
public Decoder()
-
-
Method Details
-
sort
Sorts based on the number of "." characters first and then based on the string value.- Parameters:
keys- the keys to sort- Returns:
- the sorted list of keys
-
decode
Three step process 1. Instantiate all beans 2. Set primitive types on all beans 3. Set object types on all beans -
decode
-
getFieldsToSet
-
getArrayElementClass
-
getKeys
-