public class UnmarshalListenerAdapter extends Object implements UnmarshalListener
| Constructor and Description |
|---|
UnmarshalListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
attributesProcessed(Object target,
Object parent)
This method is called once the attributes have been processed.
|
void |
fieldAdded(String fieldName,
Object parent,
Object child)
This method is called after a child object has been added during the unmarshalling.
|
void |
initialized(Object target,
Object parent)
This method is called when an object has just been initialized by the
Unmarshaller. |
void |
setOldListener(UnmarshalListener exolabListener)
To set an 'old style' unmarshal listener to receive the callback calls.
|
void |
unmarshalled(Object target,
Object parent)
This method is called after an object has been completely unmarshalled, including all of its
children (if any).
|
public void setOldListener(UnmarshalListener exolabListener)
exolabListener - the 'old style' unmarshal listenerpublic void attributesProcessed(Object target, Object parent)
UnmarshalListenerattributesProcessed in interface UnmarshalListenertarget - the Object the object being unmarshalled.parent - the parent of the target being unmarshalledpublic void fieldAdded(String fieldName, Object parent, Object child)
UnmarshalListener#unmarshalled(Object) has been called for the child.fieldAdded in interface UnmarshalListenerfieldName - The Name of the field the child is being added to.parent - The Object being unmarshalled.child - The Object that was just added.public void initialized(Object target, Object parent)
UnmarshalListenerUnmarshaller.initialized in interface UnmarshalListenertarget - the Object that was initialized.parent - the parent of the target that was initializedpublic void unmarshalled(Object target, Object parent)
UnmarshalListenerunmarshalled in interface UnmarshalListenertarget - the Object that was unmarshalled.parent - the parent of the target that was unmarshalledCopyright © 2016. All rights reserved.