net.sf.parser4j.generator.service
Class GrammarTreeFactory

java.lang.Object
  extended by net.sf.parser4j.generator.service.GrammarTreeFactory

public final class GrammarTreeFactory
extends java.lang.Object

create grammar tree from root data node

Author:
luc peuvrier

Method Summary
 GrammarTreeFactoryData createGrammar(IGrammarDefNode rootData)
          create grammar tree
static GrammarTreeFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GrammarTreeFactory getInstance()

createGrammar

public GrammarTreeFactoryData createGrammar(IGrammarDefNode rootData)
                                     throws GeneratorException
create grammar tree

Parameters:
rootData - root data node of grammar definition text file parsing
Returns:
Throws:
GeneratorException


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.