net.sf.parser4j.generator.service
Class GrammarToTextFile

java.lang.Object
  extended by net.sf.parser4j.kernelgenerator.service.grammarnode.AbstractGrammarNodeVisitor
      extended by net.sf.parser4j.generator.service.GrammarToTextFile
All Implemented Interfaces:
IGrammarNodeVisitor

public final class GrammarToTextFile
extends AbstractGrammarNodeVisitor

output grammar to text file

Author:
luc peuvrier

Method Summary
protected  void beginVisitImpl(IGrammarNode grammarNode)
           
protected  void endVisitImpl(IGrammarNode grammarNode)
           
 void generateTextFile(IGrammarNode rootGrammarNode, java.io.File textFile)
           
static GrammarToTextFile getInstance()
           
protected  void visitImpl(IGrammarNode grammarNode)
           
 
Methods inherited from class net.sf.parser4j.kernelgenerator.service.grammarnode.AbstractGrammarNodeVisitor
beginVisit, close, endVisit, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GrammarToTextFile getInstance()

generateTextFile

public void generateTextFile(IGrammarNode rootGrammarNode,
                             java.io.File textFile)
                      throws GeneratorException
Throws:
GeneratorException

beginVisitImpl

protected void beginVisitImpl(IGrammarNode grammarNode)
                       throws GrammarNodeVisitException
Specified by:
beginVisitImpl in class AbstractGrammarNodeVisitor
Throws:
GrammarNodeVisitException

endVisitImpl

protected void endVisitImpl(IGrammarNode grammarNode)
                     throws GrammarNodeVisitException
Specified by:
endVisitImpl in class AbstractGrammarNodeVisitor
Throws:
GrammarNodeVisitException

visitImpl

protected void visitImpl(IGrammarNode grammarNode)
                  throws GrammarNodeVisitException
Specified by:
visitImpl in class AbstractGrammarNodeVisitor
Throws:
GrammarNodeVisitException


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