Package org.castor.mapping
Class MappingUnmarshallListener
- java.lang.Object
-
- org.castor.mapping.MappingUnmarshallListener
-
- All Implemented Interfaces:
UnmarshalListener
public final class MappingUnmarshallListener extends java.lang.Object implements UnmarshalListener
An UnmarshalListener to handle mapping includes.- Version:
- $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Ralf Joachim
-
-
Constructor Summary
Constructors Constructor Description MappingUnmarshallListener(MappingUnmarshaller unmarshaller, Mapping mapping, DTDResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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).
-
-
-
Constructor Detail
-
MappingUnmarshallListener
public MappingUnmarshallListener(MappingUnmarshaller unmarshaller, Mapping mapping, DTDResolver resolver)
-
-
Method Detail
-
initialized
public void initialized(java.lang.Object target, java.lang.Object parent)
Not used for includes processing.- Specified by:
initialized
in interfaceUnmarshalListener
- Parameters:
target
- the Object that was initialized.parent
- the parent of the target that was initialized- See Also:
org.castor.xml.UnmarshalListener#initialized(java.lang.Object){@inheritDoc}
-
attributesProcessed
public void attributesProcessed(java.lang.Object target, java.lang.Object parent)
Not used for includes processing.- Specified by:
attributesProcessed
in interfaceUnmarshalListener
- Parameters:
target
- the Object the object being unmarshalled.parent
- the parent of the target being unmarshalled- See Also:
org.castor.xml.UnmarshalListener#attributesProcessed(java.lang.Object){@inheritDoc}
-
fieldAdded
public void fieldAdded(java.lang.String fieldName, java.lang.Object parent, java.lang.Object child)
Not used for includes processing.- Specified by:
fieldAdded
in interfaceUnmarshalListener
- Parameters:
fieldName
- The Name of the field the child is being added to.parent
- The Object being unmarshalled.child
- The Object that was just added.- See Also:
UnmarshalListener.fieldAdded(java.lang.String, java.lang.Object, java.lang.Object)
-
unmarshalled
public 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).- Specified by:
unmarshalled
in interfaceUnmarshalListener
- Parameters:
object
- the Object that was unmarshalled.- See Also:
org.castor.xml.UnmarshalListener#unmarshalled(java.lang.Object){@inheritDoc}
-
-