Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.blojsom.dispatcher.velocity
Class VelocityDispatcher.BlojsomRenderTool

    java.lang.Object
      org.blojsom.dispatcher.velocity.VelocityDispatcher.BlojsomRenderTool

Enclosing class:
  VelocityDispatcher

public class VelocityDispatcher.BlojsomRenderTool
extends java.lang.Object

Blojsom render tool mimics the functionality of the Velocity render tool to parse VTL markup added to a template

Constructor Summary
`VelocityDispatcher.BlojsomRenderTool(org.apache.velocity.app.VelocityEngine velocityEngine, org.apache.velocity.VelocityContext velocityContext)` Create a new instance of the render tool

Method Summary
`java.lang.String` | `evaluate(java.lang.String template)` Evaluate a string containing VTL markup

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### VelocityDispatcher.BlojsomRenderTool

    public VelocityDispatcher.BlojsomRenderTool(org.apache.velocity.app.VelocityEngine velocityEngine,
                                                org.apache.velocity.VelocityContext velocityContext)

  Create a new instance of the render tool

Parameters:
  `velocityEngine` - `VelocityEngine`
  `velocityContext` - `VelocityContext`

Method Detail

### evaluate

    public java.lang.String evaluate(java.lang.String template)

  Evaluate a string containing VTL markup

  Parameters:
    `template` - VTL markup
  Returns:
    Processed VTL or `null` if an error in evaluation

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD