Top Description Methods
org.glassfish.jaxb.runtime

public Interface InternalAccessorFactory

extends AccessorFactory
Known Direct Implementers
org.glassfish.jaxb.runtime.AccessorFactoryImpl
Imports
org.glassfish.jaxb.runtime.v2.runtime.reflect.Accessor, jakarta.xml.bind.JAXBException, java.lang.reflect.Field

A means to allow the user to provide customized Accessor to be used by JAXB. Adds ability to suppress warnings.

Method Summary

Modifier and TypeMethod and Description
public Accessor<BeanT, ValueT>

Returns:

Accessor the accessor for this field
createFieldAccessor
(Class<T>
the class to be processed.
bean
,
Field
the field within the class to be accessed.
f
,
boolean
the isStatic value of the field's modifier.
readOnly
,
boolean
suppress reflection warnings
supressWarnings
)

Access a field of the class.

Inherited from org.glassfish.jaxb.runtime.AccessorFactory:
createFieldAccessorcreatePropertyAccessor

Method Detail

createFieldAccessorback to summary
public Accessor<BeanT, ValueT> createFieldAccessor(Class<T> bean, Field f, boolean readOnly, boolean supressWarnings) throws JAXBException

Access a field of the class.

Parameters
bean:Class<T>

the class to be processed.

f:Field

the field within the class to be accessed.

readOnly:boolean

the isStatic value of the field's modifier.

supressWarnings:boolean

suppress reflection warnings

Returns:Accessor<BeanT, ValueT>

Accessor the accessor for this field

Exceptions
JAXBException:
reports failures of the method.