public class AccessorFactoryImpl extends Object implements InternalAccessorFactory
| Modifier and Type | Method and Description |
|---|---|
Accessor |
createFieldAccessor(Class bean,
Field field,
boolean readOnly)
Access a field of the class.
|
Accessor |
createFieldAccessor(Class bean,
Field field,
boolean readOnly,
boolean supressWarning)
Access a field of the class.
|
Accessor |
createPropertyAccessor(Class bean,
Method getter,
Method setter)
Access a property of the class.
|
static AccessorFactoryImpl |
getInstance() |
public static AccessorFactoryImpl getInstance()
public Accessor createFieldAccessor(Class bean, Field field, boolean readOnly)
createFieldAccessor in interface AccessorFactorybean - the class to be processed.field - the field within the class to be accessed.readOnly - the isStatic value of the field's modifier.JAXBException - reports failures of the method.public Accessor createFieldAccessor(Class bean, Field field, boolean readOnly, boolean supressWarning)
createFieldAccessor in interface InternalAccessorFactorybean - the class to be processed.field - the field within the class to be accessed.readOnly - the isStatic value of the field's modifier.supressWarning - supress security warning about accessing fields through reflectionJAXBException - reports failures of the method.public Accessor createPropertyAccessor(Class bean, Method getter, Method setter)
createPropertyAccessor in interface AccessorFactorybean - the class to be processedgetter - the getter method to be accessed. The value can be null.setter - the setter method to be accessed. The value can be null.JAXBException - reports failures of the method.Copyright © 2017 JBoss by Red Hat. All rights reserved.