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 TypeMethodDescriptionvoidattributesProcessed(Object target, Object parent) Not used for includes processing.voidfieldAdded(String fieldName, Object parent, Object child) Not used for includes processing.voidinitialized(Object target, Object parent) Not used for includes processing.voidunmarshalled(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:
initializedin 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:
attributesProcessedin 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:
fieldAddedin 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:
unmarshalledin interfaceUnmarshalListener- Parameters:
target- the Object that was unmarshalled.parent- the parent of the target that was unmarshalledobject- the Object that was unmarshalled.- See Also:
-