org.ajax4jsf.builder.velocity
Class BuilderContext

java.lang.Object
  extended by org.apache.velocity.context.AbstractContext
      extended by org.apache.velocity.VelocityContext
          extended by org.ajax4jsf.builder.velocity.BuilderContext
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext

public class BuilderContext
extends org.apache.velocity.VelocityContext

Version:
$Revision: 1.1.2.5 $ $Date: 2007/02/26 20:48:51 $
Author:
asmirnov@exadel.com (latest modification by $Author: alexsmirnov $)
See Also:
Serialized Form

Field Summary
static java.lang.String TEMPLATES_PATH
           
static java.lang.String TEMPLATES12_PATH
           
 
Constructor Summary
BuilderContext()
           
 
Method Summary
 org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
           
 org.apache.velocity.runtime.resource.Resource getCurrentResource()
           
 java.lang.String getCurrentTemplateName()
           
 org.apache.velocity.app.event.EventCartridge getEventCartridge()
           
static org.apache.velocity.Template getTemplate(java.lang.String templateName)
           
 java.lang.Object[] getTemplateNameStack()
           
 org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(java.lang.Object arg0)
           
 void icachePut(java.lang.Object arg0, org.apache.velocity.util.introspection.IntrospectionCacheData arg1)
           
static void init(java.io.File templatesDir)
           
 void popCurrentTemplateName()
           
 void pushCurrentTemplateName(java.lang.String arg0)
           
 void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)
           
 
Methods inherited from class org.apache.velocity.VelocityContext
clone, internalContainsKey, internalGet, internalGetKeys, internalPut, internalRemove
 
Methods inherited from class org.apache.velocity.context.AbstractContext
containsKey, get, getChainedContext, getKeys, put, remove
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATES_PATH

public static final java.lang.String TEMPLATES_PATH
See Also:
Constant Field Values

TEMPLATES12_PATH

public static final java.lang.String TEMPLATES12_PATH
See Also:
Constant Field Values
Constructor Detail

BuilderContext

public BuilderContext()
Method Detail

init

public static void init(java.io.File templatesDir)
                 throws GeneratorException
Throws:
GeneratorException

getTemplate

public static org.apache.velocity.Template getTemplate(java.lang.String templateName)
                                                throws GeneratorException
Throws:
GeneratorException

pushCurrentTemplateName

public void pushCurrentTemplateName(java.lang.String arg0)

popCurrentTemplateName

public void popCurrentTemplateName()

getCurrentTemplateName

public java.lang.String getCurrentTemplateName()

getTemplateNameStack

public java.lang.Object[] getTemplateNameStack()

icacheGet

public org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(java.lang.Object arg0)

icachePut

public void icachePut(java.lang.Object arg0,
                      org.apache.velocity.util.introspection.IntrospectionCacheData arg1)

setCurrentResource

public void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)

getCurrentResource

public org.apache.velocity.runtime.resource.Resource getCurrentResource()

attachEventCartridge

public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
Specified by:
attachEventCartridge in interface org.apache.velocity.context.InternalEventContext

getEventCartridge

public org.apache.velocity.app.event.EventCartridge getEventCartridge()
Specified by:
getEventCartridge in interface org.apache.velocity.context.InternalEventContext


Copyright © 2009. All Rights Reserved.