public class ParamField extends Object
Constructor and Description |
---|
ParamField(AccessibleObject member)
Creates a ParamField object
|
Modifier and Type | Method and Description |
---|---|
void |
assignValue(Object bean,
Object value)
Sets given value to the annotated field of bean
|
Field |
getField() |
String |
getName() |
Method |
getSetter() |
Class<?> |
getType() |
boolean |
isRequired() |
String |
toString() |
public static final String DEFAULT
public ParamField(AccessibleObject member) throws TikaConfigException
member
- a field or method which has Field
annotationTikaConfigException
public Field getField()
public Method getSetter()
public String getName()
public Class<?> getType()
public boolean isRequired()
public void assignValue(Object bean, Object value) throws IllegalAccessException, InvocationTargetException
bean
- bean with annotation for fieldvalue
- value of fieldIllegalAccessException
- when it occursInvocationTargetException
- when it occursCopyright © 2007–2023 The Apache Software Foundation. All rights reserved.