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

Quick Search    Search Deep

org.esau.ptarmigan
Class GeneratorFactory  view GeneratorFactory download GeneratorFactory.java

java.lang.Object
  extended byorg.esau.ptarmigan.GeneratorFactory

public class GeneratorFactory
extends java.lang.Object

Generator Factory

Loads the default Generator implementation via Jakarta Commons Discovery.

See the Generator inteface for usage.

Eventually this will be expanded to support:

TODO: add DiscoverClass when jakarta.commons.discovery supports multiple for use with ByteStreamSource, CharacterStreamSource, etc.

Version:
$Revision: 1.1 $ $Date: 2002/09/10 06:24:34 $

Constructor Summary
GeneratorFactory()
           
 
Method Summary
static Generator newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorFactory

public GeneratorFactory()
Method Detail

newInstance

public static Generator newInstance()
                             throws java.lang.InstantiationException,
                                    java.lang.IllegalAccessException