As far a possible, implementations should provide a kind of transaction or buffering of data written to the source. This is especially important in stream-based systems such as Cocoon where an error that occurs during the processing should lead to cancelling data written to the source.
This is the role of the {@link #canCancel(OutputStream)} and{@link #cancel(OutputStream)} methods. @author Avalon Development Team @version CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:26 $
|
|