| Package | Description | 
|---|---|
| org.apache.struts2.tiles | |
| org.apache.tiles.api | The Tiles taglib and framework allows building web pages by assembling reusable
 pieces of pages, called Tiles. | 
| org.apache.tiles.api.mgmt | Classes and interfaces to be used when it is needed to create Tiles definitions
 during the execution of the application. | 
| org.apache.tiles.core.definition | It contains classes and interfaces to allow manipulations of "definitions", i.e. | 
| org.apache.tiles.core.definition.dao | Classes to simply load definitions depending on a customization key. | 
| org.apache.tiles.core.definition.digester | Allows reading definitions with the use of Jakarta Commons Digester. | 
| org.apache.tiles.core.definition.pattern | Classes to manage pattern matching in definition names, and substitution in attributes. | 
| org.apache.tiles.core.definition.pattern.regexp | In Tiles it is possible to use regular expression patterns thanks to this package. | 
| org.apache.tiles.core.definition.pattern.wildcard | In Tiles it is possible to use wildcard patterns thanks to this package. | 
| org.apache.tiles.core.impl | It contains the basic implementations of Tiles container. | 
| org.apache.tiles.core.impl.mgmt | It contains the basic implementations of mutable Tiles containers. | 
| Modifier and Type | Method and Description | 
|---|---|
| Definition | StrutsTilesAnnotationProcessor. buildTilesDefinition(String tileName,
                    TilesDefinition tilesDefinition)Builds a  Definitionbased on givenTilesDefinitionwith
 given name. | 
| Modifier and Type | Method and Description | 
|---|---|
| Definition | TilesContainer. getDefinition(String definitionName,
             Request request)Returns a definition specifying its name. | 
| Definition | TilesContainerWrapper. getDefinition(String definitionName,
             Request request) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TilesContainer. render(Definition definition,
      Request request)Renders the specified definition. | 
| void | TilesContainerWrapper. render(Definition definition,
      Request request) | 
| Constructor and Description | 
|---|
| Definition(Definition definition)Copy Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MutableTilesContainer. register(Definition definition,
        Request request)Register a new definition with the container. | 
| Modifier and Type | Method and Description | 
|---|---|
| Definition | UnresolvingLocaleDefinitionsFactory. getDefinition(String name,
             Request tilesContext)Returns a Definition object that matches the given name and
 Tiles context. | 
| Definition | DefinitionsFactory. getDefinition(String name,
             Request tilesContext)Returns a Definition object that matches the given name and
 Tiles context. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,Definition> | DefinitionsReader. read(Object source)Reads  objects from a source. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<Locale,Map<String,Definition>> | CachingLocaleUrlDefinitionDAO. locale2definitionMapThe locale-specific set of definitions objects. | 
| Modifier and Type | Method and Description | 
|---|---|
| Definition | DefinitionDAO. getDefinition(String name,
             K customizationKey)Returns a definition, given its name and the customization key. | 
| Definition | CachingLocaleUrlDefinitionDAO. getDefinition(String name,
             Locale customizationKey)Returns a definition, given its name and the customization key. | 
| protected Definition | CachingLocaleUrlDefinitionDAO. getDefinitionFromResolver(String name,
                         Locale customizationKey)Returns a definition from the definition resolver. | 
| protected Definition | ResolvingLocaleUrlDefinitionDAO. getDefinitionFromResolver(String name,
                         Locale customizationKey)Returns a definition from the definition resolver. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Map<String,Definition> | CachingLocaleUrlDefinitionDAO. checkAndloadDefinitions(Locale customizationKey)Checks if sources have changed. | 
| protected Map<String,Definition> | CachingLocaleUrlDefinitionDAO. copyDefinitionMap(Map<String,Definition> localeDefsMap)Copies the definition map to be passed to a higher level of customization
 key. | 
| protected Map<String,Definition> | ResolvingLocaleUrlDefinitionDAO. copyDefinitionMap(Map<String,Definition> localeDefsMap)Copies the definition map to be passed to a higher level of customization
 key. | 
| Map<String,Definition> | DefinitionDAO. getDefinitions(K customizationKey)Returns all the definitions used of a customization key. | 
| Map<String,Definition> | CachingLocaleUrlDefinitionDAO. getDefinitions(Locale customizationKey)Returns all the definitions used of a customization key. | 
| protected Map<String,Definition> | CachingLocaleUrlDefinitionDAO. loadDefinitions(Locale customizationKey)Tries to load definitions if necessary. | 
| protected Map<String,Definition> | ResolvingLocaleUrlDefinitionDAO. loadDefinitions(Locale customizationKey) | 
| protected Map<String,Definition> | BaseLocaleUrlDefinitionDAO. loadDefinitionsFromResource(ApplicationResource resource)Loads definitions from an URL without loading from "parent" URLs. | 
| protected Map<String,Definition> | CachingLocaleUrlDefinitionDAO. loadDefinitionsFromResources(Locale customizationKey)Loads definitions from the sources. | 
| protected Map<String,Definition> | CachingLocaleUrlDefinitionDAO. loadParentDefinitions(Locale parentLocale)Loads parent definitions, i.e. | 
| protected Map<String,Definition> | ResolvingLocaleUrlDefinitionDAO. loadParentDefinitions(Locale parentLocale)Loads parent definitions, i.e. | 
| protected Map<String,Definition> | CachingLocaleUrlDefinitionDAO. loadRawDefinitionsFromResources(Locale customizationKey)Loads the raw definitions from the sources associated with a locale. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ResolvingLocaleUrlDefinitionDAO. resolveInheritance(Definition definition,
                  Map<String,Definition> definitions,
                  Locale locale,
                  Set<String> alreadyResolvedDefinitions)Resolve locale-specific inheritance. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Map<String,Definition> | CachingLocaleUrlDefinitionDAO. copyDefinitionMap(Map<String,Definition> localeDefsMap)Copies the definition map to be passed to a higher level of customization
 key. | 
| protected Map<String,Definition> | ResolvingLocaleUrlDefinitionDAO. copyDefinitionMap(Map<String,Definition> localeDefsMap)Copies the definition map to be passed to a higher level of customization
 key. | 
| protected void | ResolvingLocaleUrlDefinitionDAO. resolveInheritance(Definition definition,
                  Map<String,Definition> definitions,
                  Locale locale,
                  Set<String> alreadyResolvedDefinitions)Resolve locale-specific inheritance. | 
| protected void | ResolvingLocaleUrlDefinitionDAO. resolveInheritances(Map<String,Definition> map,
                   Locale locale)Resolve locale-specific extended instances. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,Definition> | DigesterDefinitionsReader. definitionsStores Definition objects. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,Definition> | DigesterDefinitionsReader. read(Object source)Reads  objects from a source. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DigesterDefinitionsReader. addDefinition(Definition definition)Adds a new  Definitionto the internal Map or replaces
 an existing one. | 
| Modifier and Type | Method and Description | 
|---|---|
| Definition | DefinitionPatternMatcher. createDefinition(String definitionName)Creates a definition, given the definition name, through the use of
 pattern matching. | 
| static Definition | PatternUtil. replacePlaceholders(Definition d,
                   String name,
                   Object... varsOrig)Creates a definition given its representation with wildcards and
 attribute values with placeholders, replacing real values into
 placeholders. | 
| Definition | PatternDefinitionResolver. resolveDefinition(String name,
                 T customizationKey)Resolves a definition searching in all patterns for the requested
 customization key. | 
| Definition | AbstractPatternDefinitionResolver. resolveDefinition(String name,
                 T customizationKey)Resolves a definition searching in all patterns for the requested
 customization key. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Map<String,Definition> | PrefixedPatternDefinitionResolver. addDefinitionsAsPatternMatchers(List<DefinitionPatternMatcher> matchers,
                               Map<String,Definition> defsMap)Adds definitions, filtering and adding them to the list of definition
 pattern matchers. | 
| protected abstract Map<String,Definition> | AbstractPatternDefinitionResolver. addDefinitionsAsPatternMatchers(List<DefinitionPatternMatcher> matchers,
                               Map<String,Definition> defsMap)Adds definitions, filtering and adding them to the list of definition
 pattern matchers. | 
| protected Map<String,Definition> | BasicPatternDefinitionResolver. addDefinitionsAsPatternMatchers(List<DefinitionPatternMatcher> matchers,
                               Map<String,Definition> defsMap)Adds definitions, filtering and adding them to the list of definition
 pattern matchers. | 
| Map<String,Definition> | PatternDefinitionResolver. storeDefinitionPatterns(Map<String,Definition> localeDefsMap,
                       T customizationKey)Stores definition patterns. | 
| Map<String,Definition> | AbstractPatternDefinitionResolver. storeDefinitionPatterns(Map<String,Definition> localeDefsMap,
                       T customizationKey)Stores definition patterns. | 
| Modifier and Type | Method and Description | 
|---|---|
| DefinitionPatternMatcher | DefinitionPatternMatcherFactory. createDefinitionPatternMatcher(String pattern,
                              Definition definition)Creates a new definition pattern matcher. | 
| static Definition | PatternUtil. replacePlaceholders(Definition d,
                   String name,
                   Object... varsOrig)Creates a definition given its representation with wildcards and
 attribute values with placeholders, replacing real values into
 placeholders. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Map<String,Definition> | PrefixedPatternDefinitionResolver. addDefinitionsAsPatternMatchers(List<DefinitionPatternMatcher> matchers,
                               Map<String,Definition> defsMap)Adds definitions, filtering and adding them to the list of definition
 pattern matchers. | 
| protected abstract Map<String,Definition> | AbstractPatternDefinitionResolver. addDefinitionsAsPatternMatchers(List<DefinitionPatternMatcher> matchers,
                               Map<String,Definition> defsMap)Adds definitions, filtering and adding them to the list of definition
 pattern matchers. | 
| protected Map<String,Definition> | BasicPatternDefinitionResolver. addDefinitionsAsPatternMatchers(List<DefinitionPatternMatcher> matchers,
                               Map<String,Definition> defsMap)Adds definitions, filtering and adding them to the list of definition
 pattern matchers. | 
| Map<String,Definition> | PatternDefinitionResolver. storeDefinitionPatterns(Map<String,Definition> localeDefsMap,
                       T customizationKey)Stores definition patterns. | 
| Map<String,Definition> | AbstractPatternDefinitionResolver. storeDefinitionPatterns(Map<String,Definition> localeDefsMap,
                       T customizationKey)Stores definition patterns. | 
| Modifier and Type | Method and Description | 
|---|---|
| Definition | RegexpDefinitionPatternMatcher. createDefinition(String definitionName)Creates a definition, given the definition name, through the use of
 pattern matching. | 
| Modifier and Type | Method and Description | 
|---|---|
| DefinitionPatternMatcher | RegexpDefinitionPatternMatcherFactory. createDefinitionPatternMatcher(String pattern,
                              Definition definition)Creates a new definition pattern matcher. | 
| Constructor and Description | 
|---|
| RegexpDefinitionPatternMatcher(String pattern,
                              Definition definition)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Definition | WildcardDefinitionPatternMatcher. createDefinition(String definitionName)Creates a definition, given the definition name, through the use of
 pattern matching. | 
| Modifier and Type | Method and Description | 
|---|---|
| DefinitionPatternMatcher | WildcardDefinitionPatternMatcherFactory. createDefinitionPatternMatcher(String pattern,
                              Definition definition)Creates a new definition pattern matcher. | 
| Constructor and Description | 
|---|
| WildcardDefinitionPatternMatcher(String pattern,
                                Definition definition,
                                WildcardHelper wildcardHelper)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Definition | BasicTilesContainer. getDefinition(String definitionName,
             Request request)Returns a definition specifying its name. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BasicTilesContainer. render(Definition definition,
      Request request)Renders the specified definition. | 
| Modifier and Type | Method and Description | 
|---|---|
| Definition | CachingTilesContainer. getDefinition(String definition,
             Request request)Returns a definition by name. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CachingTilesContainer. register(Definition definition,
        Request request)Register a new definition with the container. | 
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.