com.sun.xml.bind
public interface AccessorFactory
Method Summary | |
---|---|
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.
|
Parameters: bean the class to be processed. f the field within the class to be accessed. readOnly the isStatic value of the field's modifier.
Returns: Accessor the accessor for this field
Throws: JAXBException reports failures of the method.
Parameters: bean the class to be processed getter the getter method to be accessed. The value can be null. setter the setter method to be accessed. The value can be null.
Returns: Accessor the accessor for these methods
Throws: JAXBException reports failures of the method.