public class JAXBUnmarshalListener extends Object implements XMLUnmarshalListener
Purpose:Provide a wrapper for a JAXB 2.0 Unmarshal Listener that implements XMLUnmarshalListener
Responsibilities:
Marshaller.Listener,
XMLMarshalListener| Constructor and Description |
|---|
JAXBUnmarshalListener(Unmarshaller unmarshaller) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Object target,
Object parent)
Event that will be called after objects are unmarshalled.
|
void |
beforeUnmarshal(Object target,
Object parent)
Event that will be called before objects are unmarshalled.
|
Unmarshaller.Listener |
getListener() |
void |
setClassBasedUnmarshalEvents(Map events) |
void |
setListener(Unmarshaller.Listener jaxbListener) |
public JAXBUnmarshalListener(Unmarshaller unmarshaller)
public void setListener(Unmarshaller.Listener jaxbListener)
public Unmarshaller.Listener getListener()
public void beforeUnmarshal(Object target, Object parent)
Unmarshaller.ListenerbeforeUnmarshal in interface Unmarshaller.Listenertarget - 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.public void afterUnmarshal(Object target, Object parent)
Unmarshaller.ListenerafterUnmarshal in interface Unmarshaller.Listenertarget - the object that was unmarshalled.parent - the owning object of the object that was unmarshalled. This may be null.public void setClassBasedUnmarshalEvents(Map events)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference