org.openanzo.jastor
Class JastorGenerator

java.lang.Object
  extended by org.openanzo.jastor.JastorGenerator

public class JastorGenerator
extends java.lang.Object

For a given JastorContext, generate code for the elements within the ontology

Author:
Ben Szekely ( bhszekel@us.ibm.com )

Constructor Summary
JastorGenerator(java.io.File outputDir, JastorContext ctx)
          Create a new JastorGenerator for the given context
 
Method Summary
 void run()
          Run the generatrion of code
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JastorGenerator

public JastorGenerator(java.io.File outputDir,
                       JastorContext ctx)
Create a new JastorGenerator for the given context

Parameters:
outputDir - directory where generated files should be saved
ctx - context
Method Detail

run

public void run()
         throws JastorException
Run the generatrion of code

Throws:
JastorException


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.