org.ajax4jsf.templatecompiler.ant
Class AntCompilationContext

java.lang.Object
  extended by org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext
      extended by org.ajax4jsf.templatecompiler.ant.AntCompilationContext
All Implemented Interfaces:
CompilationContext

public class AntCompilationContext
extends AbstractCompilationContext

Author:
shura

Constructor Summary
AntCompilationContext(TemplateCompilerTask task, java.lang.ClassLoader loader)
           
 
Method Summary
 void debug(java.lang.String content)
           
 void debug(java.lang.String content, java.lang.Throwable error)
           
 void error(java.lang.String content)
           
 void error(java.lang.String content, java.lang.Throwable error)
           
 org.apache.velocity.Template getTemplate(java.lang.String name)
           
 void info(java.lang.String content)
           
 void info(java.lang.String content, java.lang.Throwable error)
           
 void warn(java.lang.String content)
           
 void warn(java.lang.String content, java.lang.Throwable error)
           
 
Methods inherited from class org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext
addElementsFactory, addToDeclaration, addToImport, addVariable, addVariable, addVariable, containsVariable, getBaseclassName, getBaseclassPackageName, getClassLoader, getClassName, getComponentClass, getComponentFileName, getDeclarations, getEncodeBegin, getEncodeChild, getEncodeEnd, getFullBaseclass, getFullClassName, getImports, getMethodReturnedClass, getPackageName, getProcessor, getPropertyDescriptor, getResolvedProperties, getTree, getVariableType, loadClass, processTemplate, setBaseclass, setClassName, setCode, setComponentClass, setDefaultVariables, setFullClassName, setPackageName, setTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntCompilationContext

public AntCompilationContext(TemplateCompilerTask task,
                             java.lang.ClassLoader loader)
                      throws CompilationException
Parameters:
loader -
Throws:
CompilationException
Method Detail

debug

public void debug(java.lang.String content)

debug

public void debug(java.lang.String content,
                  java.lang.Throwable error)

error

public void error(java.lang.String content)

error

public void error(java.lang.String content,
                  java.lang.Throwable error)

info

public void info(java.lang.String content)

info

public void info(java.lang.String content,
                 java.lang.Throwable error)

warn

public void warn(java.lang.String content)

warn

public void warn(java.lang.String content,
                 java.lang.Throwable error)

getTemplate

public org.apache.velocity.Template getTemplate(java.lang.String name)
                                         throws CompilationException
Throws:
CompilationException


Copyright © 2009. All Rights Reserved.