|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Attribute | |
---|---|
org.apache.tiles |
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles. |
org.apache.tiles.context | Classes and interfaces that allow to access the various contexts in an application in a uniformed way. |
org.apache.tiles.definition | It contains classes and interfaces to allow manipulations of "definitions", i.e. objects made of a template page and a number of filled attributes. |
org.apache.tiles.evaluator | Interfaces to manage attribute value evaluation. |
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.renderer | Interfaces to manage attribute rendering. |
org.apache.tiles.renderer.impl | Default implementations to manage attribute rendering. |
org.apache.tiles.template | Tiles template classes, that enable to write support code for template languages (JSP, FreeMarker, Velocity). |
org.apache.tiles.velocity.renderer | Velocity-typed attributes can be rendered by using classes in this package. |
org.apache.tiles.velocity.template | Classes that allow the use of "Tiles template" as a Velocity tool. |
Uses of Attribute in org.apache.tiles |
---|
Subclasses of Attribute in org.apache.tiles | |
---|---|
class |
ListAttribute
An attribute as a List . |
Fields in org.apache.tiles declared as Attribute | |
---|---|
protected Attribute |
BasicAttributeContext.templateAttribute
The template attribute, to render a template. |
Fields in org.apache.tiles with type parameters of type Attribute | |
---|---|
protected Map<String,Attribute> |
BasicAttributeContext.attributes
Template attributes. |
protected Map<String,Attribute> |
BasicAttributeContext.cascadedAttributes
Cascaded template attributes. |
Methods in org.apache.tiles that return Attribute | |
---|---|
Attribute |
Attribute.clone()
|
static Attribute |
Attribute.createTemplateAttribute(String template)
Creates a template attribute, starting from the name of the template. |
static Attribute |
Attribute.createTemplateAttribute(String template,
String templateExpression,
String templateType,
String role)
Creates a template attribute, starting from the name of the template. |
static Attribute |
Attribute.createTemplateAttributeWithExpression(String templateExpression)
Creates a template attribute, starting from the expression to evaluate to obtain the template. |
Attribute |
BasicAttributeContext.getAttribute(String name)
Retrieve the named attribute, either cascaded or not. |
Attribute |
AttributeContext.getAttribute(String name)
Retrieve the named attribute, either cascaded or not. |
Attribute |
BasicAttributeContext.getCascadedAttribute(String name)
Retrieve the attribute that has been cascaded at upper levels. |
Attribute |
AttributeContext.getCascadedAttribute(String name)
Retrieve the attribute that has been cascaded at upper levels. |
Attribute |
BasicAttributeContext.getLocalAttribute(String name)
Retrieve the attribute that has been defined in this context (i.e. not cascaded). |
Attribute |
AttributeContext.getLocalAttribute(String name)
Retrieve the attribute that has been defined in this context (i.e. not cascaded). |
Attribute |
BasicAttributeContext.getTemplateAttribute()
Returns the attribute that will be used to render a template. |
Attribute |
AttributeContext.getTemplateAttribute()
Returns the attribute that will be used to render a template. |
Methods in org.apache.tiles that return types with arguments of type Attribute | |
---|---|
Map<String,Attribute> |
Definition.getAttributes()
Deprecated. Use AttributeContext.getLocalAttributeNames() and
AttributeContext.getCascadedAttributeNames() . |
Methods in org.apache.tiles with parameters of type Attribute | |
---|---|
void |
ListAttribute.add(Attribute element)
Add an element in list. |
void |
Definition.addAttribute(Attribute attribute)
Deprecated. Use BasicAttributeContext.putAttribute(String, Attribute) . |
Object |
TilesContainer.evaluate(Attribute attribute,
Object... requestItems)
Evaluates the given attribute. |
void |
Attribute.inherit(Attribute attribute)
Inherits an attribute, i.e. overwrites null properties with the ones provided by the attribute. |
void |
BasicAttributeContext.putAttribute(String name,
Attribute value)
Add the specified attribute. |
void |
AttributeContext.putAttribute(String name,
Attribute value)
Add the specified attribute. |
void |
BasicAttributeContext.putAttribute(String name,
Attribute value,
boolean cascade)
Add the specified attribute. |
void |
AttributeContext.putAttribute(String name,
Attribute value,
boolean cascade)
Add the specified attribute. |
void |
TilesContainer.render(Attribute attribute,
Object... requestItems)
Render the given Attribute. |
void |
TilesContainer.render(Attribute attribute,
Writer writer,
Object... requestItems)
Deprecated. Use TilesContainer.render(Attribute, Object...) . |
void |
BasicAttributeContext.setTemplateAttribute(Attribute templateAttribute)
Sets the template attribute, that will be used to render the template page. |
void |
AttributeContext.setTemplateAttribute(Attribute templateAttribute)
Sets the template attribute, that will be used to render the template page. |
Method parameters in org.apache.tiles with type arguments of type Attribute | |
---|---|
void |
BasicAttributeContext.addAll(Map<String,Attribute> newAttributes)
Add all attributes to this context. |
void |
AttributeContext.addAll(Map<String,Attribute> newAttributes)
Add all attributes to the context. |
void |
BasicAttributeContext.addMissing(Map<String,Attribute> defaultAttributes)
Add all missing attributes to this context. |
void |
AttributeContext.addMissing(Map<String,Attribute> defaultAttributes)
Add all attributes to the context. |
Constructors in org.apache.tiles with parameters of type Attribute | |
---|---|
Attribute(Attribute attribute)
Copy constructor. |
|
Definition(String name,
Attribute templateAttribute,
Map<String,Attribute> attributes)
Constructor. |
Constructor parameters in org.apache.tiles with type arguments of type Attribute | |
---|---|
BasicAttributeContext(Map<String,Attribute> attributes)
Constructor. |
|
Definition(String name,
Attribute templateAttribute,
Map<String,Attribute> attributes)
Constructor. |
|
Definition(String name,
String template,
Map<String,Attribute> attributes)
Deprecated. Use Definition.Definition(String, Attribute, Map) . |
Uses of Attribute in org.apache.tiles.context |
---|
Constructor parameters in org.apache.tiles.context with type arguments of type Attribute | |
---|---|
BasicAttributeContext(Map<String,Attribute> attributes)
Deprecated. Constructor. |
Uses of Attribute in org.apache.tiles.definition |
---|
Methods in org.apache.tiles.definition with parameters of type Attribute | |
---|---|
protected Definition |
DefinitionsImpl.getDefinitionByAttribute(Attribute attr,
Locale locale)
Deprecated. Searches for a definition specified as an attribute. |
Uses of Attribute in org.apache.tiles.evaluator |
---|
Methods in org.apache.tiles.evaluator with parameters of type Attribute | |
---|---|
Object |
AttributeEvaluator.evaluate(Attribute attribute,
TilesRequestContext request)
Evaluates an attribute value. |
Object |
AbstractAttributeEvaluator.evaluate(Attribute attribute,
TilesRequestContext request)
Evaluates an attribute value. |
AttributeEvaluator |
BasicAttributeEvaluatorFactory.getAttributeEvaluator(Attribute attribute)
Creates and attribute evaluator using an attribute. |
AttributeEvaluator |
AttributeEvaluatorFactory.getAttributeEvaluator(Attribute attribute)
Creates and attribute evaluator using an attribute. |
Uses of Attribute in org.apache.tiles.freemarker.renderer |
---|
Methods in org.apache.tiles.freemarker.renderer with parameters of type Attribute | |
---|---|
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. |
Uses of Attribute in org.apache.tiles.impl |
---|
Methods in org.apache.tiles.impl with parameters of type Attribute | |
---|---|
Object |
BasicTilesContainer.evaluate(Attribute attribute,
Object... requestItems)
Evaluates the given attribute. |
void |
BasicTilesContainer.render(Attribute attr,
Object... requestItems)
Render the given Attribute. |
void |
BasicTilesContainer.render(Attribute attr,
Writer writer,
Object... requestItems)
Deprecated. |
Uses of Attribute in org.apache.tiles.renderer |
---|
Methods in org.apache.tiles.renderer with parameters of type Attribute | |
---|---|
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. |
Uses of Attribute in org.apache.tiles.renderer.impl |
---|
Methods in org.apache.tiles.renderer.impl with parameters of type Attribute | |
---|---|
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 |
TemplateAttributeRenderer.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. |
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. |
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. |
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. |
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. |
Uses of Attribute in org.apache.tiles.template |
---|
Methods in org.apache.tiles.template that return 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. |
Attribute |
DefaultAttributeResolver.computeAttribute(TilesContainer container,
Attribute attribute,
String name,
String role,
boolean ignore,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
Object... requestItems)
Computes the attribute. |
Methods in org.apache.tiles.template with parameters of type 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. |
Attribute |
DefaultAttributeResolver.computeAttribute(TilesContainer container,
Attribute attribute,
String name,
String role,
boolean ignore,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
Object... requestItems)
Computes the attribute. |
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 |
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. |
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. |
Uses of Attribute in org.apache.tiles.velocity.renderer |
---|
Methods in org.apache.tiles.velocity.renderer with parameters of type Attribute | |
---|---|
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. |
Uses of Attribute in org.apache.tiles.velocity.template |
---|
Methods in org.apache.tiles.velocity.template that return Attribute | |
---|---|
Attribute |
VelocityStyleTilesTool.clone(Attribute attribute)
Creates an attribute that is a copy of the one passed as a parameter. |
Attribute |
VelocityStyleTilesTool.createAttribute()
Creates a new empty attribute. |
Attribute |
VelocityStyleTilesTool.createTemplateAttribute(String template)
Creates an attribute that represents a template. |
Attribute |
VelocityStyleTilesTool.get(String key)
Returns an attribute. |
Methods in org.apache.tiles.velocity.template with parameters of type Attribute | |
---|---|
Attribute |
VelocityStyleTilesTool.clone(Attribute attribute)
Creates an attribute that is a copy of the one passed as a parameter. |
org.apache.velocity.runtime.Renderable |
VelocityStyleTilesTool.render(Attribute attribute)
Renders an attribute. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |