public interface UnmarshalListener
UnmarshalListener
.
The UnmarshalListener interface does not report on
native data types that are unmarshalled.
The first definition of this interface was by
Paul Christmann,
Keith Visco and
Arnaud Blandin.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 |
unmarshalled(Object target,
Object parent)
This method is called after an object
has been completely unmarshalled, including
all of its children (if any).
|
void initialized(Object target, Object parent)
target
- the Object that was initialized.parent
- the parent of the target that was initializedvoid attributesProcessed(Object target, Object parent)
target
- the Object the object being unmarshalled.parent
- the parent of the target being unmarshalledvoid fieldAdded(String fieldName, Object parent, 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.Copyright © 2022. All rights reserved.