All Known Implementing Classes:
IdLookupGeneratorPostProcessor, ReflectiveAssociationPostProcessor

public interface ModelPostProcessor
  • Method Details

    • getClassToHandle

      Class<?> getClassToHandle()
    • afterUnmarshalling

      void afterUnmarshalling(Object target, Object parent)
      Called during the unmarshalling the JAXB unmarshalling process, after the unmarshalling of target has been completed. IDREF relations are not yet initialized at this point of the unmarshalling process.
      Parameters:
      target - non-null instance of JAXB mapped class prior to unmarshalling into it.
      parent - instance of JAXB mapped class that will reference target. null when target is root element.
      See Also:
      • Unmarshaller.Listener.afterUnmarshal(Object, Object)
    • afterUnmarshallingCompleted

      void afterUnmarshallingCompleted(Object target)
      Called after the unmarshalling process of the whole model has been completed.
      Parameters:
      target - the object co call
    • clearState

      void clearState()
      Clear the state of the ModelPostProcessor to allow garbage collection and reuse during multiple unmarshallings.