21 #ifndef BATCHXMLFILESTORAGE_H
22 #define BATCHXMLFILESTORAGE_H
24 #include "../BatchStorageBase.h"
26 #include "../../XSLT/XSLTFilter.h"
49 void open(
const string& storageId, ios_base::openmode openMode );
52 void close(
const string& storageId );
58 long size()
const {
return 0; }
64 string getSerializedXml()
const;
66 void setSerializedXml(
const string& document );
67 void setSerializedXml(
const unsigned char * document,
const unsigned long size );
76 string getXslt()
const {
return m_XsltFileName; }
77 void setXslt(
const string& xsltFile ) { m_XsltFileName = xsltFile; }
83 void setXPath(
const string& xpath ) { m_XPath = xpath; }
87 void setXPathCallback(
string ( *xPathCallback )(
const string& itemNamespace ) )
89 m_XPathCallback = xPathCallback;
112 string ( *m_XPathCallback )(
const string& itemNamespace );
114 vector< string > getXPath(
const string& itemNamespace );
118 #endif // BATCHXMLFILESTORAGE_H