Java Doc for AbstractRuleMLDriver.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) 


java.lang.Object
   org.mandarax.xkb.AbstractXKBDriver
      org.mandarax.xkb.ruleml.AbstractRuleMLDriver

All known Subclasses:   org.mandarax.xkb.ruleml.RuleML0_8Driver,  org.mandarax.xkb.ruleml.RuleML0_8_1Driver,
AbstractRuleMLDriver
abstract class AbstractRuleMLDriver extends AbstractXKBDriver (Code)
Abstract superclass for ruleml drivers.
author:
   Jens Dietrich
version:
   3.4 <7 March 05>
since:
   1.9


Field Summary
final public static  StringAND
    
final public static  StringATOM
    
final public static  StringFACT
    
final public static  StringIMP
    
final public static  StringIND
    
final public static  StringREL
    
final public static  StringRULEBASE
    
final public static  StringVAR
    
final public static  String_BODY
    
final public static  String_HEAD
    
final public static  String_OPR
    

Constructor Summary
public  AbstractRuleMLDriver()
     Constructor.

Method Summary
protected  Elementexport(ConstantTerm ct)
     Export a constant term, e.g.
protected  Elementexport(Fact f)
     Export a fact, e.g.
abstract protected  Elementexport(KnowledgeBase kb)
     Export a knowledge base, e.g.
protected  Elementexport(Predicate p)
     Export a predicate, e.g.
protected  Elementexport(Rule r)
     Export a rule, e.g.
protected  Elementexport(VariableTerm v)
     Export a variable term, e.g.
protected  ElementexportFact2Atom(Fact f)
     Export a fact, e.g.
protected  ElementexportFact2Head(Fact f)
     Export a fact, e.g.
protected  ElementexportJavaObject(Object obj)
    
public  DocumentexportKnowledgeBase(KnowledgeBase kb)
     Export a knowledge base, i.e., convert it into an xml document.
public  StringgetDescription()
     Get a short text describing the driver.
protected  FactimportAtom(Element e)
     Import an atom.
protected  ListimportBody(Element e)
     Import a body.
protected  ConstantTermimportConstantTerm(Element e)
     Import a constant term.
protected  FactimportFact(Element e)
     Import a fact.
protected  FactimportHead(Element e)
     Import a head.
protected  ObjectimportJavaObject(Element e)
     Import a java object.
public  KnowledgeBaseimportKnowledgeBase(Document doc)
     Import a knowledge base, i.e., build it from an xml document.
abstract protected  KnowledgeBaseimportKnowledgeBase(Element e)
     Import a knowledge base.
protected  PredicateimportPredicate(Element e)
     Import a predicate.
protected  RuleimportRule(Element e)
     Import a rule.
protected  TermimportTerm(Element e)
     Import a term.

Field Detail
AND
final public static String AND(Code)



ATOM
final public static String ATOM(Code)



FACT
final public static String FACT(Code)



IMP
final public static String IMP(Code)



IND
final public static String IND(Code)



REL
final public static String REL(Code)



RULEBASE
final public static String RULEBASE(Code)



VAR
final public static String VAR(Code)



_BODY
final public static String _BODY(Code)



_HEAD
final public static String _HEAD(Code)



_OPR
final public static String _OPR(Code)




Constructor Detail
AbstractRuleMLDriver
public AbstractRuleMLDriver()(Code)
Constructor.




Method Detail
export
protected Element export(ConstantTerm ct)(Code)
Export a constant term, e.g. convert it into an xml element. an element (of the jdom tree)
Parameters:
  ct - a constant term



export
protected Element export(Fact f)(Code)
Export a fact, e.g. convert it into an xml element. an element (of the jdom tree)
Parameters:
  f - a fact



export
abstract 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



export
protected Element export(Predicate p)(Code)
Export a predicate, e.g. convert it into an xml element. an element (of the jdom tree)
Parameters:
  p - a predicate



export
protected Element export(Rule r)(Code)
Export a rule, e.g. convert it into an xml element. an element (of the jdom tree)
Parameters:
  r - a rule



export
protected Element export(VariableTerm v)(Code)
Export a variable term, e.g. convert it into an xml element. an element (of the jdom tree)
Parameters:
  v - a variable term



exportFact2Atom
protected Element exportFact2Atom(Fact f)(Code)
Export a fact, e.g. convert it into an xml element. an element (of the jdom tree)
Parameters:
  f - a fact



exportFact2Head
protected Element exportFact2Head(Fact f)(Code)
Export a fact, e.g. convert it into an xml element. an element (of the jdom tree)
Parameters:
  f - a fact



exportJavaObject
protected Element exportJavaObject(Object obj)(Code)
Export aan object an element (of the jdom tree)
Parameters:
  obj - an arbirtary object



exportKnowledgeBase
public Document exportKnowledgeBase(KnowledgeBase kb) throws XKBException(Code)
Export a knowledge base, i.e., convert it into an xml document. an xml document
Parameters:
  kb - a knowledge base
throws:
  an - XKBException is thrown if export fails



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



importAtom
protected Fact importAtom(Element e) throws XKBException(Code)
Import an atom. a fact
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



importBody
protected List importBody(Element e) throws XKBException(Code)
Import a body. a list
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



importConstantTerm
protected ConstantTerm importConstantTerm(Element e) throws XKBException(Code)
Import a constant term. a constant term
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



importFact
protected Fact importFact(Element e) throws XKBException(Code)
Import a fact. a fact
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



importHead
protected Fact importHead(Element e) throws XKBException(Code)
Import a head. a fact
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



importJavaObject
protected Object importJavaObject(Element e) throws XKBException(Code)
Import a java object. a constant term
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



importKnowledgeBase
public KnowledgeBase importKnowledgeBase(Document doc) throws XKBException(Code)
Import a knowledge base, i.e., build it from an xml document. a knowledge base
Parameters:
  doc - an xml document
throws:
  an - XKBException is thrown if import fails



importKnowledgeBase
abstract 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



importPredicate
protected Predicate importPredicate(Element e) throws XKBException(Code)
Import a predicate. a predicate
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



importRule
protected Rule importRule(Element e) throws XKBException(Code)
Import a rule. a rule
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



importTerm
protected Term importTerm(Element e) throws XKBException(Code)
Import a term. a term
Parameters:
  e - an xml element
throws:
  an - XKBException is thrown if import fails



Fields inherited from org.mandarax.xkb.AbstractXKBDriver
protected LogicFactory lfactory(Code)(Java Doc)

Methods inherited from org.mandarax.xkb.AbstractXKBDriver
protected List collectChildren(Element e, String name1, String name2)(Code)(Java Doc)
protected List collectChildren(Element e, String name1, String name2, String name3)(Code)(Java Doc)
protected boolean compare(String s1, String s2)(Code)(Java Doc)
protected int countChildren(Element e, String name)(Code)(Java Doc)
protected int countChildren(Element e, String name1, String name2)(Code)(Java Doc)
protected int countChildren(Element e, String name1, String name2, String name3)(Code)(Java Doc)
public String getName()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.