Interface for zkb driver that can import / export knowledge bases from/to
xml data sources. XML data sources are represented by JDOM objects.
Similar to XKB drivers, but does not store objects in the XML but manages them
in a map that is stored separatly in a resource file. This is done by a delagate called Object Persistency Service.
The main xml file and the resource file plus additional meta information are then wrapped together in a zip archive.
author: Jens Dietrich version: 3.4 <7 March 05> since: 2.2 See Also:ObjectPersistencyService
Export a knowledge base, i.e., convert it into an xml document.
All encountered object references should be registered with the ops.
an xml document Parameters: kb - a knowledge base Parameters: ops - an object persistency service throws: an - ZKBException is thrown if export fails
Import a knowledge base, i.e., build it from an xml document.
a knowledge base Parameters: doc - an xml document Parameters: ops - the object persistency service throws: an - XKBException is thrown if import fails
setDtdRefPolicy
public void setDtdRefPolicy(int dtdRefPolicy)(Code)
Sets the dtd reference policy.
Parameters: dtdRefPolicy - The dtd reference policy to set