| java.lang.Object org.apache.roller.ui.rendering.velocity.RollerVelocity
RollerVelocity | public class RollerVelocity (Code) | | Represents the VelocityEngine used by Roller.
We construct our own instance of VelocityEngine, initialize it, and provide
access to the instance via the Singleton getInstance() method.
|
Method Summary | |
public static VelocityEngine | getEngine() Access to the VelocityEngine. | public static Template | getTemplate(String name) Convenience static method for looking up a template. | public static Template | getTemplate(String name, String encoding) Convenience static method for looking up a template. |
VELOCITY_CONFIG | final public static String VELOCITY_CONFIG(Code) | | |
getEngine | public static VelocityEngine getEngine()(Code) | | Access to the VelocityEngine.
This shouldn't ever be needed, but it's here just in case someone
really needs to do something special.
|
getTemplate | public static Template getTemplate(String name) throws ResourceNotFoundException, ParseErrorException, Exception(Code) | | Convenience static method for looking up a template.
|
getTemplate | public static Template getTemplate(String name, String encoding) throws ResourceNotFoundException, ParseErrorException, Exception(Code) | | Convenience static method for looking up a template.
|
|
|