Package com.adobe.acs.commons.mcp.util
Class AnnotatedFieldDeserializer
- java.lang.Object
-
- com.adobe.acs.commons.mcp.util.AnnotatedFieldDeserializer
-
public class AnnotatedFieldDeserializer extends Object
Processing routines for handing ProcessInput within a FormProcessor
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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)
-
-