Uses of Class
org.apache.tiles.Attribute
-
Packages that use Attribute Package Description org.apache.tiles The Tiles taglib and framework allows building web pages by assembling reusable pieces of pages, called Tiles.org.apache.tiles.evaluator Interfaces to manage attribute value evaluation.org.apache.tiles.impl It contains the basic implementations of Tiles container.org.apache.tiles.jsp.taglib The "tiles-jsp" tag library contains tags that are useful to create templates, subpages other reusable view parts using the "tiles-core" package.org.apache.tiles.template Tiles template classes, that enable to write support code for template languages (JSP, FreeMarker, Velocity).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 Modifier and Type Class Description class
ListAttribute
An attribute as aList
.Fields in org.apache.tiles declared as Attribute Modifier and Type Field Description protected Attribute
BasicAttributeContext. templateAttribute
The template attribute, to render a template.Fields in org.apache.tiles with type parameters of type Attribute Modifier and Type Field Description protected java.util.Map<java.lang.String,Attribute>
BasicAttributeContext. attributes
Template attributes.protected java.util.Map<java.lang.String,Attribute>
BasicAttributeContext. cascadedAttributes
Cascaded template attributes.Methods in org.apache.tiles that return Attribute Modifier and Type Method Description Attribute
Attribute. clone()
static Attribute
Attribute. createTemplateAttribute(java.lang.String template)
Creates a template attribute, starting from the name of the template.static Attribute
Attribute. createTemplateAttribute(java.lang.String template, java.lang.String templateExpression, java.lang.String templateType, java.lang.String role)
Creates a template attribute, starting from the name of the template.static Attribute
Attribute. createTemplateAttributeWithExpression(java.lang.String templateExpression)
Creates a template attribute, starting from the expression to evaluate to obtain the template.Attribute
AttributeContext. getAttribute(java.lang.String name)
Retrieve the named attribute, either cascaded or not.Attribute
BasicAttributeContext. getAttribute(java.lang.String name)
Retrieve the named attribute, either cascaded or not.Attribute
AttributeContext. getCascadedAttribute(java.lang.String name)
Retrieve the attribute that has been cascaded at upper levels.Attribute
BasicAttributeContext. getCascadedAttribute(java.lang.String name)
Retrieve the attribute that has been cascaded at upper levels.Attribute
AttributeContext. getLocalAttribute(java.lang.String name)
Retrieve the attribute that has been defined in this context (i.e.Attribute
BasicAttributeContext. getLocalAttribute(java.lang.String name)
Retrieve the attribute that has been defined in this context (i.e.Attribute
AttributeContext. getTemplateAttribute()
Returns the attribute that will be used to render a template.Attribute
BasicAttributeContext. 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 Modifier and Type Method Description java.util.List<Attribute>
ListAttribute. getValue()
Returns the list of the attributes that are elements of this attribute.Methods in org.apache.tiles with parameters of type Attribute Modifier and Type Method Description void
ListAttribute. add(Attribute element)
Add an element in list.java.lang.Object
TilesContainer. evaluate(Attribute attribute, org.apache.tiles.request.Request request)
Evaluates the given attribute.java.lang.Object
TilesContainerWrapper. evaluate(Attribute attribute, org.apache.tiles.request.Request request)
void
Attribute. inherit(Attribute attribute)
Inherits an attribute, i.e.void
AttributeContext. putAttribute(java.lang.String name, Attribute value)
Add the specified attribute.void
AttributeContext. putAttribute(java.lang.String name, Attribute value, boolean cascade)
Add the specified attribute.void
BasicAttributeContext. putAttribute(java.lang.String name, Attribute value)
Add the specified attribute.void
BasicAttributeContext. putAttribute(java.lang.String name, Attribute value, boolean cascade)
Add the specified attribute.void
TilesContainer. render(Attribute attribute, org.apache.tiles.request.Request request)
Render the given Attribute.void
TilesContainerWrapper. render(Attribute attribute, org.apache.tiles.request.Request request)
void
AttributeContext. setTemplateAttribute(Attribute templateAttribute)
Sets the template attribute, that will be used to render the template page.void
BasicAttributeContext. 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 Modifier and Type Method Description void
AttributeContext. addAll(java.util.Map<java.lang.String,Attribute> newAttributes)
Add all attributes to the context.void
BasicAttributeContext. addAll(java.util.Map<java.lang.String,Attribute> newAttributes)
Add all attributes to this context.void
AttributeContext. addMissing(java.util.Map<java.lang.String,Attribute> defaultAttributes)
Add all attributes to the context.void
BasicAttributeContext. addMissing(java.util.Map<java.lang.String,Attribute> defaultAttributes)
Add all missing attributes to this context.void
ListAttribute. setValue(java.util.List<Attribute> attributes)
Sets the list of the attributes that are elements of this attribute.Constructors in org.apache.tiles with parameters of type Attribute Constructor Description Attribute(Attribute attribute)
Copy constructor.Definition(java.lang.String name, Attribute templateAttribute, java.util.Map<java.lang.String,Attribute> attributes)
Constructor.Constructor parameters in org.apache.tiles with type arguments of type Attribute Constructor Description BasicAttributeContext(java.util.Map<java.lang.String,Attribute> attributes)
Constructor.Definition(java.lang.String name, Attribute templateAttribute, java.util.Map<java.lang.String,Attribute> attributes)
Constructor.ListAttribute(java.util.List<Attribute> value)
Constructor. -
Uses of Attribute in org.apache.tiles.evaluator
Methods in org.apache.tiles.evaluator with parameters of type Attribute Modifier and Type Method Description java.lang.Object
AbstractAttributeEvaluator. evaluate(Attribute attribute, org.apache.tiles.request.Request request)
Evaluates an attribute value.java.lang.Object
AttributeEvaluator. evaluate(Attribute attribute, org.apache.tiles.request.Request request)
Evaluates an attribute value.AttributeEvaluator
AttributeEvaluatorFactory. getAttributeEvaluator(Attribute attribute)
Creates and attribute evaluator using an attribute.AttributeEvaluator
BasicAttributeEvaluatorFactory. getAttributeEvaluator(Attribute attribute)
Creates and attribute evaluator using an attribute. -
Uses of Attribute in org.apache.tiles.impl
Methods in org.apache.tiles.impl with parameters of type Attribute Modifier and Type Method Description java.lang.Object
BasicTilesContainer. evaluate(Attribute attribute, org.apache.tiles.request.Request request)
Evaluates the given attribute.void
BasicTilesContainer. render(Attribute attr, org.apache.tiles.request.Request request)
Render the given Attribute. -
Uses of Attribute in org.apache.tiles.jsp.taglib
Methods in org.apache.tiles.jsp.taglib that return Attribute Modifier and Type Method Description Attribute
GetAsStringTag. getValue()
Getter for value property.Attribute
InsertAttributeTag. getValue()
Getter for value property.Methods in org.apache.tiles.jsp.taglib with parameters of type Attribute Modifier and Type Method Description void
GetAsStringTag. setValue(Attribute value)
Setter for value property.void
InsertAttributeTag. setValue(Attribute value)
Setter for value property. -
Uses of Attribute in org.apache.tiles.template
Methods in org.apache.tiles.template that return Attribute Modifier and Type Method Description Attribute
AttributeResolver. computeAttribute(TilesContainer container, Attribute attribute, java.lang.String name, java.lang.String role, boolean ignore, java.lang.Object defaultValue, java.lang.String defaultValueRole, java.lang.String defaultValueType, org.apache.tiles.request.Request request)
Computes the attribute.Attribute
DefaultAttributeResolver. computeAttribute(TilesContainer container, Attribute attribute, java.lang.String name, java.lang.String role, boolean ignore, java.lang.Object defaultValue, java.lang.String defaultValueRole, java.lang.String defaultValueType, org.apache.tiles.request.Request request)
Computes the attribute.Methods in org.apache.tiles.template with parameters of type Attribute Modifier and Type Method Description Attribute
AttributeResolver. computeAttribute(TilesContainer container, Attribute attribute, java.lang.String name, java.lang.String role, boolean ignore, java.lang.Object defaultValue, java.lang.String defaultValueRole, java.lang.String defaultValueType, org.apache.tiles.request.Request request)
Computes the attribute.Attribute
DefaultAttributeResolver. computeAttribute(TilesContainer container, Attribute attribute, java.lang.String name, java.lang.String role, boolean ignore, java.lang.Object defaultValue, java.lang.String defaultValueRole, java.lang.String defaultValueType, org.apache.tiles.request.Request request)
Computes the attribute.void
GetAsStringModel. execute(boolean ignore, java.lang.String preparer, java.lang.String role, java.lang.Object defaultValue, java.lang.String defaultValueRole, java.lang.String defaultValueType, java.lang.String name, Attribute value, org.apache.tiles.request.Request request, org.apache.tiles.autotag.core.runtime.ModelBody modelBody)
Executes the operation.void
InsertAttributeModel. execute(boolean ignore, java.lang.String preparer, java.lang.String role, java.lang.Object defaultValue, java.lang.String defaultValueRole, java.lang.String defaultValueType, java.lang.String name, Attribute value, boolean flush, org.apache.tiles.request.Request request, org.apache.tiles.autotag.core.runtime.ModelBody modelBody)
Executes the operation. -
Uses of Attribute in org.apache.tiles.velocity.template
Methods in org.apache.tiles.velocity.template that return Attribute Modifier and Type Method Description 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(java.lang.String template)
Creates an attribute that represents a template.Attribute
VelocityStyleTilesTool. get(java.lang.String key)
Returns an attribute.Methods in org.apache.tiles.velocity.template with parameters of type Attribute Modifier and Type Method Description 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.
-