|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccessorFactory
A means to allow the user to provide customized Accessor to be used by JAXB.
| Method Summary | |
|---|---|
Accessor |
createFieldAccessor(java.lang.Class bean,
java.lang.reflect.Field f,
boolean readOnly)
Access a field of the class. |
Accessor |
createPropertyAccessor(java.lang.Class bean,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
Access a property of the class. |
| Method Detail |
|---|
Accessor createFieldAccessor(java.lang.Class bean,
java.lang.reflect.Field f,
boolean readOnly)
throws javax.xml.bind.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.
javax.xml.bind.JAXBException - reports failures of the method.
Accessor createPropertyAccessor(java.lang.Class bean,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
throws javax.xml.bind.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.
javax.xml.bind.JAXBException - reports failures of the method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||