XmlManager::registerCompression API Ref

#include <DbXml.hpp>

void XmlManager::registerCompression(const char *name, XmlCompression &compression)


Description: XmlManager::registerCompression

Identifies an XmlCompression instance to be used for document compression in whole document storage containers.

Parameters
name compression

The XmlCompression instance is owned by the application but it must remain valid throughout the lifetime of the XmlManager instance. The XmlCompression instance must be free-threaded and safe to use concurrently.


Errors

The XmlManager::registerCompression method may fail and throw XmlException, encapsulating one of the following non-zero errors:


INVALID_VALUE

APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.