Package | Description |
---|---|
org.apache.tiles.access |
Utility classes to access Tiles funcionality from an application.
|
org.apache.tiles.awareness |
Interfaces that let the Tiles engine to inject dependencies to its objects.
|
org.apache.tiles.factory |
Factory classes, to allow creation of container instances.
|
org.apache.tiles.freemarker.context |
Context classes to make FreeMarker work with Tiles.
|
org.apache.tiles.impl |
It contains the basic implementations of Tiles container.
|
org.apache.tiles.impl.mgmt |
It contains the basic implementations of mutable Tiles containers.
|
org.apache.tiles.jsp.context |
Tiles context classes in a JSP environment.
|
org.apache.tiles.mgmt |
Classes and interfaces to be used when it is needed to create Tiles definitions
during the execution of the application.
|
org.apache.tiles.portlet.context |
Classes and interfaces that allow to access the various contexts from a portlet
application.
|
org.apache.tiles.renderer.impl |
Default implementations to manage attribute rendering.
|
org.apache.tiles.servlet.context |
Classes and interfaces that allow to access the various contexts from a servlet
application.
|
org.apache.tiles.startup |
Classes to start the Tiles engine up.
|
org.apache.tiles.template |
Tiles template classes, that enable to write support code for template languages (JSP, FreeMarker, Velocity).
|
org.apache.tiles.web.startup |
Classes to start the Tiles engine up in a web environment.
|
Modifier and Type | Method and Description |
---|---|
static TilesContainer |
TilesAccess.getContainer(Object context)
Deprecated.
Use one of the environment-specific Utilities (e.g.
ServletUtil).
|
Modifier and Type | Method and Description |
---|---|
static void |
TilesAccess.setContainer(Object context,
TilesContainer container)
Deprecated.
|
static void |
TilesAccess.setContainer(TilesApplicationContext context,
TilesContainer container)
Configures the default container to be used in the application.
|
static void |
TilesAccess.setContainer(TilesApplicationContext context,
TilesContainer container,
String key)
Configures the container to be used in the application.
|
Modifier and Type | Method and Description |
---|---|
void |
TilesContainerAware.setContainer(TilesContainer container)
Sets the Tiles container.
|
Modifier and Type | Method and Description |
---|---|
TilesContainer |
TilesContainerFactory.createContainer(Object context)
Deprecated.
|
TilesContainer |
TilesContainerFactory.createContainer(TilesApplicationContext context)
Deprecated.
Creates a Tiles container.
|
abstract TilesContainer |
AbstractTilesContainerFactory.createContainer(TilesApplicationContext applicationContext)
Creates a Tiles container.
|
TilesContainer |
BasicTilesContainerFactory.createContainer(TilesApplicationContext applicationContext)
Creates a Tiles container.
|
TilesContainer |
TilesContainerFactory.createMutableTilesContainer(Object context)
|
TilesContainer |
TilesContainerFactory.createTilesContainer(Object context)
Deprecated.
|
TilesContainer |
TilesContainerFactory.createTilesContainer(TilesApplicationContext context)
Deprecated.
Creates an immutable Tiles container.
|
TilesContainer |
KeyedDefinitionsFactoryTilesContainerFactory.createTilesContainer(TilesApplicationContext context)
Deprecated.
Creates an immutable Tiles container.
|
Modifier and Type | Method and Description |
---|---|
protected AttributeRenderer |
BasicTilesContainerFactory.createDefaultAttributeRenderer(BasicRendererFactory rendererFactory,
TilesApplicationContext applicationContext,
TilesRequestContextFactory contextFactory,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates the default attribute renderer.
|
protected AttributeRenderer |
BasicTilesContainerFactory.createDefinitionAttributeRenderer(BasicRendererFactory rendererFactory,
TilesApplicationContext applicationContext,
TilesRequestContextFactory contextFactory,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates a
DefinitionAttributeRenderer . |
protected RendererFactory |
BasicTilesContainerFactory.createRendererFactory(TilesApplicationContext applicationContext,
TilesRequestContextFactory contextFactory,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates a renderer factory.
|
protected AttributeRenderer |
BasicTilesContainerFactory.createStringAttributeRenderer(BasicRendererFactory rendererFactory,
TilesApplicationContext applicationContext,
TilesRequestContextFactory contextFactory,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates a
StringAttributeRenderer . |
protected AttributeRenderer |
BasicTilesContainerFactory.createTemplateAttributeRenderer(BasicRendererFactory rendererFactory,
TilesApplicationContext applicationContext,
TilesRequestContextFactory contextFactory,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates a
TemplateAttributeRenderer . |
protected void |
BasicTilesContainerFactory.registerAttributeRenderers(BasicRendererFactory rendererFactory,
TilesApplicationContext applicationContext,
TilesRequestContextFactory contextFactory,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Registers attribute renderers in a
BasicRendererFactory . |
Modifier and Type | Method and Description |
---|---|
static TilesContainer |
FreeMarkerUtil.getContainer(freemarker.core.Environment env,
String key)
Returns a specific Tiles container.
|
static TilesContainer |
FreeMarkerUtil.getCurrentContainer(freemarker.core.Environment env)
Returns the current container that has been set, or the default one.
|
Modifier and Type | Method and Description |
---|---|
static void |
FreeMarkerUtil.setCurrentContainer(freemarker.core.Environment env,
TilesContainer container)
Sets the current container to use in web pages.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicTilesContainer
Basic implementation of the tiles container interface.
|
class |
KeyedDefinitionsFactoryTilesContainer
Deprecated.
Register different containers using
TilesAccess.setContainer(
org.apache.tiles.TilesApplicationContext, org.apache.tiles.TilesContainer, String) |
Modifier and Type | Class and Description |
---|---|
class |
CachingKeyedDefinitionsFactoryTilesContainer
Deprecated.
Register different containers using
TilesAccess.setContainer(
org.apache.tiles.TilesApplicationContext, org.apache.tiles.TilesContainer, String)
and using CachingTilesContainer as container implementation. |
class |
CachingTilesContainer
Mutable container which caches (in memory) the definitions
registered to it.
|
Modifier and Type | Method and Description |
---|---|
static TilesContainer |
JspUtil.getContainer(javax.servlet.jsp.JspContext context)
Returns the default Tiles container.
|
static TilesContainer |
JspUtil.getContainer(javax.servlet.jsp.JspContext context,
String key)
Returns a specific Tiles container.
|
static TilesContainer |
JspUtil.getCurrentContainer(javax.servlet.jsp.JspContext context)
Returns the current container that has been set, or the default one.
|
Modifier and Type | Method and Description |
---|---|
static void |
JspUtil.setContainer(javax.servlet.jsp.JspContext context,
TilesContainer container)
Configures the default container to be used in the application.
|
static void |
JspUtil.setContainer(javax.servlet.jsp.JspContext context,
TilesContainer container,
String key)
Configures the container to be used in the application.
|
static void |
JspUtil.setCurrentContainer(javax.servlet.jsp.JspContext context,
TilesContainer container)
Sets the current container to use in web pages.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutableTilesContainer
Defines a mutable version of the TilesContainer.
|
Modifier and Type | Method and Description |
---|---|
static TilesContainer |
PortletUtil.getContainer(javax.portlet.PortletContext context)
Returns the default Tiles container.
|
static TilesContainer |
PortletUtil.getContainer(javax.portlet.PortletContext context,
String key)
Returns a specific Tiles container.
|
static TilesContainer |
PortletUtil.getCurrentContainer(javax.portlet.PortletRequest request,
javax.portlet.PortletContext context)
Returns the current container that has been set, or the default one.
|
Modifier and Type | Method and Description |
---|---|
static void |
PortletUtil.setContainer(javax.portlet.PortletContext context,
TilesContainer container)
Configures the default container to be used in the application.
|
static void |
PortletUtil.setContainer(javax.portlet.PortletContext context,
TilesContainer container,
String key)
Configures the container to be used in the application.
|
static void |
PortletUtil.setCurrentContainer(javax.portlet.PortletRequest request,
javax.portlet.PortletContext context,
TilesContainer container)
Sets the current container to use in web pages.
|
Modifier and Type | Field and Description |
---|---|
protected TilesContainer |
BasicRendererFactory.container
The Tiles container.
|
protected TilesContainer |
DefinitionAttributeRenderer.container
The Tiles container.
|
Modifier and Type | Method and Description |
---|---|
void |
UntypedAttributeRenderer.setContainer(TilesContainer container)
Deprecated.
Sets the Tiles container.
|
void |
BasicRendererFactory.setContainer(TilesContainer container)
Sets the Tiles container.
|
void |
DefinitionAttributeRenderer.setContainer(TilesContainer container)
Sets the Tiles container.
|
Modifier and Type | Method and Description |
---|---|
static TilesContainer |
ServletUtil.getContainer(javax.servlet.ServletContext context)
Returns the default Tiles container.
|
static TilesContainer |
ServletUtil.getContainer(javax.servlet.ServletContext context,
String key)
Returns a specific Tiles container.
|
static TilesContainer |
ServletUtil.getCurrentContainer(javax.servlet.ServletRequest request,
javax.servlet.ServletContext context)
Returns the current container that has been set, or the default one.
|
Modifier and Type | Method and Description |
---|---|
static void |
ServletUtil.setContainer(javax.servlet.ServletContext context,
TilesContainer container)
Configures the default container to be used in the application.
|
static void |
ServletUtil.setContainer(javax.servlet.ServletContext context,
TilesContainer container,
String key)
Configures the container to be used in the application.
|
static void |
ServletUtil.setCurrentContainer(javax.servlet.ServletRequest request,
javax.servlet.ServletContext context,
TilesContainer container)
Sets the current container to use in web pages.
|
Modifier and Type | Method and Description |
---|---|
protected TilesContainer |
AbstractTilesInitializer.createContainer(TilesApplicationContext context)
Creates a Tiles container.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
DefaultAttributeResolver.computeAttribute(TilesContainer container,
Attribute attribute,
String name,
String role,
boolean ignore,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
Object... requestItems)
Computes the attribute.
|
Attribute |
AttributeResolver.computeAttribute(TilesContainer container,
Attribute attribute,
String name,
String role,
boolean ignore,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
Object... requestItems)
Computes the attribute.
|
void |
InsertAttributeModel.end(ArrayStack<Object> composeStack,
TilesContainer container,
boolean ignore,
Object... requestItems)
Ends the operation.
|
void |
GetAsStringModel.end(ArrayStack<Object> composeStack,
TilesContainer container,
Writer writer,
boolean ignore,
Object... requestItems)
Ends the operation.
|
void |
PutListAttributeModel.end(TilesContainer container,
ArrayStack<Object> composeStack,
String name,
boolean cascade,
Object... requestItems)
Ends the operation.
|
void |
PutAttributeModel.end(TilesContainer container,
ArrayStack<Object> composeStack,
String name,
Object value,
String expression,
String body,
String role,
String type,
boolean cascade,
Object... requestItems)
Ends the operation.
|
void |
InsertTemplateModel.end(TilesContainer container,
String template,
String templateType,
String templateExpression,
String role,
String preparer,
Object... requestItems)
Ends the operation.
|
void |
InsertDefinitionModel.end(TilesContainer container,
String definitionName,
String template,
String templateType,
String templateExpression,
String role,
String preparer,
Object... requestItems)
Ends the operation.
|
void |
PutAttributeModel.execute(TilesContainer container,
ArrayStack<Object> composeStack,
String name,
Object value,
String expression,
String body,
String role,
String type,
boolean cascade,
Object... requestItems)
Executes the operation.
|
void |
InsertAttributeModel.execute(TilesContainer container,
boolean ignore,
String preparer,
String role,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
String name,
Attribute value,
Object... requestItems)
Executes the operation.
|
void |
InsertTemplateModel.execute(TilesContainer container,
String template,
String templateType,
String templateExpression,
String role,
String preparer,
Object... requestItems)
Executes the operation.
|
void |
InsertDefinitionModel.execute(TilesContainer container,
String definitionName,
String template,
String templateType,
String templateExpression,
String role,
String preparer,
Object... requestItems)
Executes the operation.
|
void |
GetAsStringModel.execute(TilesContainer container,
Writer writer,
boolean ignore,
String preparer,
String role,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
String name,
Attribute value,
Object... requestItems)
Executes the operation.
|
Map<String,Object> |
ImportAttributeModel.getImportedAttributes(TilesContainer container,
String name,
String toName,
boolean ignore,
Object... requestItems)
Retuns a Map that contains the attributes to be imported.
|
void |
GetAsStringModel.start(ArrayStack<Object> composeStack,
TilesContainer container,
boolean ignore,
String preparer,
String role,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
String name,
Attribute value,
Object... requestItems)
Starts the operation.
|
void |
InsertAttributeModel.start(ArrayStack<Object> composeStack,
TilesContainer container,
boolean ignore,
String preparer,
String role,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
String name,
Attribute value,
Object... requestItems)
Starts the operation.
|
void |
InsertTemplateModel.start(TilesContainer container,
Object... requestItems)
Starts the operation.
|
void |
InsertDefinitionModel.start(TilesContainer container,
Object... requestItems)
Starts the operation.
|
Modifier and Type | Method and Description |
---|---|
protected TilesContainer |
TilesListener.createContainer(javax.servlet.ServletContext context)
Deprecated.
Extend
BasicTilesInitializer . |
Copyright © 2016. All rights reserved.