|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnmarshalListener
An interface to allow external "listening" to objects when
they are being unmarshalled for various tracking purposes and
potential modification. An implementation of
this interface may be registered with the Unmarshaller.
This is already a new version of this interface with
enhanced callback methods. The orginial implementation still
exists but is deprecated UnmarshalListener
.
Method Summary | |
---|---|
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 |
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). |
Method Detail |
---|
void initialized(java.lang.Object target, java.lang.Object parent)
target
- the Object that was initialized.parent
- the parent of the target that was initializedvoid attributesProcessed(java.lang.Object target, java.lang.Object parent)
target
- the Object the object being unmarshalled.parent
- the parent of the target being unmarshalledvoid fieldAdded(java.lang.String fieldName, java.lang.Object parent, java.lang.Object child)
#unmarshalled(Object)
has
been called for the child.
fieldName
- The Name of the field the child is being added to.parent
- The Object being unmarshalled.child
- The Object that was just added.void unmarshalled(java.lang.Object target, java.lang.Object parent)
target
- the Object that was unmarshalled.parent
- the parent of the target that was unmarshalled
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |