#include <DbXml.hpp> XmlCompression::XmlCompression() virtual XmlCompression::~XmlCompression()
XmlCompression
is a base class for
implementations of custom compression for a container. Compression
is only used by whole document storage containers. To use customized
compression the implementation must be registered with the
XmlManager
using
XmlManager::registerCompression and the container must be created by
passing an
XmlContainerConfig
object to
XmlManager::createContainer that includes the name under which the
instance was registered. Compression is a persistent attribute of a
container. A container created with custom compression requires that
the same named compression instance be registered with the
XmlManager
or any attempt to open the
container will fail.
XmlCompression
instances must be free-threaded
and safe to use concurrently.