Package org.castor.mapping
Class MappingUnmarshallListener
java.lang.Object
org.castor.mapping.MappingUnmarshallListener
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionMappingUnmarshallListener
(MappingUnmarshaller unmarshaller, Mapping mapping, DTDResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attributesProcessed
(Object target, Object parent) Not used for includes processing.void
fieldAdded
(String fieldName, Object parent, Object child) Not used for includes processing.void
initialized
(Object target, Object parent) Not used for includes processing.void
unmarshalled
(Object target, Object parent) This method is called after an object has been completely unmarshalled, including all of its children (if any).
-
Constructor Details
-
MappingUnmarshallListener
public MappingUnmarshallListener(MappingUnmarshaller unmarshaller, Mapping mapping, DTDResolver resolver)
-
-
Method Details
-
initialized
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:
-
attributesProcessed
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:
-
fieldAdded
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:
-
unmarshalled
This method is called after an object has been completely unmarshalled, including all of its children (if any).- Specified by:
unmarshalled
in interfaceUnmarshalListener
- Parameters:
target
- the Object that was unmarshalled.parent
- the parent of the target that was unmarshalledobject
- the Object that was unmarshalled.- See Also:
-