org.exolab.castor.xml
Interface MarshalListener
public interface MarshalListener
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.
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:12 $ void | postMarshal(Object object) - This method is called after an object
has been marshalled.
|
boolean | preMarshal(Object object) - This method is called before an object
is to be marshalled.
|
postMarshal
public void 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.
object
- the Object that was marshalled.
preMarshal
public boolean preMarshal(Object object)
This method is called before an object
is to be marshalled.
object
- the Object about to be marshalled.
- false if the object should not be
marshalled.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com