Home » Castor-1.3-src » org.exolab.castor » xml » [javadoc | source]
org.exolab.castor.xml
public interface: UnmarshalListener [javadoc | source] Deprecated! a - new extended interface was introduced

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.

This iterface was deprecated with Castor 1.2.1 and should no longer be used! Please use the replacing interface:

Method from org.exolab.castor.xml.UnmarshalListener Summary:
attributesProcessed,   fieldAdded,   initialized,   unmarshalled
Method from org.exolab.castor.xml.UnmarshalListener Detail:
 public  void attributesProcessed(Object object)       Deprecated!
    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.
 public  void fieldAdded(String fieldName,
    Object parent,
    Object child)       Deprecated!
    This method is called after a child object has been added during the unmarshalling. This method will be called after #unmarshalled(Object) has been called for the child.
 public  void initialized(Object object)       Deprecated!
    This method is called when an object has just been initialized by the Unmarshaller.
 public  void unmarshalled(Object object)       Deprecated!
    This method is called after an object has been completely unmarshalled, including all of its children (if any).