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 Detail

      • createFieldAccessor

        Accessor createFieldAccessor​(Class bean,
                                     Field f,
                                     boolean readOnly,
                                     boolean supressWarnings)
                              throws 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:
        JAXBException - reports failures of the method.