JTools

net.jtools.tmpl.compiler
Class FactoryHelper

java.lang.Object
  extended by net.jtools.tmpl.compiler.FactoryHelper
Direct Known Subclasses:
TmplCompilerTask.AntFactoryHelper

public class FactoryHelper
extends Object


Constructor Summary
FactoryHelper()
           
 
Method Summary
 Compiler getCompiler()
           
 Class<? extends CompilerFactory> getCompilerFactory()
           
 String getCompilerFactoryID()
           
 org.jpattern.logging.LogFactory getLogFactory()
           
 Properties getProperties()
           
 PublisherConfig getPublisherConfig()
           
 String getTarget()
           
protected  CompilerFactory mappedCompilerFactory(String id)
           
protected  void mappedCompilerFactory(String id, CompilerFactory factory)
           
 void setCompilerFactory(Class<? extends CompilerFactory> factoryClass)
           
 void setCompilerFactoryID(String name)
           
 void setLogFactory(org.jpattern.logging.LogFactory logFactory)
           
 void setProperties(Properties properties)
           
 void setProperty(String key, String value)
           
 void setPublisherConfig(PublisherConfig publisherConfig)
           
 void setTarget(String target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryHelper

public FactoryHelper()
Method Detail

getCompiler

public Compiler getCompiler()
                     throws InstantiationException,
                            IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

getLogFactory

public org.jpattern.logging.LogFactory getLogFactory()

setLogFactory

public void setLogFactory(org.jpattern.logging.LogFactory logFactory)

mappedCompilerFactory

protected CompilerFactory mappedCompilerFactory(String id)

mappedCompilerFactory

protected void mappedCompilerFactory(String id,
                                     CompilerFactory factory)

getCompilerFactory

public Class<? extends CompilerFactory> getCompilerFactory()

getCompilerFactoryID

public String getCompilerFactoryID()

getPublisherConfig

public PublisherConfig getPublisherConfig()

getProperties

public Properties getProperties()

getTarget

public String getTarget()

setCompilerFactory

public void setCompilerFactory(Class<? extends CompilerFactory> factoryClass)

setCompilerFactoryID

public void setCompilerFactoryID(String name)

setPublisherConfig

public void setPublisherConfig(PublisherConfig publisherConfig)

setProperties

public void setProperties(Properties properties)

setProperty

public void setProperty(String key,
                        String value)

setTarget

public void setTarget(String target)

JTools

© 2000-2006, JTools.org.