Java Doc for ZKBDriver.java in  » Rule-Engine » Mandarax » org » mandarax » zkb » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Rule Engine » Mandarax » org.mandarax.zkb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.mandarax.zkb.ZKBDriver

All known Subclasses:   org.mandarax.zkb.framework.GenericDriver,
ZKBDriver
public interface ZKBDriver extends LogCategories(Code)
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


Field Summary
final public static  intEXTERNAL_DTD_REF
    
final public static  intINTERNAL_DTD_REF
    
final public static  intJUST_INCLUDE_DTD
    
final public static  intNO_DTD_REF
    


Method Summary
 DocumentexportKnowledgeBase(KnowledgeBase kb, ObjectPersistencyService ops)
     Export a knowledge base, i.e., convert it into an xml document.
 StringgetDescription()
     Get a short text describing the driver.
public  intgetDtdRefPolicy()
     Get the dtd reference policy.
 StringgetName()
     Get the name of the driver.
 StringgetURL4DTD()
     Get the location (URL) of the associated DTD.
 KnowledgeBaseimportKnowledgeBase(Document doc, ObjectPersistencyService ops)
     Import a knowledge base, i.e., build it from an xml document.
public  voidsetDtdRefPolicy(int dtdRefPolicy)
     Sets the dtd reference policy.
 booleansupportsAutoFacts()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports auto facts.
 booleansupportsClauseSets()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports clause sets.
 booleansupportsFacts()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports facts.
 booleansupportsFunctions()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports functions.
 booleansupportsJavaSemantics()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports the java semantics (e.g.
 booleansupportsMultiplePremises()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports multiple premises.
 booleansupportsOrPremises()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports multiple premises connected by OR.
 booleansupportsQueries()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports queries.
 booleansupportsTypes()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports types.

Field Detail
EXTERNAL_DTD_REF
final public static int EXTERNAL_DTD_REF(Code)



INTERNAL_DTD_REF
final public static int INTERNAL_DTD_REF(Code)



JUST_INCLUDE_DTD
final public static int JUST_INCLUDE_DTD(Code)



NO_DTD_REF
final public static int NO_DTD_REF(Code)





Method Detail
exportKnowledgeBase
Document exportKnowledgeBase(KnowledgeBase kb, ObjectPersistencyService ops) throws ZKBException(Code)
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



getDescription
String getDescription()(Code)
Get a short text describing the driver. a text



getDtdRefPolicy
public int getDtdRefPolicy()(Code)
Get the dtd reference policy. int



getName
String getName()(Code)
Get the name of the driver. a text



getURL4DTD
String getURL4DTD()(Code)
Get the location (URL) of the associated DTD. an url



importKnowledgeBase
KnowledgeBase importKnowledgeBase(Document doc, ObjectPersistencyService ops) throws ZKBException(Code)
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



supportsAutoFacts
boolean supportsAutoFacts()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports auto facts. a boolean



supportsClauseSets
boolean supportsClauseSets()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports clause sets. a boolean



supportsFacts
boolean supportsFacts()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports facts. (some formats might see facts as rules without body) a boolean



supportsFunctions
boolean supportsFunctions()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports functions. a boolean



supportsJavaSemantics
boolean supportsJavaSemantics()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports the java semantics (e.g. JFunctions, JPredicate). a boolean



supportsMultiplePremises
boolean supportsMultiplePremises()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports multiple premises. a boolean



supportsOrPremises
boolean supportsOrPremises()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports multiple premises connected by OR. a boolean



supportsQueries
boolean supportsQueries()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports queries. a boolean



supportsTypes
boolean supportsTypes()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports types. a boolean



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.