UnmarshalListener
public class UnmarshalListenerAdapter extends java.lang.Object implements UnmarshalListener
Constructor | Description |
---|---|
UnmarshalListenerAdapter() |
Empty default constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
attributesProcessed(java.lang.Object target,
java.lang.Object parent) |
This method is called once the attributes have been processed.
|
void |
fieldAdded(java.lang.String fieldName,
java.lang.Object parent,
java.lang.Object child) |
This method is called after a child object has been added during the
unmarshalling.
|
void |
initialized(java.lang.Object target,
java.lang.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(java.lang.Object target,
java.lang.Object parent) |
This method is called after an object
has been completely unmarshalled, including
all of its children (if any).
|
public UnmarshalListenerAdapter()
public void setOldListener(UnmarshalListener exolabListener)
exolabListener
- the 'old style' unmarshal listenerpublic void attributesProcessed(java.lang.Object target, java.lang.Object parent)
attributesProcessed
in interface UnmarshalListener
target
- the Object the object being unmarshalled.parent
- the parent of the target being unmarshalledUnmarshalListener.attributesProcessed(java.lang.Object, java.lang.Object)
public void fieldAdded(java.lang.String fieldName, java.lang.Object parent, java.lang.Object child)
#unmarshalled(Object)
has
been called for the child.fieldAdded
in interface UnmarshalListener
fieldName
- The Name of the field the child is being added to.parent
- The Object being unmarshalled.child
- The Object that was just added.UnmarshalListener.fieldAdded(java.lang.String, java.lang.Object, java.lang.Object)
public void initialized(java.lang.Object target, java.lang.Object parent)
initialized
in interface UnmarshalListener
target
- the Object that was initialized.parent
- the parent of the target that was initializedUnmarshalListener.initialized(java.lang.Object, java.lang.Object)
public void unmarshalled(java.lang.Object target, java.lang.Object parent)
unmarshalled
in interface UnmarshalListener
target
- the Object that was unmarshalled.parent
- the parent of the target that was unmarshalledUnmarshalListener.unmarshalled(java.lang.Object, java.lang.Object)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com