com.sun.xml.bind
Interface InternalAccessorFactory
- All Superinterfaces:
- AccessorFactory
- All Known Implementing Classes:
- AccessorFactoryImpl
public interface InternalAccessorFactory
- extends AccessorFactory
A means to allow the user to provide customized Accessor
to be used by JAXB. Adds ability to suppress warnings.
Method Summary |
Accessor |
createFieldAccessor(java.lang.Class bean,
java.lang.reflect.Field f,
boolean readOnly,
boolean supressWarnings)
Access a field of the class. |
createFieldAccessor
Accessor createFieldAccessor(java.lang.Class bean,
java.lang.reflect.Field f,
boolean readOnly,
boolean supressWarnings)
throws javax.xml.bind.JAXBException
- Access a field 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.supressWarnings
- suppress reflection warnings
- Returns:
- Accessor the accessor for this field
- Throws:
javax.xml.bind.JAXBException
- reports failures of the method.