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.definition |
It contains classes and interfaces to allow manipulations of "definitions", i.e.
|
org.apache.tiles.definition.dao |
Classes to simply load definitions depending on a customization key.
|
org.apache.tiles.definition.digester |
Allows reading definitions with the use of Jakarta Commons Digester.
|
org.apache.tiles.definition.pattern |
Classes to manage pattern matching in definition names, and substitution in attributes.
|
org.apache.tiles.definition.pattern.regexp |
In Tiles it is possible to use regular expression patterns thanks to this package.
|
org.apache.tiles.definition.pattern.wildcard |
In Tiles it is possible to use wildcard patterns thanks to 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.mgmt |
Classes and interfaces to be used when it is needed to create Tiles definitions
during the execution of the application.
|
Constructor and Description |
---|
Definition(Definition definition)
Copy Constructor.
|
Modifier and Type | Method and Description |
---|---|
Definition |
DefinitionsImpl.getDefinition(String name)
Deprecated.
Returns a Definition object that matches the given name.
|
Definition |
Definitions.getDefinition(String name)
Deprecated.
Returns a Definition object that matches the given name.
|
Definition |
DefinitionsImpl.getDefinition(String name,
Locale locale)
Deprecated.
Returns a Definition object that matches the given name and locale.
|
Definition |
Definitions.getDefinition(String name,
Locale locale)
Deprecated.
Returns a Definition object that matches the given name and locale.
|
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 Definition |
DefinitionsImpl.getDefinitionByAttribute(Attribute attr,
Locale locale)
Deprecated.
Searches for a definition specified as an attribute.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Definition> |
DefinitionsImpl.getBaseDefinitions()
Deprecated.
Returns base definitions collection.
|
Map<String,Definition> |
Definitions.getBaseDefinitions()
Deprecated.
Returns base definitions collection.
|
Map<String,Definition> |
DefinitionsReader.read(Object source)
Reads
objects from a source. |
Modifier and Type | Method and Description |
---|---|
protected void |
DefinitionsImpl.overload(Definition parent,
Definition child)
Deprecated.
|
protected void |
DefinitionsImpl.resolveInheritance(Definition definition,
Locale locale,
Set<String> alreadyResolvedDefinitions)
Deprecated.
Resolve locale-specific inheritance.
|
Modifier and Type | Method and Description |
---|---|
void |
DefinitionsImpl.addDefinitions(Map<String,Definition> defsMap)
Deprecated.
Adds new Definition objects to the internal collection and
resolves inheritance attraibutes.
|
void |
Definitions.addDefinitions(Map<String,Definition> defsMap)
Deprecated.
Adds new Definition objects to the internal collection and
resolves inheritance attraibutes.
|
void |
DefinitionsImpl.addDefinitions(Map<String,Definition> defsMap,
Locale locale)
Deprecated.
Adds new locale-specific Definition objects to the internal
collection and resolves inheritance attraibutes.
|
void |
Definitions.addDefinitions(Map<String,Definition> defsMap,
Locale locale)
Deprecated.
Adds new locale-specific Definition objects to the internal
collection and resolves inheritance attraibutes.
|
Constructor and Description |
---|
DefinitionsImpl(Map<String,Definition> baseDefinitions,
Map<Locale,Map<String,Definition>> localeSpecificDefinitions)
Deprecated.
Creates a new instance of DefinitionsImpl to be used as a wrapper.
|
DefinitionsImpl(Map<String,Definition> baseDefinitions,
Map<Locale,Map<String,Definition>> localeSpecificDefinitions)
Deprecated.
Creates a new instance of DefinitionsImpl to be used as a wrapper.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Locale,Map<String,Definition>> |
CachingLocaleUrlDefinitionDAO.locale2definitionMap
The 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.
|
Definition |
LocaleUrlDefinitionDAO.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 URLs 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.
|
Map<String,Definition> |
LocaleUrlDefinitionDAO.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> |
BaseLocaleUrlDefinitionDAO.loadDefinitionsFromURL(URL url)
Loads definitions from an URL without loading from "parent" URLs.
|
protected Map<String,Definition> |
CachingLocaleUrlDefinitionDAO.loadDefinitionsFromURLs(Locale customizationKey)
Loads definitions from the URLs.
|
protected Map<String,Definition> |
ResolvingLocaleUrlDefinitionDAO.loadDefinitionsFromURLs(Locale customizationKey)
Loads definitions from the URLs.
|
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.loadRawDefinitionsFromURLs(Locale customizationKey)
Deprecated.
|
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 |
CachingLocaleUrlDefinitionDAO.postDefinitionLoadOperations(Map<String,Definition> localeDefsMap,
Locale customizationKey)
Deprecated.
Never used.
|
protected void |
ResolvingLocaleUrlDefinitionDAO.postDefinitionLoadOperations(Map<String,Definition> localeDefsMap,
Locale customizationKey)
Deprecated.
|
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 | 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
Definition to the internal Map or replaces
an existing one. |
Modifier and Type | Method and Description |
---|---|
protected String |
DigesterDefinitionsReader.getNextUniqueDefinitionName(Map<String,Definition> definitions)
Create a unique definition name usable to store anonymous definitions.
|
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... vars)
Creates a definition given its representation with wildcards and
attribute values with placeholders, replacing real values into
placeholders.
|
Definition |
RegexpPatternDefinitionResolver.resolveDefinition(String name,
T customizationKey)
Resolves a definition searching in all patterns for the requested
customization key.
|
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.
|
Definition |
WildcardPatternDefinitionResolver.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> |
BasicPatternDefinitionResolver.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> |
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.
|
Map<String,Definition> |
RegexpPatternDefinitionResolver.storeDefinitionPatterns(Map<String,Definition> localeDefsMap,
T customizationKey)
Stores definition patterns.
|
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.
|
Map<String,Definition> |
WildcardPatternDefinitionResolver.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... vars)
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> |
BasicPatternDefinitionResolver.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> |
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.
|
Map<String,Definition> |
RegexpPatternDefinitionResolver.storeDefinitionPatterns(Map<String,Definition> localeDefsMap,
T customizationKey)
Stores definition patterns.
|
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.
|
Map<String,Definition> |
WildcardPatternDefinitionResolver.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 |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicTilesContainer.render(TilesRequestContext request,
Definition definition)
Renders the specified definition.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
DefinitionManager.addDefinition(Definition definition,
TilesRequestContext request)
Adds a definition to the set of custom ones.
|
protected void |
DefinitionManager.overload(Definition parent,
Definition child)
|
void |
CachingTilesContainer.register(Definition definition,
Object... requestItems)
Register a new definition with the container.
|
void |
CachingKeyedDefinitionsFactoryTilesContainer.register(Definition definition,
Object... requestItems)
Deprecated.
Register a new definition with the container.
|
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 | Method and Description |
---|---|
protected String |
DefinitionManager.getNextUniqueDefinitionName(Map<String,Definition> definitions)
Create a unique definition name usable to store anonymous definitions.
|
Modifier and Type | Method and Description |
---|---|
void |
MutableTilesContainer.register(Definition definition,
Object... requestItems)
Register a new definition with the container.
|
Copyright © 2017. All rights reserved.