Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mandarax.eca.example
Class GenerateKB  view GenerateKB download GenerateKB.java

java.lang.Object
  extended byorg.mandarax.eca.example.GenerateKB

public class GenerateKB
extends java.lang.Object

Generates the kb (as xml file) from a script.


Constructor Summary
GenerateKB()
           
 
Method Summary
private static JFunction createFunction(java.lang.String name, java.lang.Class clazz)
          Utility method to create a JFunction.
private static JFunction createFunction(java.lang.String name, java.lang.Class clazz, java.lang.Class clazz1)
          Utility method to create a JFunction.
private static JFunction createFunction(java.lang.String name, java.lang.Class clazz, java.lang.Class[] clazzes)
          Utility method to create a JFunction.
private static KnowledgeBase createKB()
          Create a knowledge base.
static void main(java.lang.String[] args)
          Generate the kb.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateKB

public GenerateKB()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Generate the kb.


createFunction

private static JFunction createFunction(java.lang.String name,
                                        java.lang.Class clazz)
Utility method to create a JFunction.


createFunction

private static JFunction createFunction(java.lang.String name,
                                        java.lang.Class clazz,
                                        java.lang.Class clazz1)
Utility method to create a JFunction.


createFunction

private static JFunction createFunction(java.lang.String name,
                                        java.lang.Class clazz,
                                        java.lang.Class[] clazzes)
Utility method to create a JFunction.


createKB

private static KnowledgeBase createKB()
Create a knowledge base.