EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jaxb
Class JAXBUnmarshalListener

java.lang.Object
  extended by org.eclipse.persistence.jaxb.JAXBUnmarshalListener
All Implemented Interfaces:
XMLUnmarshalListener

public class JAXBUnmarshalListener
extends java.lang.Object
implements XMLUnmarshalListener

INTERNAL:

Purpose:Provide a wrapper for a JAXB 2.0 Unmarshal Listener that implements XMLUnmarshalListener

Responsibilities:

See Also:
Marshaller.Listener, XMLMarshalListener
Author:
mmacivor
Since:
Oracle TopLink 11.1.1.0.0

Constructor Summary
JAXBUnmarshalListener(Unmarshaller unmarshaller)
           
 
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.
 Unmarshaller.Listener getListener()
           
 void setClassBasedUnmarshalEvents(java.util.Map events)
           
 void setListener(Unmarshaller.Listener jaxbListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBUnmarshalListener

public JAXBUnmarshalListener(Unmarshaller unmarshaller)
Method Detail

setListener

public void setListener(Unmarshaller.Listener jaxbListener)

getListener

public Unmarshaller.Listener getListener()

beforeUnmarshal

public void beforeUnmarshal(java.lang.Object target,
                            java.lang.Object parent)
Description copied from interface: XMLUnmarshalListener
Event that will be called before objects are unmarshalled.

Specified by:
beforeUnmarshal in interface XMLUnmarshalListener
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

public void afterUnmarshal(java.lang.Object target,
                           java.lang.Object parent)
Description copied from interface: XMLUnmarshalListener
Event that will be called after objects are unmarshalled.

Specified by:
afterUnmarshal in interface XMLUnmarshalListener
Parameters:
target - the object that was unmarshalled.
parent - the owning object of the object that was unmarshalled. This may be null.

setClassBasedUnmarshalEvents

public void setClassBasedUnmarshalEvents(java.util.Map events)

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference