Uses of Class
org.apache.tiles.Definition
Packages that use Definition
Package
Description
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
It contains classes and interfaces to allow manipulations of "definitions", i.e.
Classes to simply load definitions depending on a customization key.
Allows reading definitions with the use of Jakarta Commons Digester.
Classes to manage pattern matching in definition names, and substitution in attributes.
In Tiles it is possible to use regular expression patterns thanks to this package.
In Tiles it is possible to use wildcard patterns thanks to this package.
It contains the basic implementations of Tiles container.
It contains the basic implementations of mutable Tiles containers.
Classes and interfaces to be used when it is needed to create Tiles definitions
during the execution of the application.
-
Uses of Definition in org.apache.tiles
Methods in org.apache.tiles that return DefinitionModifier and TypeMethodDescriptionTilesContainer.getDefinition
(String definitionName, org.apache.tiles.request.Request request) Returns a definition specifying its name.TilesContainerWrapper.getDefinition
(String definitionName, org.apache.tiles.request.Request request) Methods in org.apache.tiles with parameters of type DefinitionModifier and TypeMethodDescriptionvoid
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) Constructors in org.apache.tiles with parameters of type Definition -
Uses of Definition in org.apache.tiles.definition
Methods in org.apache.tiles.definition that return DefinitionModifier and TypeMethodDescriptionDefinitionsFactory.getDefinition
(String name, org.apache.tiles.request.Request tilesContext) Returns a Definition object that matches the given name and Tiles context.LocaleDefinitionsFactory.getDefinition
(String name, org.apache.tiles.request.Request tilesContext) Returns a Definition object that matches the given name and Tiles context.UnresolvingLocaleDefinitionsFactory.getDefinition
(String name, org.apache.tiles.request.Request tilesContext) Returns a Definition object that matches the given name and Tiles context.Methods in org.apache.tiles.definition that return types with arguments of type Definition -
Uses of Definition in org.apache.tiles.definition.dao
Fields in org.apache.tiles.definition.dao with type parameters of type DefinitionModifier and TypeFieldDescriptionprotected Map<Locale,
Map<String, Definition>> CachingLocaleUrlDefinitionDAO.locale2definitionMap
The locale-specific set of definitions objects.Methods in org.apache.tiles.definition.dao that return DefinitionModifier and TypeMethodDescriptionCachingLocaleUrlDefinitionDAO.getDefinition
(String name, Locale customizationKey) Returns a definition, given its name and the customization key.DefinitionDAO.getDefinition
(String name, K customizationKey) Returns a definition, given its name and the customization key.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.Methods in org.apache.tiles.definition.dao that return types with arguments of type DefinitionModifier and TypeMethodDescriptionprotected 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.CachingLocaleUrlDefinitionDAO.getDefinitions
(Locale customizationKey) Returns all the definitions used of a customization key.DefinitionDAO.getDefinitions
(K customizationKey) Returns all the definitions used of a customization key.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> ResolvingLocaleUrlDefinitionDAO.loadDefinitions
(Locale customizationKey) protected Map<String,
Definition> BaseLocaleUrlDefinitionDAO.loadDefinitionsFromResource
(org.apache.tiles.request.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.Methods in org.apache.tiles.definition.dao with parameters of type DefinitionModifier and TypeMethodDescriptionprotected void
ResolvingLocaleUrlDefinitionDAO.resolveInheritance
(Definition definition, Map<String, Definition> definitions, Locale locale, Set<String> alreadyResolvedDefinitions) Resolve locale-specific inheritance.Method parameters in org.apache.tiles.definition.dao with type arguments of type DefinitionModifier and TypeMethodDescriptionprotected 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. -
Uses of Definition in org.apache.tiles.definition.digester
Methods in org.apache.tiles.definition.digester that return types with arguments of type DefinitionMethods in org.apache.tiles.definition.digester with parameters of type DefinitionModifier and TypeMethodDescriptionvoid
DigesterDefinitionsReader.addDefinition
(Definition definition) Adds a newDefinition
to the internal Map or replaces an existing one.Method parameters in org.apache.tiles.definition.digester with type arguments of type DefinitionModifier and TypeMethodDescriptionprotected String
DigesterDefinitionsReader.getNextUniqueDefinitionName
(Map<String, Definition> definitions) Create a unique definition name usable to store anonymous definitions. -
Uses of Definition in org.apache.tiles.definition.pattern
Methods in org.apache.tiles.definition.pattern that return DefinitionModifier and TypeMethodDescriptionDefinitionPatternMatcher.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.AbstractPatternDefinitionResolver.resolveDefinition
(String name, T customizationKey) Resolves a definition searching in all patterns for the requested customization key.PatternDefinitionResolver.resolveDefinition
(String name, T customizationKey) Resolves a definition searching in all patterns for the requested customization key.Methods in org.apache.tiles.definition.pattern that return types with arguments of type DefinitionModifier and TypeMethodDescriptionprotected 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.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.AbstractPatternDefinitionResolver.storeDefinitionPatterns
(Map<String, Definition> localeDefsMap, T customizationKey) Stores definition patterns.PatternDefinitionResolver.storeDefinitionPatterns
(Map<String, Definition> localeDefsMap, T customizationKey) Stores definition patterns.Methods in org.apache.tiles.definition.pattern with parameters of type DefinitionModifier and TypeMethodDescriptionDefinitionPatternMatcherFactory.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.Method parameters in org.apache.tiles.definition.pattern with type arguments of type DefinitionModifier and TypeMethodDescriptionprotected 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.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.AbstractPatternDefinitionResolver.storeDefinitionPatterns
(Map<String, Definition> localeDefsMap, T customizationKey) Stores definition patterns.PatternDefinitionResolver.storeDefinitionPatterns
(Map<String, Definition> localeDefsMap, T customizationKey) Stores definition patterns. -
Uses of Definition in org.apache.tiles.definition.pattern.regexp
Methods in org.apache.tiles.definition.pattern.regexp that return DefinitionModifier and TypeMethodDescriptionRegexpDefinitionPatternMatcher.createDefinition
(String definitionName) Creates a definition, given the definition name, through the use of pattern matching.Methods in org.apache.tiles.definition.pattern.regexp with parameters of type DefinitionModifier and TypeMethodDescriptionRegexpDefinitionPatternMatcherFactory.createDefinitionPatternMatcher
(String pattern, Definition definition) Creates a new definition pattern matcher.Constructors in org.apache.tiles.definition.pattern.regexp with parameters of type DefinitionModifierConstructorDescriptionRegexpDefinitionPatternMatcher
(String pattern, Definition definition) Constructor. -
Uses of Definition in org.apache.tiles.definition.pattern.wildcard
Methods in org.apache.tiles.definition.pattern.wildcard that return DefinitionModifier and TypeMethodDescriptionWildcardDefinitionPatternMatcher.createDefinition
(String definitionName) Creates a definition, given the definition name, through the use of pattern matching.Methods in org.apache.tiles.definition.pattern.wildcard with parameters of type DefinitionModifier and TypeMethodDescriptionWildcardDefinitionPatternMatcherFactory.createDefinitionPatternMatcher
(String pattern, Definition definition) Creates a new definition pattern matcher.Constructors in org.apache.tiles.definition.pattern.wildcard with parameters of type DefinitionModifierConstructorDescriptionWildcardDefinitionPatternMatcher
(String pattern, Definition definition, WildcardHelper wildcardHelper) Constructor. -
Uses of Definition in org.apache.tiles.impl
Methods in org.apache.tiles.impl that return DefinitionModifier and TypeMethodDescriptionBasicTilesContainer.getDefinition
(String definitionName, org.apache.tiles.request.Request request) Returns a definition specifying its name.Methods in org.apache.tiles.impl with parameters of type DefinitionModifier and TypeMethodDescriptionvoid
BasicTilesContainer.render
(Definition definition, org.apache.tiles.request.Request request) Renders the specified definition. -
Uses of Definition in org.apache.tiles.impl.mgmt
Methods in org.apache.tiles.impl.mgmt that return DefinitionModifier and TypeMethodDescriptionCachingTilesContainer.getDefinition
(String definition, org.apache.tiles.request.Request request) Returns a definition by name.Methods in org.apache.tiles.impl.mgmt with parameters of type DefinitionModifier and TypeMethodDescriptionvoid
CachingTilesContainer.register
(Definition definition, org.apache.tiles.request.Request request) Register a new definition with the container. -
Uses of Definition in org.apache.tiles.mgmt
Methods in org.apache.tiles.mgmt with parameters of type DefinitionModifier and TypeMethodDescriptionvoid
MutableTilesContainer.register
(Definition definition, org.apache.tiles.request.Request request) Register a new definition with the container.