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.
|
Modifier and Type | Method | Description |
---|---|---|
Definition |
TilesContainer.getDefinition(java.lang.String definitionName,
org.apache.tiles.request.Request request) |
Returns a definition specifying its name.
|
Definition |
TilesContainerWrapper.getDefinition(java.lang.String definitionName,
org.apache.tiles.request.Request request) |
Modifier and Type | Method | Description |
---|---|---|
void |
TilesContainer.render(Definition definition,
org.apache.tiles.request.Request request) |
Renders the specified definition.
|
void |
TilesContainerWrapper.render(Definition definition,
org.apache.tiles.request.Request request) |
Constructor | Description |
---|---|
Definition(Definition definition) |
Copy Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
Definition |
DefinitionsFactory.getDefinition(java.lang.String name,
org.apache.tiles.request.Request tilesContext) |
Returns a Definition object that matches the given name and
Tiles context.
|
Definition |
LocaleDefinitionsFactory.getDefinition(java.lang.String name,
org.apache.tiles.request.Request tilesContext) |
Returns a Definition object that matches the given name and
Tiles context.
|
Definition |
UnresolvingLocaleDefinitionsFactory.getDefinition(java.lang.String name,
org.apache.tiles.request.Request tilesContext) |
Returns a Definition object that matches the given name and
Tiles context.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<java.lang.String,Definition> |
DefinitionsReader.read(java.lang.Object source) |
Reads
objects from a source. |
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Map<java.util.Locale,java.util.Map<java.lang.String,Definition>> |
CachingLocaleUrlDefinitionDAO.locale2definitionMap |
The locale-specific set of definitions objects.
|
Modifier and Type | Method | Description |
---|---|---|
Definition |
CachingLocaleUrlDefinitionDAO.getDefinition(java.lang.String name,
java.util.Locale customizationKey) |
Returns a definition, given its name and the customization key.
|
Definition |
DefinitionDAO.getDefinition(java.lang.String name,
K customizationKey) |
Returns a definition, given its name and the customization key.
|
Definition |
LocaleUrlDefinitionDAO.getDefinition(java.lang.String name,
java.util.Locale customizationKey) |
Returns a definition, given its name and the customization key.
|
protected Definition |
CachingLocaleUrlDefinitionDAO.getDefinitionFromResolver(java.lang.String name,
java.util.Locale customizationKey) |
Returns a definition from the definition resolver.
|
protected Definition |
ResolvingLocaleUrlDefinitionDAO.getDefinitionFromResolver(java.lang.String name,
java.util.Locale customizationKey) |
Returns a definition from the definition resolver.
|
Modifier and Type | Method | Description |
---|---|---|
protected java.util.Map<java.lang.String,Definition> |
CachingLocaleUrlDefinitionDAO.checkAndloadDefinitions(java.util.Locale customizationKey) |
Checks if sources have changed.
|
protected java.util.Map<java.lang.String,Definition> |
CachingLocaleUrlDefinitionDAO.copyDefinitionMap(java.util.Map<java.lang.String,Definition> localeDefsMap) |
Copies the definition map to be passed to a higher level of customization
key.
|
protected java.util.Map<java.lang.String,Definition> |
ResolvingLocaleUrlDefinitionDAO.copyDefinitionMap(java.util.Map<java.lang.String,Definition> localeDefsMap) |
Copies the definition map to be passed to a higher level of customization
key.
|
java.util.Map<java.lang.String,Definition> |
CachingLocaleUrlDefinitionDAO.getDefinitions(java.util.Locale customizationKey) |
Returns all the definitions used of a customization key.
|
java.util.Map<java.lang.String,Definition> |
DefinitionDAO.getDefinitions(K customizationKey) |
Returns all the definitions used of a customization key.
|
java.util.Map<java.lang.String,Definition> |
LocaleUrlDefinitionDAO.getDefinitions(java.util.Locale customizationKey) |
Returns all the definitions used of a customization key.
|
protected java.util.Map<java.lang.String,Definition> |
CachingLocaleUrlDefinitionDAO.loadDefinitions(java.util.Locale customizationKey) |
Tries to load definitions if necessary.
|
protected java.util.Map<java.lang.String,Definition> |
ResolvingLocaleUrlDefinitionDAO.loadDefinitions(java.util.Locale customizationKey) |
|
protected java.util.Map<java.lang.String,Definition> |
BaseLocaleUrlDefinitionDAO.loadDefinitionsFromResource(org.apache.tiles.request.ApplicationResource resource) |
Loads definitions from an URL without loading from "parent" URLs.
|
protected java.util.Map<java.lang.String,Definition> |
CachingLocaleUrlDefinitionDAO.loadDefinitionsFromResources(java.util.Locale customizationKey) |
Loads definitions from the sources.
|
protected java.util.Map<java.lang.String,Definition> |
CachingLocaleUrlDefinitionDAO.loadParentDefinitions(java.util.Locale parentLocale) |
Loads parent definitions, i.e.
|
protected java.util.Map<java.lang.String,Definition> |
ResolvingLocaleUrlDefinitionDAO.loadParentDefinitions(java.util.Locale parentLocale) |
Loads parent definitions, i.e.
|
protected java.util.Map<java.lang.String,Definition> |
CachingLocaleUrlDefinitionDAO.loadRawDefinitionsFromResources(java.util.Locale customizationKey) |
Loads the raw definitions from the sources associated with a locale.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
ResolvingLocaleUrlDefinitionDAO.resolveInheritance(Definition definition,
java.util.Map<java.lang.String,Definition> definitions,
java.util.Locale locale,
java.util.Set<java.lang.String> alreadyResolvedDefinitions) |
Resolve locale-specific inheritance.
|
Modifier and Type | Method | Description |
---|---|---|
protected java.util.Map<java.lang.String,Definition> |
CachingLocaleUrlDefinitionDAO.copyDefinitionMap(java.util.Map<java.lang.String,Definition> localeDefsMap) |
Copies the definition map to be passed to a higher level of customization
key.
|
protected java.util.Map<java.lang.String,Definition> |
ResolvingLocaleUrlDefinitionDAO.copyDefinitionMap(java.util.Map<java.lang.String,Definition> localeDefsMap) |
Copies the definition map to be passed to a higher level of customization
key.
|
protected void |
ResolvingLocaleUrlDefinitionDAO.resolveInheritance(Definition definition,
java.util.Map<java.lang.String,Definition> definitions,
java.util.Locale locale,
java.util.Set<java.lang.String> alreadyResolvedDefinitions) |
Resolve locale-specific inheritance.
|
protected void |
ResolvingLocaleUrlDefinitionDAO.resolveInheritances(java.util.Map<java.lang.String,Definition> map,
java.util.Locale locale) |
Resolve locale-specific extended instances.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<java.lang.String,Definition> |
DigesterDefinitionsReader.read(java.lang.Object source) |
Reads
objects from a source. |
Modifier and Type | Method | Description |
---|---|---|
void |
DigesterDefinitionsReader.addDefinition(Definition definition) |
Adds a new
Definition to the internal Map or replaces
an existing one. |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
DigesterDefinitionsReader.getNextUniqueDefinitionName(java.util.Map<java.lang.String,Definition> definitions) |
Create a unique definition name usable to store anonymous definitions.
|
Modifier and Type | Method | Description |
---|---|---|
Definition |
DefinitionPatternMatcher.createDefinition(java.lang.String definitionName) |
Creates a definition, given the definition name, through the use of
pattern matching.
|
static Definition |
PatternUtil.replacePlaceholders(Definition d,
java.lang.String name,
java.lang.Object... varsOrig) |
Creates a definition given its representation with wildcards and
attribute values with placeholders, replacing real values into
placeholders.
|
Definition |
AbstractPatternDefinitionResolver.resolveDefinition(java.lang.String name,
T customizationKey) |
Resolves a definition searching in all patterns for the requested
customization key.
|
Definition |
PatternDefinitionResolver.resolveDefinition(java.lang.String name,
T customizationKey) |
Resolves a definition searching in all patterns for the requested
customization key.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract java.util.Map<java.lang.String,Definition> |
AbstractPatternDefinitionResolver.addDefinitionsAsPatternMatchers(java.util.List<DefinitionPatternMatcher> matchers,
java.util.Map<java.lang.String,Definition> defsMap) |
Adds definitions, filtering and adding them to the list of definition
pattern matchers.
|
protected java.util.Map<java.lang.String,Definition> |
BasicPatternDefinitionResolver.addDefinitionsAsPatternMatchers(java.util.List<DefinitionPatternMatcher> matchers,
java.util.Map<java.lang.String,Definition> defsMap) |
Adds definitions, filtering and adding them to the list of definition
pattern matchers.
|
protected java.util.Map<java.lang.String,Definition> |
PrefixedPatternDefinitionResolver.addDefinitionsAsPatternMatchers(java.util.List<DefinitionPatternMatcher> matchers,
java.util.Map<java.lang.String,Definition> defsMap) |
Adds definitions, filtering and adding them to the list of definition
pattern matchers.
|
java.util.Map<java.lang.String,Definition> |
AbstractPatternDefinitionResolver.storeDefinitionPatterns(java.util.Map<java.lang.String,Definition> localeDefsMap,
T customizationKey) |
Stores definition patterns.
|
java.util.Map<java.lang.String,Definition> |
PatternDefinitionResolver.storeDefinitionPatterns(java.util.Map<java.lang.String,Definition> localeDefsMap,
T customizationKey) |
Stores definition patterns.
|
Modifier and Type | Method | Description |
---|---|---|
DefinitionPatternMatcher |
DefinitionPatternMatcherFactory.createDefinitionPatternMatcher(java.lang.String pattern,
Definition definition) |
Creates a new definition pattern matcher.
|
static Definition |
PatternUtil.replacePlaceholders(Definition d,
java.lang.String name,
java.lang.Object... varsOrig) |
Creates a definition given its representation with wildcards and
attribute values with placeholders, replacing real values into
placeholders.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract java.util.Map<java.lang.String,Definition> |
AbstractPatternDefinitionResolver.addDefinitionsAsPatternMatchers(java.util.List<DefinitionPatternMatcher> matchers,
java.util.Map<java.lang.String,Definition> defsMap) |
Adds definitions, filtering and adding them to the list of definition
pattern matchers.
|
protected java.util.Map<java.lang.String,Definition> |
BasicPatternDefinitionResolver.addDefinitionsAsPatternMatchers(java.util.List<DefinitionPatternMatcher> matchers,
java.util.Map<java.lang.String,Definition> defsMap) |
Adds definitions, filtering and adding them to the list of definition
pattern matchers.
|
protected java.util.Map<java.lang.String,Definition> |
PrefixedPatternDefinitionResolver.addDefinitionsAsPatternMatchers(java.util.List<DefinitionPatternMatcher> matchers,
java.util.Map<java.lang.String,Definition> defsMap) |
Adds definitions, filtering and adding them to the list of definition
pattern matchers.
|
java.util.Map<java.lang.String,Definition> |
AbstractPatternDefinitionResolver.storeDefinitionPatterns(java.util.Map<java.lang.String,Definition> localeDefsMap,
T customizationKey) |
Stores definition patterns.
|
java.util.Map<java.lang.String,Definition> |
PatternDefinitionResolver.storeDefinitionPatterns(java.util.Map<java.lang.String,Definition> localeDefsMap,
T customizationKey) |
Stores definition patterns.
|
Modifier and Type | Method | Description |
---|---|---|
Definition |
RegexpDefinitionPatternMatcher.createDefinition(java.lang.String definitionName) |
Creates a definition, given the definition name, through the use of
pattern matching.
|
Modifier and Type | Method | Description |
---|---|---|
DefinitionPatternMatcher |
RegexpDefinitionPatternMatcherFactory.createDefinitionPatternMatcher(java.lang.String pattern,
Definition definition) |
Creates a new definition pattern matcher.
|
Constructor | Description |
---|---|
RegexpDefinitionPatternMatcher(java.lang.String pattern,
Definition definition) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
Definition |
WildcardDefinitionPatternMatcher.createDefinition(java.lang.String definitionName) |
Creates a definition, given the definition name, through the use of
pattern matching.
|
Modifier and Type | Method | Description |
---|---|---|
DefinitionPatternMatcher |
WildcardDefinitionPatternMatcherFactory.createDefinitionPatternMatcher(java.lang.String pattern,
Definition definition) |
Creates a new definition pattern matcher.
|
Constructor | Description |
---|---|
WildcardDefinitionPatternMatcher(java.lang.String pattern,
Definition definition,
WildcardHelper wildcardHelper) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
Definition |
BasicTilesContainer.getDefinition(java.lang.String definitionName,
org.apache.tiles.request.Request request) |
Returns a definition specifying its name.
|
Modifier and Type | Method | Description |
---|---|---|
void |
BasicTilesContainer.render(Definition definition,
org.apache.tiles.request.Request request) |
Renders the specified definition.
|
Modifier and Type | Method | Description |
---|---|---|
Definition |
CachingTilesContainer.getDefinition(java.lang.String definition,
org.apache.tiles.request.Request request) |
Returns a definition by name.
|
Modifier and Type | Method | Description |
---|---|---|
void |
CachingTilesContainer.register(Definition definition,
org.apache.tiles.request.Request request) |
Register a new definition with the container.
|
Modifier and Type | Method | Description |
---|---|---|
void |
MutableTilesContainer.register(Definition definition,
org.apache.tiles.request.Request request) |
Register a new definition with the container.
|
Copyright © 2018. All rights reserved.