XmlDataManager#include </home/jenkins/.jenkins/ubuntu-remote-queue/jenkins-BuildZorbaUbuntu-462/source/zorba/swig/XmlDataManager.h> Using the XmlDataManager one can manage documents and collections. The XmlDataManager is a singleton instance. The Zorba object is reponsible for maintaining its lifetime. The instance can be accessed by calling getXmlDataManager() on the Zorba object. It may not be accessed anymore after Zorba::shutdown() has been called.XmlDataManager is a thread-safe class.Private Attributes
Public Functions
Private AttributestheManagerzorba::XmlDataManager_t theManager
Public FunctionsgetCollectionManagerCollectionManager getCollectionManager() Returns a CollectionManager responsible for all collections. The collection manager provides a set of functions for managing collections identified by a QName and their contents.Please note that the resulting manager is only responsible for dynamic collections identified by a QName, i.e. those that are not declared in the prolog of a module or identified by a URI. ReturnsThe collection manager responsible for managing collections.getDocumentManagerDocumentManager getDocumentManager() getW3CCollectionManagerCollectionManager getW3CCollectionManager() Returns a CollectionManager responsible for collections identified by a URI. The collection manager provides a set of functions for managing collections identified by a URI and their contents.Please note that the resulting manager is only responsible for dynamic collections identified by a URI, i.e. those that are not declared in the prolog of a module or identified by a QName. ReturnsThe collection manager responsible for managing collections.parseXMLIterator parseXML(const std::string &aDoc) Parse an XML document and return an Iterator.
Parameters
parseXMLtoItemItem parseXMLtoItem(const std::string &aDoc) Parse an XML document and return an Item.
Parameters
parseXMLtoItemItem parseXMLtoItem(ZorbaIOStream &aStream) Parse an XML stream and return an Item.
Parameters
XmlDataManager XmlDataManager(const XmlDataManager &aMgr)
XmlDataManager XmlDataManager(zorba::XmlDataManager_t aMgr)
|