com.sun.xml.bind

Interface InternalAccessorFactory

public interface InternalAccessorFactory extends AccessorFactory

A means to allow the user to provide customized Accessor to be used by JAXB. Adds ability to supress warnings.
Method Summary
AccessorcreateFieldAccessor(Class bean, Field f, boolean readOnly, boolean supressWarnings)
Access a field of the class.

Method Detail

createFieldAccessor

public Accessor createFieldAccessor(Class bean, Field f, boolean readOnly, boolean supressWarnings)
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 supress reflection warnings

Returns: Accessor the accessor for this field

Throws: JAXBException reports failures of the method.