Java Doc for RuleML0_8_1Driver.java in  » Rule-Engine » Mandarax » org » mandarax » xkb » ruleml » 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.xkb.ruleml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.mandarax.xkb.ruleml.AbstractRuleMLDriver
   org.mandarax.xkb.ruleml.RuleML0_8_1Driver

RuleML0_8_1Driver
public class RuleML0_8_1Driver extends AbstractRuleMLDriver (Code)
Driver implementation for the RULE ML version 0.8.1. New (comp to 0.8) is support for queries. Labels (<_rbaselab> and <_rlab>) are accepted but more or less ignored (mandarax does not support them). Only for queries, the _rlab tag is used to store the common query name.
author:
   Jens Dietrich
version:
   3.4 <7 March 05>
since:
   1.9


Field Summary
final public static  StringQUERY
    
final public static  String_RBASELAB
    
final public static  String_RLAB
    

Constructor Summary
public  RuleML0_8_1Driver()
     Constructor.

Method Summary
protected  Elementexport(KnowledgeBase kb)
     Export a knowledge base, e.g.
public  StringgetDTD()
     Get the location (URL) of the associated DTD.
public  StringgetDescription()
     Get a short text describing the driver.
public  StringgetName()
     Get the name of the driver.
protected  KnowledgeBaseimportKnowledgeBase(Element e)
     Import a knowledge base.
public  booleansupportsAutoFacts()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports auto facts.
public  booleansupportsClauseSets()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports clause sets.
public  booleansupportsFacts()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports facts.
public  booleansupportsFunctions()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports functions.
public  booleansupportsJavaSemantics()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports the java semantics (e.g.
public  booleansupportsMultiplePremises()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports multiple premises.
public  booleansupportsNegationAsFailure()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports negation as failure.
public  booleansupportsOrPremises()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports multiple premises connected by OR.
public  booleansupportsQueries()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports queries.
public  booleansupportsTypes()
     Indicates whether the driver (and the underlying xml format (=dtd)) supports types.

Field Detail
QUERY
final public static String QUERY(Code)



_RBASELAB
final public static String _RBASELAB(Code)



_RLAB
final public static String _RLAB(Code)




Constructor Detail
RuleML0_8_1Driver
public RuleML0_8_1Driver()(Code)
Constructor.




Method Detail
export
protected Element export(KnowledgeBase kb)(Code)
Export a knowledge base, e.g. convert it into an xml element. an element (of the jdom tree)
Parameters:
  kb - a knowledge base



getDTD
public String getDTD()(Code)
Get the location (URL) of the associated DTD. a text



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



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



importKnowledgeBase
protected KnowledgeBase importKnowledgeBase(Element e) throws XKBException(Code)
Import a knowledge base. a knowledge base
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



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



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



supportsFacts
public 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
public boolean supportsFunctions()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports functions. a boolean



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



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



supportsNegationAsFailure
public boolean supportsNegationAsFailure()(Code)
Indicates whether the driver (and the underlying xml format (=dtd)) supports negation as failure. a boolean



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



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



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



Fields inherited from org.mandarax.xkb.ruleml.AbstractRuleMLDriver
final public static String AND(Code)(Java Doc)
final public static String ATOM(Code)(Java Doc)
final public static String FACT(Code)(Java Doc)
final public static String IMP(Code)(Java Doc)
final public static String IND(Code)(Java Doc)
final public static String REL(Code)(Java Doc)
final public static String RULEBASE(Code)(Java Doc)
final public static String VAR(Code)(Java Doc)
final public static String _BODY(Code)(Java Doc)
final public static String _HEAD(Code)(Java Doc)
final public static String _OPR(Code)(Java Doc)

Methods inherited from org.mandarax.xkb.ruleml.AbstractRuleMLDriver
protected Element export(ConstantTerm ct)(Code)(Java Doc)
protected Element export(Fact f)(Code)(Java Doc)
abstract protected Element export(KnowledgeBase kb)(Code)(Java Doc)
protected Element export(Predicate p)(Code)(Java Doc)
protected Element export(Rule r)(Code)(Java Doc)
protected Element export(VariableTerm v)(Code)(Java Doc)
protected Element exportFact2Atom(Fact f)(Code)(Java Doc)
protected Element exportFact2Head(Fact f)(Code)(Java Doc)
protected Element exportJavaObject(Object obj)(Code)(Java Doc)
public Document exportKnowledgeBase(KnowledgeBase kb) throws XKBException(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
protected Fact importAtom(Element e) throws XKBException(Code)(Java Doc)
protected List importBody(Element e) throws XKBException(Code)(Java Doc)
protected ConstantTerm importConstantTerm(Element e) throws XKBException(Code)(Java Doc)
protected Fact importFact(Element e) throws XKBException(Code)(Java Doc)
protected Fact importHead(Element e) throws XKBException(Code)(Java Doc)
protected Object importJavaObject(Element e) throws XKBException(Code)(Java Doc)
public KnowledgeBase importKnowledgeBase(Document doc) throws XKBException(Code)(Java Doc)
abstract protected KnowledgeBase importKnowledgeBase(Element e) throws XKBException(Code)(Java Doc)
protected Predicate importPredicate(Element e) throws XKBException(Code)(Java Doc)
protected Rule importRule(Element e) throws XKBException(Code)(Java Doc)
protected Term importTerm(Element e) throws XKBException(Code)(Java Doc)

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