org.ajax4jsf.builder.generator
Class ComponentGenerator

java.lang.Object
  extended by org.ajax4jsf.builder.generator.InnerGenerator
      extended by org.ajax4jsf.builder.generator.ComponentGenerator

public class ComponentGenerator
extends InnerGenerator

Class implement functionality for generate component java files inner element of JSFGeneratorTask use in ant build.xml : <jsfgenerator ... > .... <components ... /> .... </jsfgenerator> attributes: com.exadel.vcp.builder.ant.InnerGenerator

Version:
$Revision: 1.1.2.3 $ $Date: 2007/02/20 20:58:00 $
Author:
asmirnov@exadel.com (latest modification by $Author: ishabalov $)

Field Summary
 
Fields inherited from class org.ajax4jsf.builder.generator.InnerGenerator
_patterns
 
Constructor Summary
ComponentGenerator(JSFGeneratorConfiguration task, Logger log)
           
 
Method Summary
 void createFiles(BuilderConfig config)
          Generate concrete files.
protected  java.lang.String getDefaultTemplateName()
           
 
Methods inherited from class org.ajax4jsf.builder.generator.InnerGenerator
createExclude, createInclude, debug, getClassLoader, getConfig, getDestDir, getKey, getLog, getTemplate, getTemplateName, info, isIncludeComponent, setConfig, setDestDir, setExcludes, setIncludes, setTemplateName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentGenerator

public ComponentGenerator(JSFGeneratorConfiguration task,
                          Logger log)
Parameters:
task -
Method Detail

createFiles

public void createFiles(BuilderConfig config)
                 throws GeneratorException
Description copied from class: InnerGenerator
Generate concrete files.

Specified by:
createFiles in class InnerGenerator
Throws:
GeneratorException

getDefaultTemplateName

protected java.lang.String getDefaultTemplateName()
Specified by:
getDefaultTemplateName in class InnerGenerator
Returns:
default template name for this generator.


Copyright © 2009. All Rights Reserved.