Public Member Functions

org.exolab.castor.xml.MarshalListener Interface Reference

List of all members.

Public Member Functions

boolean preMarshal (Object object)
void postMarshal (Object object)

Detailed Description

An interface to allow external "listening" to objects when they are being marshalled for various tracking purposes and potential modification, and to prevent an object from being marshalled if necessary. An implementation of this interface may be registered with the Marshaller.

Author:
Keith Visco
Jeff Norris
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:12

Member Function Documentation

void org.exolab.castor.xml.MarshalListener.postMarshal ( Object  object  ) 

This method is called after an object has been marshalled. If preMarshal returned false for a given Object, this method will not be called for that Object as marshalling will not take place.

Parameters:
object the Object that was marshalled.
boolean org.exolab.castor.xml.MarshalListener.preMarshal ( Object  object  ) 

This method is called before an object is to be marshalled.

Parameters:
object the Object about to be marshalled.
Returns:
false if the object should not be marshalled.

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