org.castor.mapping
public final class MappingUnmarshallListener extends java.lang.Object implements UnmarshalListener
Constructor and Description |
---|
MappingUnmarshallListener(MappingUnmarshaller unmarshaller,
Mapping mapping,
DTDResolver resolver) |
Modifier and Type | Method and Description |
---|---|
void |
attributesProcessed(java.lang.Object target,
java.lang.Object parent)
Not used for includes processing.
|
void |
fieldAdded(java.lang.String fieldName,
java.lang.Object parent,
java.lang.Object child)
Not used for includes processing.
|
void |
initialized(java.lang.Object target,
java.lang.Object parent)
Not used for includes processing.
|
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 MappingUnmarshallListener(MappingUnmarshaller unmarshaller, Mapping mapping, DTDResolver resolver)
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 initialized{@inheritDoc}
public 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 unmarshalled{@inheritDoc}
public void fieldAdded(java.lang.String fieldName, java.lang.Object parent, java.lang.Object 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.{@inheritDoc}
public void unmarshalled(java.lang.Object target, java.lang.Object parent)
unmarshalled
in interface UnmarshalListener
object
- the Object that was unmarshalled.{@inheritDoc}
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com