Class JAXBSetMethodAttributeAccessor

All Implemented Interfaces:
Serializable, Cloneable, CoreAttributeAccessor

public class JAXBSetMethodAttributeAccessor extends MethodAttributeAccessor
This accessor should be used when processing a class that uses method access, and a has set method but no get method. The get method is required during mapping initialization to determine the type of the set method's input parameter, and an exception will occur if none is present. Using this custom method accessor, the input parameter of the set method can be set (as a string) and loaded (using the provided classloader) during the initialization phase. Two methods are overridden to avoid exceptions due to lack of a get method: - initializeAttributes - getAttributeClass
See Also: