Package | Description |
---|---|
org.apache.tiles.compat.preparer |
"View preparers" are objects that allows the "preparation" of a Tiles artifact
(definition, template or attribute) before it is rendered.
|
org.apache.tiles.context |
Classes and interfaces that allow to access the various contexts in an
application in a uniformed way.
|
org.apache.tiles.context.enhanced |
Classes and interfaces that allow to access the various contexts using also the
classpath to access resources.
|
org.apache.tiles.definition |
It contains classes and interfaces to allow manipulations of "definitions", i.e.
|
org.apache.tiles.el |
Attribute evaluator classes that can perform EL evaluation for attributes.
|
org.apache.tiles.evaluator |
Interfaces to manage attribute value evaluation.
|
org.apache.tiles.evaluator.impl |
Classes to manage attribute value evaluation.
|
org.apache.tiles.freemarker.context |
Context classes to make FreeMarker work with Tiles.
|
org.apache.tiles.freemarker.renderer |
FreeMarker-typed attributes can be rendered by using classes in this package.
|
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.locale |
Classes and interfaces to allow locale resolution in an application, i.e.
|
org.apache.tiles.locale.impl |
Basic implementation of the locale resolver.
|
org.apache.tiles.mvel |
Attribute evaluator classes that can perform MVEL evaluation for attributes.
|
org.apache.tiles.ognl |
Attribute evaluator classes that can perform OGNL evaluation for attributes.
|
org.apache.tiles.portlet.context |
Classes and interfaces that allow to access the various contexts from a portlet
application.
|
org.apache.tiles.preparer |
"View preparers" are objects that allows the "preparation" of a Tiles artifact
(definition, template or attribute) before it is rendered.
It is useful, for example, when a view item should be built and stored in a particular context (e.g. |
org.apache.tiles.renderer |
Interfaces to manage attribute rendering.
|
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.velocity.context |
Context classes to make Velocity work with Tiles.
|
org.apache.tiles.velocity.renderer |
Velocity-typed attributes can be rendered by using classes in this package.
|
Modifier and Type | Method and Description |
---|---|
void |
UrlPreparer.execute(TilesRequestContext tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included.
|
Modifier and Type | Class and Description |
---|---|
class |
TilesRequestContextWrapper
Delegate for ease of customization.
|
Modifier and Type | Method and Description |
---|---|
TilesRequestContext |
TilesRequestContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Create a TilesRequestContext for the given context,
request, and response.
|
TilesRequestContext |
ChainedTilesRequestContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Create a TilesRequestContext for the given context,
request, and response.
|
TilesRequestContext |
ChainedTilesContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Deprecated.
Create a TilesRequestContext for the given context,
request, and response.
|
TilesRequestContext |
TilesRequestContextHolder.getTilesRequestContext()
Returns the Tiles request context to use.
|
TilesRequestContext |
TilesRequestContextWrapper.getWrappedRequest()
Returns the wrapped Tiles request.
|
Modifier and Type | Method and Description |
---|---|
static AttributeContext |
BasicAttributeContext.getContext(TilesRequestContext tilesContext)
Deprecated.
|
static Stack<AttributeContext> |
BasicAttributeContext.getContextStack(TilesRequestContext tilesContext)
|
static AttributeContext |
BasicAttributeContext.popContext(TilesRequestContext tilesContext)
Deprecated.
|
static void |
BasicAttributeContext.pushContext(AttributeContext context,
TilesRequestContext tilesContext)
Deprecated.
|
void |
TilesRequestContextHolder.setTilesRequestContext(TilesRequestContext request)
Sets the Tiles request context to use.
|
Constructor and Description |
---|
TilesRequestContextWrapper(TilesRequestContext context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TilesRequestContext |
EnhancedContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Deprecated.
Create a TilesRequestContext for the given context,
request, and response.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UrlDefinitionsFactory.addDefinitions(Definitions definitions,
TilesRequestContext tilesContext)
Deprecated.
Let the definitions be loaded by a
DefinitionDAO . |
Definition |
UnresolvingLocaleDefinitionsFactory.getDefinition(String name,
TilesRequestContext tilesContext)
Returns a Definition object that matches the given name and
Tiles context.
|
Definition |
LocaleDefinitionsFactory.getDefinition(String name,
TilesRequestContext tilesContext)
Returns a Definition object that matches the given name and
Tiles context.
|
Definition |
DefinitionsFactory.getDefinition(String name,
TilesRequestContext tilesContext)
Returns a Definition object that matches the given name and
Tiles context.
|
protected boolean |
UrlDefinitionsFactory.isContextProcessed(TilesRequestContext tilesContext)
Deprecated.
It always return
true . |
Modifier and Type | Method and Description |
---|---|
Object |
ELAttributeEvaluator.evaluate(String expression,
TilesRequestContext request)
Evaluates an expression.
|
Modifier and Type | Method and Description |
---|---|
Object |
AttributeEvaluator.evaluate(Attribute attribute,
TilesRequestContext request)
Evaluates an attribute value.
|
Object |
AbstractAttributeEvaluator.evaluate(Attribute attribute,
TilesRequestContext request)
Evaluates an attribute value.
|
Object |
AttributeEvaluator.evaluate(String expression,
TilesRequestContext request)
Evaluates an expression.
|
Modifier and Type | Method and Description |
---|---|
Object |
DirectAttributeEvaluator.evaluate(String expression,
TilesRequestContext request)
Evaluates an expression.
|
Modifier and Type | Class and Description |
---|---|
class |
FreeMarkerTilesRequestContext
The FreeMarker-specific request context.
|
Modifier and Type | Method and Description |
---|---|
TilesRequestContext |
FreeMarkerTilesRequestContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Create a TilesRequestContext for the given context,
request, and response.
|
Constructor and Description |
---|
FreeMarkerTilesRequestContext(TilesRequestContext enclosedRequest,
freemarker.core.Environment env)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FreeMarkerAttributeRenderer.isRenderable(Object value,
Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
void |
FreeMarkerAttributeRenderer.write(Object value,
Attribute attribute,
TilesRequestContext request)
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
Modifier and Type | Method and Description |
---|---|
protected AttributeContext |
BasicTilesContainer.getContext(TilesRequestContext tilesContext)
Get attribute context from request.
|
protected ArrayStack<AttributeContext> |
BasicTilesContainer.getContextStack(TilesRequestContext tilesContext)
Returns the context stack.
|
protected Definition |
BasicTilesContainer.getDefinition(String definitionName,
TilesRequestContext request)
Returns a definition specifying its name.
|
protected Definition |
KeyedDefinitionsFactoryTilesContainer.getDefinition(String definitionName,
TilesRequestContext request)
Deprecated.
Returns a definition specifying its name.
|
protected String |
KeyedDefinitionsFactoryTilesContainer.getDefinitionsFactoryKey(TilesRequestContext request)
Deprecated.
Returns the definitions factory key.
|
String |
KeyedDefinitionsFactoryTilesContainer.KeyExtractor.getDefinitionsFactoryKey(TilesRequestContext request)
Returns the definitions factory key.
|
String |
KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor.getDefinitionsFactoryKey(TilesRequestContext request)
Returns the definitions factory key.
|
protected AttributeContext |
BasicTilesContainer.popContext(TilesRequestContext tilesContext)
Pops a context object out of the stack.
|
protected void |
BasicTilesContainer.pushContext(AttributeContext context,
TilesRequestContext tilesContext)
Pushes a context object in the stack.
|
protected void |
BasicTilesContainer.render(TilesRequestContext request,
AttributeContext attributeContext)
Renders the specified attribute context.
|
protected void |
BasicTilesContainer.render(TilesRequestContext request,
Definition definition)
Renders the specified definition.
|
protected void |
BasicTilesContainer.render(TilesRequestContext request,
String definitionName)
Renders the definition with specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
DefinitionManager.addDefinition(Definition definition,
TilesRequestContext request)
Adds a definition to the set of custom ones.
|
Definition |
DefinitionManager.getDefinition(String definition,
TilesRequestContext request)
Returns a definition by name.
|
protected Definition |
CachingTilesContainer.getDefinition(String definition,
TilesRequestContext context)
Returns a definition specifying its name.
|
protected Definition |
CachingKeyedDefinitionsFactoryTilesContainer.getDefinition(String definition,
TilesRequestContext context)
Deprecated.
Returns a definition specifying its name.
|
protected Map<String,Definition> |
DefinitionManager.getDefinitions(TilesRequestContext request)
Returns the map with custom definitions for the current request.
|
protected Map<String,Definition> |
DefinitionManager.getOrCreateDefinitions(TilesRequestContext request)
Returns a map of type "definition name -> definition" and, if it has not
been defined before, creates one.
|
protected void |
CachingTilesContainer.register(Definition definition,
TilesRequestContext request)
Registers a custom definition.
|
protected void |
CachingKeyedDefinitionsFactoryTilesContainer.register(Definition definition,
TilesRequestContext request)
Deprecated.
Registers a custom definition.
|
protected void |
DefinitionManager.resolveInheritance(Definition definition,
TilesRequestContext request)
Resolve inheritance.
|
Modifier and Type | Class and Description |
---|---|
class |
JspTilesRequestContext
Context implementation used for executing tiles within a
jsp tag library.
|
Modifier and Type | Method and Description |
---|---|
TilesRequestContext |
JspTilesRequestContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Create a TilesRequestContext for the given context,
request, and response.
|
TilesRequestContext |
JspTilesContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Deprecated.
Create a TilesRequestContext for the given context,
request, and response.
|
Constructor and Description |
---|
JspTilesRequestContext(TilesRequestContext enclosedRequest,
javax.servlet.jsp.PageContext pageContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Locale |
LocaleResolver.resolveLocale(TilesRequestContext request)
Resolves the locale.
|
Modifier and Type | Method and Description |
---|---|
Locale |
DefaultLocaleResolver.resolveLocale(TilesRequestContext request)
Resolves the locale.
|
Modifier and Type | Method and Description |
---|---|
Object |
MVELAttributeEvaluator.evaluate(String expression,
TilesRequestContext request)
Evaluates an expression.
|
Modifier and Type | Method and Description |
---|---|
Object |
OGNLAttributeEvaluator.evaluate(String expression,
TilesRequestContext request)
Evaluates an expression.
|
Map<String,Object> |
RequestScopeNestedObjectExtractor.getNestedObject(TilesRequestContext obj)
Extracts the nested object.
|
Map<String,Object> |
ApplicationScopeNestedObjectExtractor.getNestedObject(TilesRequestContext obj)
Extracts the nested object.
|
Map<String,Object> |
SessionScopeNestedObjectExtractor.getNestedObject(TilesRequestContext obj)
Extracts the nested object.
|
TilesApplicationContext |
TilesApplicationContextNestedObjectExtractor.getNestedObject(TilesRequestContext obj)
Extracts the nested object.
|
org.apache.commons.ognl.PropertyAccessor |
TilesContextPropertyAccessorDelegateFactory.getPropertyAccessor(String propertyName,
TilesRequestContext request)
Returns a prooerty accessor appropriate for the property name and the
object passed.
|
Modifier and Type | Class and Description |
---|---|
class |
PortletTilesRequestContext
Portlet-based TilesApplicationContext implementation.
|
Modifier and Type | Method and Description |
---|---|
TilesRequestContext |
PortletTilesApplicationContext.createRequestContext(Object request,
Object response)
|
TilesRequestContext |
PortletTilesContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Deprecated.
Create a TilesRequestContext for the given context,
request, and response.
|
TilesRequestContext |
PortletTilesRequestContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Create a TilesRequestContext for the given context,
request, and response.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewPreparerSupport.execute(TilesRequestContext tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included.
|
void |
ViewPreparer.execute(TilesRequestContext tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included.
|
ViewPreparer |
PreparerFactory.getPreparer(String name,
TilesRequestContext context)
Create the named {link ViewPreparer} for the specified context.
|
ViewPreparer |
BasicPreparerFactory.getPreparer(String name,
TilesRequestContext context)
Create a new instance of the named preparerInstance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TypeDetectingAttributeRenderer.isRenderable(Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
boolean |
TypeDetectingAttributeRenderer.isRenderable(Object value,
Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
void |
AttributeRenderer.render(Attribute attribute,
TilesRequestContext request)
Renders an attribute.
|
Modifier and Type | Method and Description |
---|---|
protected TilesRequestContext |
AbstractBaseAttributeRenderer.getRequestContext(Object... requestItems)
Creates a Tiles request context from request items.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractBaseAttributeRenderer.isPermitted(TilesRequestContext request,
Set<String> roles)
Checks if the current user is in one of the comma-separated roles
specified in the
role parameter. |
boolean |
AbstractTypeDetectingAttributeRenderer.isRenderable(Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
boolean |
StringAttributeRenderer.isRenderable(Object value,
Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
boolean |
DefinitionAttributeRenderer.isRenderable(Object value,
Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
boolean |
TemplateAttributeRenderer.isRenderable(Object value,
Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
void |
AbstractBaseAttributeRenderer.render(Attribute attribute,
TilesRequestContext request)
Renders an attribute.
|
void |
UntypedAttributeRenderer.write(Object value,
Attribute attribute,
TilesRequestContext request)
Deprecated.
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
void |
StringAttributeRenderer.write(Object value,
Attribute attribute,
TilesRequestContext request)
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
abstract void |
AbstractBaseAttributeRenderer.write(Object value,
Attribute attribute,
TilesRequestContext request)
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
void |
DefinitionAttributeRenderer.write(Object value,
Attribute attribute,
TilesRequestContext request)
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
void |
ChainedDelegateAttributeRenderer.write(Object value,
Attribute attribute,
TilesRequestContext request)
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
void |
TemplateAttributeRenderer.write(Object value,
Attribute attribute,
TilesRequestContext request)
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletTilesRequestContext
Servlet-based implementation of the TilesApplicationContext interface.
|
Modifier and Type | Method and Description |
---|---|
TilesRequestContext |
ServletTilesApplicationContext.createRequestContext(Object request,
Object response)
|
TilesRequestContext |
ServletTilesRequestContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Create a TilesRequestContext for the given context,
request, and response.
|
TilesRequestContext |
ServletTilesContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Deprecated.
Create a TilesRequestContext for the given context,
request, and response.
|
Modifier and Type | Method and Description |
---|---|
static ServletTilesRequestContext |
ServletUtil.getServletRequest(TilesRequestContext request)
Opens a TilesRequestContext until it finds a ServletTilesRequestContext.
|
Modifier and Type | Class and Description |
---|---|
class |
VelocityTilesRequestContext
The implementation of the Tiles request context specific for Velocity.
|
Modifier and Type | Method and Description |
---|---|
TilesRequestContext |
VelocityTilesRequestContextFactory.createRequestContext(TilesApplicationContext context,
Object... requestItems)
Create a TilesRequestContext for the given context,
request, and response.
|
Constructor and Description |
---|
VelocityTilesRequestContext(TilesRequestContext enclosedRequest,
org.apache.velocity.context.Context ctx,
Writer writer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
VelocityAttributeRenderer.isRenderable(Object value,
Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
void |
VelocityAttributeRenderer.write(Object value,
Attribute attribute,
TilesRequestContext request)
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
Copyright © 2017. All rights reserved.