EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.oxm
Interface XMLUnmarshalListener

All Known Implementing Classes:
JAXBUnmarshalListener, SDOCSUnmarshalListener, SDOUnmarshalListener

public interface XMLUnmarshalListener

An implementation of XMLUnmarshalListener can be set on an XMLUnmarshaller to provide additional behaviour during unmarshal operations.


Method Summary
 void afterUnmarshal(java.lang.Object target, java.lang.Object parent)
          Event that will be called after objects are unmarshalled.
 void beforeUnmarshal(java.lang.Object target, java.lang.Object parent)
          Event that will be called before objects are unmarshalled.
 

Method Detail

beforeUnmarshal

void beforeUnmarshal(java.lang.Object target,
                     java.lang.Object parent)
Event that will be called before objects are unmarshalled.

Parameters:
target - A newly created instance of the object to be unmarshalled.
parent - the owning object of the object that will be unmarshalled. This may be null.

afterUnmarshal

void afterUnmarshal(java.lang.Object target,
                    java.lang.Object parent)
Event that will be called after objects are unmarshalled.

Parameters:
target - the object that was unmarshalled.
parent - the owning object of the object that was unmarshalled. This may be null.

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference