Package com.adobe.acs.commons.mcp.util
Class AnnotatedFieldDeserializer
java.lang.Object
com.adobe.acs.commons.mcp.util.AnnotatedFieldDeserializer
Processing routines for handing ProcessInput within a FormProcessor
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeserializeFields(Object target, List<Field> fields, org.apache.sling.api.resource.ValueMap input) static voiddeserializeFormFields(Object target, org.apache.sling.api.resource.ValueMap input) static Stream<AccessibleObject>getAllAnnotatedObjectMembers(Class source, Class<? extends Annotation> annotation) static Map<String,FieldComponent> getFormFields(Class source, org.apache.sling.api.scripting.SlingScriptHelper sling)
-
Method Details
-
deserializeFormFields
public static void deserializeFormFields(Object target, org.apache.sling.api.resource.ValueMap input) throws DeserializeException - Throws:
DeserializeException
-
deserializeFields
public static void deserializeFields(Object target, List<Field> fields, org.apache.sling.api.resource.ValueMap input) throws DeserializeException - Throws:
DeserializeException
-
getAllAnnotatedObjectMembers
public static Stream<AccessibleObject> getAllAnnotatedObjectMembers(Class source, Class<? extends Annotation> annotation) -
getFormFields
public static Map<String,FieldComponent> getFormFields(Class source, org.apache.sling.api.scripting.SlingScriptHelper sling)
-