#include <DbXml.hpp> void XmlManager::registerCompression(const char *name, XmlCompression &compression)
Identifies an XmlCompression instance to be used for document compression in whole document storage containers.
The name of the compression instance. This name is used to identify a compression instance when creating a container using the configuration value set by XmlContainerConfig::setCompressionName.
An instance of XmlCompression to be used to compress XML documents when they are inserted into the container, and decompress them when they are retrieved.
The XmlManager::registerCompression
method
may fail and throw
XmlException
, encapsulating one of the
following non-zero errors: