Public Member Functions

org.exolab.castor.xml.UnmarshalListener Interface Reference

Inheritance diagram for org.exolab.castor.xml.UnmarshalListener:
org.exolab.castor.mapping.Mapping.IncludeListener

List of all members.

Public Member Functions

void initialized (Object object)
void attributesProcessed (Object object)
void fieldAdded (String fieldName, Object parent, Object child)
void unmarshalled (Object object)

Detailed Description

An interface to allow external "listening" to objects when they are being unmarshalled for various tracking purposes and potential modification. An implementation of this interface may be registered with the Unmarshaller.

The UnmarshalListener interface does not report on native data types that are unmarshalled.

Author:
Paul Christmann
Keith Visco
Arnaud Blandin
Version:
Revision:
1.1.1.1

Member Function Documentation

void org.exolab.castor.xml.UnmarshalListener.attributesProcessed ( Object  object  ) 

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.

Parameters:
object the Object the object being unmarshalled.

Implemented in org.exolab.castor.mapping.Mapping.IncludeListener.

void org.exolab.castor.xml.UnmarshalListener.fieldAdded ( String  fieldName,
Object  parent,
Object  child 
)

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.

Parameters:
fieldName the Name of the field the child is being added to.
target the Object being unmarshalled.
child the Object that was just added.

Implemented in org.exolab.castor.mapping.Mapping.IncludeListener.

Referenced by org.exolab.castor.xml.UnmarshalHandler.endElement().

void org.exolab.castor.xml.UnmarshalListener.initialized ( Object  object  ) 

This method is called when an object has just been initialized by the Unmarshaller.

Parameters:
object the Object that was initialized.

Implemented in org.exolab.castor.mapping.Mapping.IncludeListener.

void org.exolab.castor.xml.UnmarshalListener.unmarshalled ( Object  object  ) 

This method is called after an object has been completely unmarshalled, including all of its children (if any).

Parameters:
object the Object that was unmarshalled.

Implemented in org.exolab.castor.mapping.Mapping.IncludeListener.

Referenced by org.exolab.castor.xml.UnmarshalHandler.endElement().


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties