|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.AccessorFactoryImpl
public class AccessorFactoryImpl
Method Summary | |
---|---|
Accessor |
createFieldAccessor(java.lang.Class bean,
java.lang.reflect.Field field,
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. |
static AccessorFactoryImpl |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AccessorFactoryImpl getInstance()
public Accessor createFieldAccessor(java.lang.Class bean, java.lang.reflect.Field field, boolean readOnly)
createFieldAccessor
in interface AccessorFactory
bean
- the class to be processed.field
- 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.public Accessor createPropertyAccessor(java.lang.Class bean, java.lang.reflect.Method getter, java.lang.reflect.Method setter)
createPropertyAccessor
in interface AccessorFactory
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 |