org.apache.commons.jelly.tags.antlr
Class AntlrTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.antlr.AntlrTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class AntlrTag
extends org.apache.commons.jelly.TagSupport


Field Summary
private  java.util.List grammars
           
private  java.io.File outputDir
           
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
AntlrTag()
           
 
Method Summary
(package private)  void addGrammar(java.lang.String grammar)
           
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Evaluate the body to register all the various goals and pre/post conditions then run all the current targets
protected  java.io.File getGeneratedFile(java.lang.String grammar)
           
 java.io.File getOutputDir()
           
 void setOutputDir(java.io.File outputDir)
           
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grammars

private java.util.List grammars

outputDir

private java.io.File outputDir
Constructor Detail

AntlrTag

public AntlrTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets

Throws:
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException

getGeneratedFile

protected java.io.File getGeneratedFile(java.lang.String grammar)
                                 throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException

addGrammar

void addGrammar(java.lang.String grammar)

setOutputDir

public void setOutputDir(java.io.File outputDir)

getOutputDir

public java.io.File getOutputDir()