Uses of Class
org.apache.tiles.Definition
-
Packages that use Definition 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. -
-
Uses of Definition in org.apache.tiles
Methods in org.apache.tiles that return Definition 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)
Methods in org.apache.tiles with parameters of type Definition 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)
Constructors in org.apache.tiles with parameters of type Definition Constructor Description Definition(Definition definition)
Copy Constructor. -
Uses of Definition in org.apache.tiles.definition
Methods in org.apache.tiles.definition that return Definition 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.Methods in org.apache.tiles.definition that return types with arguments of type Definition Modifier and Type Method Description java.util.Map<java.lang.String,Definition>
DefinitionsReader. read(java.lang.Object source)
Reads
objects from a source.Definition
-
Uses of Definition in org.apache.tiles.definition.dao
Fields in org.apache.tiles.definition.dao with type parameters of type Definition 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.Methods in org.apache.tiles.definition.dao that return Definition 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.Methods in org.apache.tiles.definition.dao that return types with arguments of type Definition 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.Methods in org.apache.tiles.definition.dao with parameters of type Definition 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.Method parameters in org.apache.tiles.definition.dao with type arguments of type Definition 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. -
Uses of Definition in org.apache.tiles.definition.digester
Methods in org.apache.tiles.definition.digester that return types with arguments of type Definition Modifier and Type Method Description java.util.Map<java.lang.String,Definition>
DigesterDefinitionsReader. read(java.lang.Object source)
Reads
objects from a source.Definition
Methods in org.apache.tiles.definition.digester with parameters of type Definition Modifier and Type Method Description void
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 Definition 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. -
Uses of Definition in org.apache.tiles.definition.pattern
Methods in org.apache.tiles.definition.pattern that return Definition 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.Methods in org.apache.tiles.definition.pattern that return types with arguments of type Definition 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.Methods in org.apache.tiles.definition.pattern with parameters of type Definition 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.Method parameters in org.apache.tiles.definition.pattern with type arguments of type Definition 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. -
Uses of Definition in org.apache.tiles.definition.pattern.regexp
Methods in org.apache.tiles.definition.pattern.regexp that return Definition 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.Methods in org.apache.tiles.definition.pattern.regexp with parameters of type Definition Modifier and Type Method Description DefinitionPatternMatcher
RegexpDefinitionPatternMatcherFactory. createDefinitionPatternMatcher(java.lang.String pattern, Definition definition)
Creates a new definition pattern matcher.Constructors in org.apache.tiles.definition.pattern.regexp with parameters of type Definition Constructor Description RegexpDefinitionPatternMatcher(java.lang.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 Definition 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.Methods in org.apache.tiles.definition.pattern.wildcard with parameters of type Definition Modifier and Type Method Description DefinitionPatternMatcher
WildcardDefinitionPatternMatcherFactory. createDefinitionPatternMatcher(java.lang.String pattern, Definition definition)
Creates a new definition pattern matcher.Constructors in org.apache.tiles.definition.pattern.wildcard with parameters of type Definition Constructor Description WildcardDefinitionPatternMatcher(java.lang.String pattern, Definition definition, WildcardHelper wildcardHelper)
Constructor. -
Uses of Definition in org.apache.tiles.impl
Methods in org.apache.tiles.impl that return Definition Modifier and Type Method Description Definition
BasicTilesContainer. getDefinition(java.lang.String definitionName, org.apache.tiles.request.Request request)
Returns a definition specifying its name.Methods in org.apache.tiles.impl with parameters of type Definition Modifier and Type Method Description void
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 Definition Modifier and Type Method Description Definition
CachingTilesContainer. getDefinition(java.lang.String definition, org.apache.tiles.request.Request request)
Returns a definition by name.Methods in org.apache.tiles.impl.mgmt with parameters of type Definition Modifier and Type Method Description void
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 Definition Modifier and Type Method Description void
MutableTilesContainer. register(Definition definition, org.apache.tiles.request.Request request)
Register a new definition with the container.
-