io::zorba::api::xqj::ZorbaXQXmlDataManagerUsing the ZorbaXQXmlDataManager one can manage documents and collections. The ZorbaXQXmlDataManager is a singleton instance. The XQConnection object is reponsible for maintaining its lifetime. The instance can be accessed by calling getXmlDataManager() on the XQConnection object. It may not be accessed anymore after XQConnection is closed.Private Attributes
Protected Functions
Public Functions
Private Functions
Private Attributesclosedboolean closed
dmXmlDataManager dm
Protected FunctionsZorbaXQXmlDataManager ZorbaXQXmlDataManager(Zorba zorba)
Public Functionsclosevoid close() Close the XmlDataManager and release all the resources associated with this item. Close the XmlDataManager and release all the resources associated with this item. No method other than the isClosed or close method may be called once the XmlDataManager is closed. Calling close on an XmlDataManager object that is already closed has no effect. Parameters
getCollectionManagerZorbaXQCollectionManager 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.getW3CCollectionManagerZorbaXQCollectionManager 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.getXDMXmlDataManager getXDM()
isClosedboolean isClosed() Checks if the ZorbaXQXmlDataManager is closed. Checks if the ZorbaXQXmlDataManager is closed. Returnsboolean true if the ZorbaXQXmlDataManager is in a closed state, false otherwiseparseXMLZorbaXQSequence parseXML(String xmlText) Parse an XML document and return an ZorbaXQSequence.
Private FunctionsisClosedXQExceptionvoid isClosedXQException()
|