xmlBlaster 2.2.0 API

Interface I_ReplaceContent

All Known Implementing Classes:
InitialUpdater, ReplSourceEngine

public interface I_ReplaceContent

Callback interface to replace a byte[], useful for example when publishing in stream mode where you need to modify each chunk.

Method Summary
 byte[] replace(byte[] oldContent, java.util.Map clientProperties)
          Replaces or modifies the oldcontent.

Method Detail


byte[] replace(byte[] oldContent,
               java.util.Map clientProperties)
Replaces or modifies the oldcontent. The returned instance can be the same as passed as the oldContent or it can be a new instance.

oldContent -
clientProperties - the map can either be used as attributes or it can be modified in this method.

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.