|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.apache.tiles.velocity.template.ContextHolder
org.apache.tiles.velocity.template.VelocityStyleTilesTool
org.apache.tiles.velocity.template.Tiles2Tool
@Deprecated public class Tiles2Tool
The Tiles tool to be used in Velocity templates. Most of the methods can be used in two ways:
start(Map), then your code in the block, and then end().
| Constructor Summary | |
|---|---|
Tiles2Tool()
Deprecated. |
|
| Method Summary | |
|---|---|
Tiles2Tool |
addAttribute()
Deprecated. Prepares the AddAttributeVModel for the execution with a block
inside start(Map) and end() calls. |
Tiles2Tool |
addAttribute(Map<String,Object> params)
Deprecated. Executes the AddAttributeVModel. |
Tiles2Tool |
addListAttribute()
Deprecated. Prepares the AddListAttributeVModel for the execution with a block
inside start(Map) and end() calls. |
Tiles2Tool |
definition()
Deprecated. Prepares the DefinitionVModel for the execution with a block
inside start(Map) and end() calls. |
Tiles2Tool |
definition(Map<String,Object> params)
Deprecated. Executes the DefinitionVModel. |
org.apache.velocity.runtime.Renderable |
end()
Deprecated. Ends a "model" after the execution of a block. |
Tiles2Tool |
getAsString()
Deprecated. Prepares the GetAsStringVModel for the execution with a block
inside start(Map) and end() calls. |
org.apache.velocity.runtime.Renderable |
getAsString(Map<String,Object> params)
Deprecated. Executes the GetAsStringVModel. |
org.apache.velocity.runtime.Renderable |
importAttribute(Map<String,Object> params)
Deprecated. Executes the ImportAttributeVModel. |
Tiles2Tool |
insertAttribute()
Deprecated. Prepares the InsertAttributeVModel for the execution with a block
inside start(Map) and end() calls. |
org.apache.velocity.runtime.Renderable |
insertAttribute(Map<String,Object> params)
Deprecated. Executes the InsertAttributeVModel. |
Tiles2Tool |
insertDefinition()
Deprecated. Prepares the InsertDefinitionVModel for the execution with a block
inside start(Map) and end() calls. |
org.apache.velocity.runtime.Renderable |
insertDefinition(Map<String,Object> params)
Deprecated. Executes the InsertDefinitionVModel. |
Tiles2Tool |
insertTemplate()
Deprecated. Prepares the InsertTemplateVModel for the execution with a block
inside start(Map) and end() calls. |
org.apache.velocity.runtime.Renderable |
insertTemplate(Map<String,Object> params)
Deprecated. Executes the InsertTemplateVModel. |
Tiles2Tool |
putAttribute()
Deprecated. Prepares the PutAttributeVModel for the execution with a block
inside start(Map) and end() calls. |
Tiles2Tool |
putAttribute(Map<String,Object> params)
Deprecated. Executes the PutAttributeVModel. |
Tiles2Tool |
putListAttribute()
Deprecated. Prepares the PutListAttributeVModel for the execution with a block
inside start(Map) and end() calls. |
Tiles2Tool |
start(Map<String,Object> params)
Deprecated. Starts a "model" for the execution in a block. |
| Methods inherited from class org.apache.tiles.velocity.template.VelocityStyleTilesTool |
|---|
clone, createAttribute, createTemplateAttribute, endAttributeContext, get, getAttributeContext, render, renderAttributeContext, renderDefinition, setCurrentContainer, startAttributeContext, toString |
| Methods inherited from class org.apache.tiles.velocity.template.ContextHolder |
|---|
getRequest, getResponse, getServletContext, getVelocityContext, setRequest, setResponse, setServletContext, setVelocityContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Tiles2Tool()
| Method Detail |
|---|
public Tiles2Tool addAttribute(Map<String,Object> params)
AddAttributeVModel.
params - The map of parameters.
AddAttributeModelpublic Tiles2Tool addAttribute()
AddAttributeVModel for the execution with a block
inside start(Map) and end() calls.
AddAttributeModelpublic Tiles2Tool addListAttribute()
AddListAttributeVModel for the execution with a block
inside start(Map) and end() calls.
AddListAttributeModelpublic Tiles2Tool definition(Map<String,Object> params)
DefinitionVModel.
params - The map of parameters.
DefinitionModelpublic Tiles2Tool definition()
DefinitionVModel for the execution with a block
inside start(Map) and end() calls.
DefinitionModelpublic org.apache.velocity.runtime.Renderable getAsString(Map<String,Object> params)
GetAsStringVModel.
params - The map of parameters.
GetAsStringModelpublic Tiles2Tool getAsString()
GetAsStringVModel for the execution with a block
inside start(Map) and end() calls.
GetAsStringModelpublic org.apache.velocity.runtime.Renderable importAttribute(Map<String,Object> params)
ImportAttributeVModel.
params - The map of parameters.
ImportAttributeModelpublic org.apache.velocity.runtime.Renderable insertAttribute(Map<String,Object> params)
InsertAttributeVModel.
params - The map of parameters.
InsertAttributeModelpublic Tiles2Tool insertAttribute()
InsertAttributeVModel for the execution with a block
inside start(Map) and end() calls.
InsertAttributeModelpublic org.apache.velocity.runtime.Renderable insertDefinition(Map<String,Object> params)
InsertDefinitionVModel.
params - The map of parameters.
InsertDefinitionModelpublic Tiles2Tool insertDefinition()
InsertDefinitionVModel for the execution with a block
inside start(Map) and end() calls.
InsertDefinitionModelpublic org.apache.velocity.runtime.Renderable insertTemplate(Map<String,Object> params)
InsertTemplateVModel.
params - The map of parameters.
InsertTemplateModelpublic Tiles2Tool insertTemplate()
InsertTemplateVModel for the execution with a block
inside start(Map) and end() calls.
InsertTemplateModelpublic Tiles2Tool putAttribute(Map<String,Object> params)
PutAttributeVModel.
params - The map of parameters.
PutAttributeModelpublic Tiles2Tool putAttribute()
PutAttributeVModel for the execution with a block
inside start(Map) and end() calls.
PutAttributeModelpublic Tiles2Tool putListAttribute()
PutListAttributeVModel for the execution with a block
inside start(Map) and end() calls.
PutListAttributeModelpublic Tiles2Tool start(Map<String,Object> params)
params - The map of parameters.
public org.apache.velocity.runtime.Renderable end()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||