Uses of Interface
org.apache.velocity.context.Context

Packages that use Context
org.apache.velocity   
org.apache.velocity.app   
org.apache.velocity.app.event   
org.apache.velocity.app.event.implement   
org.apache.velocity.context   
org.apache.velocity.runtime   
org.apache.velocity.util   
 

Uses of Context in org.apache.velocity
 

Classes in org.apache.velocity that implement Context
 class VelocityContext
          General purpose implemention of the application Context interface for general application use.
 

Methods in org.apache.velocity with parameters of type Context
 void Template.merge(Context context, Writer writer)
          The AST node structure is merged with the context to produce the final output.
 void Template.merge(Context context, Writer writer, List macroLibraries)
          The AST node structure is merged with the context to produce the final output.
 

Constructors in org.apache.velocity with parameters of type Context
VelocityContext(Context innerContext)
          Chaining constructor, used when you want to wrap a context in another.
VelocityContext(Map context, Context innerContext)
          Initializes internal storage (never to null), and inner context.
 

Uses of Context in org.apache.velocity.app
 

Methods in org.apache.velocity.app with parameters of type Context
static boolean Velocity.evaluate(Context context, Writer writer, String logTag, Reader reader)
          Renders the input reader using the context into the output writer.
 boolean VelocityEngine.evaluate(Context context, Writer writer, String logTag, Reader reader)
          Renders the input reader using the context into the output writer.
static boolean Velocity.evaluate(Context context, Writer out, String logTag, String instring)
          renders the input string using the context into the output writer.
 boolean VelocityEngine.evaluate(Context context, Writer out, String logTag, String instring)
          renders the input string using the context into the output writer.
static boolean Velocity.invokeVelocimacro(String vmName, String logTag, String[] params, Context context, Writer writer)
          Invokes a currently registered Velocimacro with the params provided and places the rendered stream into the writer.
 boolean VelocityEngine.invokeVelocimacro(String vmName, String logTag, String[] params, Context context, Writer writer)
          Invokes a currently registered Velocimacro with the params provided and places the rendered stream into the writer.
static boolean Velocity.mergeTemplate(String templateName, String encoding, Context context, Writer writer)
          Merges a template and puts the rendered stream into the writer
 boolean VelocityEngine.mergeTemplate(String templateName, String encoding, Context context, Writer writer)
          merges a template and puts the rendered stream into the writer
 

Uses of Context in org.apache.velocity.app.event
 

Methods in org.apache.velocity.app.event with parameters of type Context
 boolean EventCartridge.attachToContext(Context context)
          Attached the EventCartridge to the context Final because not something one should mess with lightly :)
 Object InvalidReferenceEventHandler.invalidGetMethod(Context context, String reference, Object object, String property, Info info)
          Called when object is null or there is no getter for the given property.
 Object InvalidReferenceEventHandler.invalidMethod(Context context, String reference, Object object, String method, Info info)
          Called when object is null or the given method does not exist.
 boolean InvalidReferenceEventHandler.invalidSetMethod(Context context, String leftreference, String rightreference, Info info)
          Called when object is null or there is no setter for the given property.
 

Uses of Context in org.apache.velocity.app.event.implement
 

Methods in org.apache.velocity.app.event.implement with parameters of type Context
 Object ReportInvalidReferences.invalidGetMethod(Context context, String reference, Object object, String property, Info info)
          Collect the error and/or throw an exception, depending on configuration.
 Object ReportInvalidReferences.invalidMethod(Context context, String reference, Object object, String method, Info info)
          Collect the error and/or throw an exception, depending on configuration.
 boolean ReportInvalidReferences.invalidSetMethod(Context context, String leftreference, String rightreference, Info info)
          Collect the error and/or throw an exception, depending on configuration.
 void IncludeNotFound.setContext(Context context)
           
 

Uses of Context in org.apache.velocity.context
 

Subinterfaces of Context in org.apache.velocity.context
 interface InternalContextAdapter
          interface to bring all necessary internal and user contexts together.
 

Classes in org.apache.velocity.context that implement Context
 class AbstractContext
          This class is the abstract base class for all conventional Velocity Context implementations.
 class ChainedInternalContextAdapter
          This is an abstract internal-use-only context implementation to be used as a subclass for other internal-use-only contexts that wrap other internal-use-only contexts.
 class InternalContextAdapterImpl
          This adapter class is the container for all context types for internal use.
 

Methods in org.apache.velocity.context that return Context
 Context AbstractContext.getChainedContext()
          returns innerContext if one is chained
 Context ChainedInternalContextAdapter.getInternalUserContext()
          Return the inner / user context.
 Context InternalContextAdapterImpl.getInternalUserContext()
          returns the user data context that we are wrapping
 Context InternalWrapperContext.getInternalUserContext()
          Returns the wrapped user context.
 

Constructors in org.apache.velocity.context with parameters of type Context
AbstractContext(Context inner)
          Chaining constructor accepts a Context argument.
InternalContextAdapterImpl(Context c)
          CTOR takes a Context and wraps it, delegating all 'data' calls to it.
 

Uses of Context in org.apache.velocity.runtime
 

Methods in org.apache.velocity.runtime with parameters of type Context
 boolean RuntimeServices.evaluate(Context context, Writer writer, String logTag, Reader reader)
          Renders the input reader using the context into the output writer.
 boolean RuntimeInstance.evaluate(Context context, Writer writer, String logTag, Reader reader)
          Renders the input reader using the context into the output writer.
 boolean RuntimeServices.evaluate(Context context, Writer out, String logTag, String instring)
          Renders the input string using the context into the output writer.
 boolean RuntimeInstance.evaluate(Context context, Writer out, String logTag, String instring)
          Renders the input string using the context into the output writer.
 boolean RuntimeServices.invokeVelocimacro(String vmName, String logTag, String[] params, Context context, Writer writer)
          Invokes a currently registered Velocimacro with the params provided and places the rendered stream into the writer.
 boolean RuntimeInstance.invokeVelocimacro(String vmName, String logTag, String[] params, Context context, Writer writer)
          Invokes a currently registered Velocimacro with the params provided and places the rendered stream into the writer.
 boolean RuntimeInstance.render(Context context, Writer writer, String logTag, SimpleNode nodeTree)
          Initializes and renders the AST SimpleNode using the context into the output writer.
 

Uses of Context in org.apache.velocity.util
 

Methods in org.apache.velocity.util with parameters of type Context
 void ContextAware.setContext(Context context)
          Initialize the EventHandler.
 



Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.