org.castor.mapping
Class MappingUnmarshallListener

java.lang.Object
  extended by 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
MappingUnmarshallListener(MappingUnmarshaller unmarshaller, Mapping mapping, DTDResolver resolver)
           
 
Method Summary
 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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface UnmarshalListener
Parameters:
target - the Object that was initialized.
parent - the parent of the target that was initialized
See Also:
{@inheritDoc}

attributesProcessed

public void attributesProcessed(java.lang.Object target,
                                java.lang.Object parent)
Not used for includes processing.

Specified by:
attributesProcessed in interface UnmarshalListener
Parameters:
target - the Object the object being unmarshalled.
parent - the parent of the target being unmarshalled
See Also:
{@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 interface UnmarshalListener
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:
{@inheritDoc}

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 interface UnmarshalListener
Parameters:
object - the Object that was unmarshalled.
See Also:
{@inheritDoc}


Copyright © 2011. All Rights Reserved.