| Package | Description |
|---|---|
| org.carrot2.util.attribute |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
AttributeBinder.bind(Object object,
AttributeBinder.IAttributeBinderAction[] attributeBinderActions,
Class<? extends Annotation>... filteringAnnotations) |
A generic method for performing actions on the
object's hierarchy of
attributes. |
static void |
AttributeBinder.bind(Object object,
AttributeBinder.IAttributeBinderAction[] attributeBinderActions,
org.carrot2.shaded.guava.common.base.Predicate<Field> predicate) |
A generic method for performing actions on the
object's hierarchy of
attributes. |
static void |
AttributeBinder.get(Object object,
Map<String,Object> values,
Class<? extends Annotation>... filteringAnnotations) |
|
static Map<String,Object> |
AttributeBinder.set(Object object,
Map<String,Object> values,
boolean checkRequired,
org.carrot2.shaded.guava.common.base.Predicate<Field> predicate) |
A version of
AttributeBinder.set(Object, Map, boolean, Class...) with a Predicate
instead of filtering annotations. |
static Map<String,Object> |
AttributeBinder.set(Object object,
Map<String,Object> values,
Class<? extends Annotation>... filteringAnnotations) |
Sets
Attribute values on the provided instance. |
static <T> Map<String,Object> |
AttributeBinder.set(T object,
Map<String,Object> values,
boolean checkRequired,
Class<? extends Annotation>... filteringAnnotations) |
A version of
AttributeBinder.set(Object, Map, Class...) that can optionally skip
Required attribute checking. |
Copyright © 2018 Carrot2.org. All rights reserved.