org.exolab.castor.mapping
Class Mapping.IncludeListener

java.lang.Object
  extended by org.exolab.castor.mapping.Mapping.IncludeListener
All Implemented Interfaces:
UnmarshalListener
Enclosing class:
Mapping

 class Mapping.IncludeListener
extends java.lang.Object
implements UnmarshalListener

An UnmarshalListener to handle mapping includes


Constructor Summary
Mapping.IncludeListener()
           
 
Method Summary
 void attributesProcessed(java.lang.Object object)
          This method is called once the attributes have been processed.
 void fieldAdded(java.lang.String fieldName, java.lang.Object parent, java.lang.Object child)
          This method is called after a child object has been added during the unmarshalling.
 void initialized(java.lang.Object object)
          This method is called when an object has just been initialized by the Unmarshaller.
 void unmarshalled(java.lang.Object object)
          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

Mapping.IncludeListener

Mapping.IncludeListener()
Method Detail

initialized

public void initialized(java.lang.Object object)
Description copied from interface: UnmarshalListener
This method is called when an object has just been initialized by the Unmarshaller.

Specified by:
initialized in interface UnmarshalListener
Parameters:
object - the Object that was initialized.

attributesProcessed

public void attributesProcessed(java.lang.Object object)
Description copied from interface: UnmarshalListener
This method is called once the attributes have been processed. It indicates that the the fields of the given object corresponding to attributes in the XML document have been set.

Specified by:
attributesProcessed in interface UnmarshalListener
Parameters:
object - the Object the object being unmarshalled.

fieldAdded

public void fieldAdded(java.lang.String fieldName,
                       java.lang.Object parent,
                       java.lang.Object child)
Description copied from interface: UnmarshalListener
This method is called after a child object has been added during the unmarshalling. This method will be called after unmarshalled has been called for the child.

Specified by:
fieldAdded in interface UnmarshalListener
Parameters:
fieldName - the Name of the field the child is being added to.
child - the Object that was just added.

unmarshalled

public void unmarshalled(java.lang.Object object)
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.


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com