Package | Description |
---|---|
org.apache.velocity.app | |
org.apache.velocity.runtime | |
org.apache.velocity.servlet | |
org.apache.velocity.texen |
Modifier and Type | Method and Description |
---|---|
Template |
VelocityEngine.getTemplate(String name)
Returns a
Template from the Velocity
resource management system. |
static Template |
Velocity.getTemplate(String name)
Returns a
Template from the Velocity
resource management system. |
Template |
VelocityEngine.getTemplate(String name,
String encoding)
Returns a
Template from the Velocity
resource management system. |
static Template |
Velocity.getTemplate(String name,
String encoding)
Returns a
Template from the Velocity
resource management system. |
Modifier and Type | Method and Description |
---|---|
Template |
RuntimeInstance.getTemplate(String name)
Returns a
Template from the resource manager. |
static Template |
RuntimeSingleton.getTemplate(String name)
Returns a
Template from the resource manager. |
Template |
RuntimeServices.getTemplate(String name)
Returns a
Template from the resource manager. |
static Template |
Runtime.getTemplate(String name)
Deprecated.
Returns a
Template from the resource manager. |
Template |
RuntimeInstance.getTemplate(String name,
String encoding)
Returns a
Template from the resource manager |
static Template |
RuntimeSingleton.getTemplate(String name,
String encoding)
Returns a
Template from the resource manager |
Template |
RuntimeServices.getTemplate(String name,
String encoding)
Returns a
Template from the resource manager |
static Template |
Runtime.getTemplate(String name,
String encoding)
Deprecated.
Returns a
Template from the resource manager |
Modifier and Type | Method and Description |
---|---|
Template |
VelocityServlet.getTemplate(String name)
Deprecated.
Retrieves the requested template.
|
Template |
VelocityServlet.getTemplate(String name,
String encoding)
Deprecated.
Retrieves the requested template with the specified
character encoding.
|
protected Template |
VelocityServlet.handleRequest(Context ctx)
|
protected Template |
VelocityServlet.handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Context ctx)
Deprecated.
Implement this method to add your application data to the context,
calling the
getTemplate() method to produce your return
value. |
Modifier and Type | Method and Description |
---|---|
protected void |
VelocityServlet.mergeTemplate(Template template,
Context context,
javax.servlet.http.HttpServletResponse response)
Deprecated.
merges the template with the context.
|
Modifier and Type | Method and Description |
---|---|
Template |
Generator.getTemplate(String templateName,
String encoding)
Returns a template, based on encoding and path.
|
Copyright © 2000–2016. All rights reserved.