public interface AccessorFactory
Modifier and Type | Method and Description |
---|---|
Accessor |
createFieldAccessor(Class bean,
Field f,
boolean readOnly)
Access a field of the class.
|
Accessor |
createPropertyAccessor(Class bean,
Method getter,
Method setter)
Access a property of the class.
|
Accessor createFieldAccessor(Class bean, Field f, boolean readOnly) throws JAXBException
bean
- the class to be processed.f
- the field within the class to be accessed.readOnly
- the isStatic value of the field's modifier.JAXBException
- reports failures of the method.Accessor createPropertyAccessor(Class bean, Method getter, Method setter) throws JAXBException
bean
- 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 © 2019 JBoss by Red Hat. All rights reserved.