| Modifier and Type | Class and Description |
|---|---|
| private static class | ReflectionAttributeExtractor.FieldPart
A field expression part |
| private static class | ReflectionAttributeExtractor.FieldRef
A reference to a resolved Field instance |
| private static class | ReflectionAttributeExtractor.MethodPart
A method expression part |
| private static class | ReflectionAttributeExtractor.MethodRef
A reference to a resolved Method instance |
| private static interface | ReflectionAttributeExtractor.Part
A part (method or field) of the expression |
| private static enum | ReflectionAttributeExtractor.StartType
The various types of the start of the expression |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private final ReflectionAttributeExtractor. | |
| private final ReflectionAttributeExtractor. | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: the attribute valuethe cache element to inspect e, String the name of the requested attribute attributeName)Implements net. |
| private static ReflectionAttributeExtractor. | |
| private static void |
| ELEMENT | back to summary |
|---|---|
| private static final String ELEMENT | |
| KEY | back to summary |
|---|---|
| private static final String KEY | |
| parts | back to summary |
|---|---|
| private final ReflectionAttributeExtractor. | |
| start | back to summary |
|---|---|
| private final ReflectionAttributeExtractor. | |
| VALUE | back to summary |
|---|---|
| private static final String VALUE | |
| ReflectionAttributeExtractor | back to summary |
|---|---|
| public ReflectionAttributeExtractor(String expression) throws InvalidConfigurationException Create a new ReflectionAttributeExtractor | |
| attributeFor | back to summary |
|---|---|
| public Object attributeFor(Element e, String attributeName) throws AttributeExtractorException Implements net. Evaluate the expression for the given element
| |
| parseExpression | back to summary |
|---|---|
| private static ReflectionAttributeExtractor. | |
| verifyToken | back to summary |
|---|---|
| private static void verifyToken(String token, String expression) | |
| Modifier and Type | Field and Description |
|---|---|
| private transient volatile ReflectionAttributeExtractor. | |
| private final String |
| Modifier and Type | Method and Description |
|---|---|
| public Object | eval(Object target)
Implements net. |
| cache | back to summary |
|---|---|
| private transient volatile ReflectionAttributeExtractor. | |
| fieldName | back to summary |
|---|---|
| private final String fieldName | |
| FieldPart | back to summary |
|---|---|
| public FieldPart(String field) | |
| eval | back to summary |
|---|---|
| public Object eval(Object target) Implements net. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| field | back to summary |
|---|---|
| private final Field field | |
| target | back to summary |
|---|---|
| private final Class<T> target | |
| FieldRef | back to summary |
|---|---|
| pack-priv FieldRef(Class<T> target, Field field) | |
| Modifier and Type | Field and Description |
|---|---|
| private transient volatile ReflectionAttributeExtractor. | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | eval(Object target)
Implements net. |
| cache | back to summary |
|---|---|
| private transient volatile ReflectionAttributeExtractor. | |
| methodName | back to summary |
|---|---|
| private final String methodName | |
| MethodPart | back to summary |
|---|---|
| public MethodPart(String method) | |
| eval | back to summary |
|---|---|
| public Object eval(Object target) Implements net. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| method | back to summary |
|---|---|
| private final Method method | |
| target | back to summary |
|---|---|
| private final Class<T> target | |
| MethodRef | back to summary |
|---|---|
| pack-priv MethodRef(Class<T> target, Method method) | |
| eval | back to summary |
|---|---|
| public Object eval(Object target) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ReflectionAttributeExtractor. | |
| public static final ReflectionAttributeExtractor. | |
| public static final ReflectionAttributeExtractor. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ReflectionAttributeExtractor. | |
| public static ReflectionAttributeExtractor. |
| ELEMENT | back to summary |
|---|---|
| public static final ReflectionAttributeExtractor. | |
| KEY | back to summary |
|---|---|
| public static final ReflectionAttributeExtractor. | |
| VALUE | back to summary |
|---|---|
| public static final ReflectionAttributeExtractor. | |
| StartType | back to summary |
|---|---|
| private StartType() | |
| valueOf | back to summary |
|---|---|
| public static ReflectionAttributeExtractor. | |
| values | back to summary |
|---|---|
| public static ReflectionAttributeExtractor. | |