|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.
AddAttributeModel
public Tiles2Tool addAttribute()
AddAttributeVModel
for the execution with a block
inside start(Map)
and end()
calls.
AddAttributeModel
public Tiles2Tool addListAttribute()
AddListAttributeVModel
for the execution with a block
inside start(Map)
and end()
calls.
AddListAttributeModel
public Tiles2Tool definition(Map<String,Object> params)
DefinitionVModel
.
params
- The map of parameters.
DefinitionModel
public Tiles2Tool definition()
DefinitionVModel
for the execution with a block
inside start(Map)
and end()
calls.
DefinitionModel
public org.apache.velocity.runtime.Renderable getAsString(Map<String,Object> params)
GetAsStringVModel
.
params
- The map of parameters.
GetAsStringModel
public Tiles2Tool getAsString()
GetAsStringVModel
for the execution with a block
inside start(Map)
and end()
calls.
GetAsStringModel
public org.apache.velocity.runtime.Renderable importAttribute(Map<String,Object> params)
ImportAttributeVModel
.
params
- The map of parameters.
ImportAttributeModel
public org.apache.velocity.runtime.Renderable insertAttribute(Map<String,Object> params)
InsertAttributeVModel
.
params
- The map of parameters.
InsertAttributeModel
public Tiles2Tool insertAttribute()
InsertAttributeVModel
for the execution with a block
inside start(Map)
and end()
calls.
InsertAttributeModel
public org.apache.velocity.runtime.Renderable insertDefinition(Map<String,Object> params)
InsertDefinitionVModel
.
params
- The map of parameters.
InsertDefinitionModel
public Tiles2Tool insertDefinition()
InsertDefinitionVModel
for the execution with a block
inside start(Map)
and end()
calls.
InsertDefinitionModel
public org.apache.velocity.runtime.Renderable insertTemplate(Map<String,Object> params)
InsertTemplateVModel
.
params
- The map of parameters.
InsertTemplateModel
public Tiles2Tool insertTemplate()
InsertTemplateVModel
for the execution with a block
inside start(Map)
and end()
calls.
InsertTemplateModel
public Tiles2Tool putAttribute(Map<String,Object> params)
PutAttributeVModel
.
params
- The map of parameters.
PutAttributeModel
public Tiles2Tool putAttribute()
PutAttributeVModel
for the execution with a block
inside start(Map)
and end()
calls.
PutAttributeModel
public Tiles2Tool putListAttribute()
PutListAttributeVModel
for the execution with a block
inside start(Map)
and end()
calls.
PutListAttributeModel
public 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 |