- java.lang.Object
-
- org.glassfish.jaxb.runtime.AccessorFactoryImpl
-
- All Implemented Interfaces:
AccessorFactory
,InternalAccessorFactory
public class AccessorFactoryImpl extends Object implements InternalAccessorFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getInstance
public static AccessorFactoryImpl getInstance()
-
createFieldAccessor
public Accessor createFieldAccessor(Class bean, Field field, boolean readOnly)
Access a field of the class.- Specified by:
createFieldAccessor
in interfaceAccessorFactory
- Parameters:
bean
- the class to be processed.field
- the field within the class to be accessed.readOnly
- the isStatic value of the field's modifier.- Returns:
- Accessor the accessor for this field
-
createFieldAccessor
public Accessor createFieldAccessor(Class bean, Field field, boolean readOnly, boolean supressWarning)
Access a field of the class.- Specified by:
createFieldAccessor
in interfaceInternalAccessorFactory
- Parameters:
bean
- 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 reflection- Returns:
- Accessor the accessor for this field
-
createPropertyAccessor
public Accessor createPropertyAccessor(Class bean, Method getter, Method setter)
Access a property of the class.- Specified by:
createPropertyAccessor
in interfaceAccessorFactory
- Parameters:
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.- Returns:
- Accessor the accessor for these methods
-
-