@Deprecated public class AddAttributeVModel extends Object implements Executable, BodyExecutable
AddAttributeModel
to be used in Velocity. For the list of
parameters, see AddAttributeModel#start(java.util.Stack)
,
AddAttributeModel#end(java.util.Stack, Object, String, String, String, String)
and AddAttributeModel#execute(java.util.Stack, Object, String, String, String, String)
Constructor and Description |
---|
AddAttributeVModel(AddAttributeModel model)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.velocity.runtime.Renderable |
end(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context velocityContext)
Deprecated.
Ends the execution of the commands.
|
org.apache.velocity.runtime.Renderable |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context velocityContext,
Map<String,Object> params)
Deprecated.
Executes the command.
|
void |
start(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context velocityContext,
Map<String,Object> params)
Deprecated.
Starts the execution of the commands.
|
public AddAttributeVModel(AddAttributeModel model)
model
- The template model.public org.apache.velocity.runtime.Renderable execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Map<String,Object> params)
execute
in interface Executable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.params
- The map of the parameters.public org.apache.velocity.runtime.Renderable end(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext)
end
in interface BodyExecutable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.public void start(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Map<String,Object> params)
start
in interface BodyExecutable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.params
- The map of the parameters.Copyright © 2017. All rights reserved.