org.ajax4jsf.builder.component.methods
Class VelocityMethodBody
java.lang.Object
org.ajax4jsf.builder.model.MethodBody
org.ajax4jsf.builder.component.methods.VelocityMethodBody
- Direct Known Subclasses:
- ELPropertyAccessorMethodBody
public abstract class VelocityMethodBody
- extends MethodBody
Render method body by using Velocity
- Author:
- Maksim Kaszynski
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityMethodBody
public VelocityMethodBody(JSFGeneratorConfiguration configuration)
throws GeneratorException
- Throws:
GeneratorException
getTemplate
public abstract java.lang.String getTemplate()
loadTemplate
protected org.apache.velocity.Template loadTemplate(java.lang.String id,
JSFGeneratorConfiguration configuration)
throws GeneratorException
- Throws:
GeneratorException
getContext
protected org.apache.velocity.VelocityContext getContext()
toCode
public java.lang.String toCode()
- Overrides:
toCode
in class MethodBody
Copyright © 2009. All Rights Reserved.