public class AnnotatedFieldDeserializer extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
deserializeFields(Object target,
List<Field> fields,
org.apache.sling.api.resource.ValueMap input) |
static void |
deserializeFormFields(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) |
public static void deserializeFormFields(Object target, org.apache.sling.api.resource.ValueMap input) throws DeserializeException
DeserializeExceptionpublic static void deserializeFields(Object target, List<Field> fields, org.apache.sling.api.resource.ValueMap input) throws DeserializeException
DeserializeExceptionpublic static Stream<AccessibleObject> getAllAnnotatedObjectMembers(Class source, Class<? extends Annotation> annotation)
public static Map<String,FieldComponent> getFormFields(Class source, org.apache.sling.api.scripting.SlingScriptHelper sling)
Copyright © 2013–2020 Adobe. All rights reserved.