|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Definition | |
---|---|
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. objects made of a template page and a number of filled attributes. |
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.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 |
---|
Constructors in org.apache.tiles with parameters of type Definition | |
---|---|
Definition(Definition definition)
Copy Constructor. |
Uses of Definition in org.apache.tiles.definition |
---|
Methods in org.apache.tiles.definition that return Definition | |
---|---|
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 |
DefinitionsFactory.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 |
UrlDefinitionsFactory.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. |
Methods in org.apache.tiles.definition that return types with arguments of type Definition | |
---|---|
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. |
Methods in org.apache.tiles.definition with parameters of type Definition | |
---|---|
protected void |
DefinitionsImpl.overload(Definition parent,
Definition child)
Deprecated. Use BasicAttributeContext.inherit(org.apache.tiles.AttributeContext) . |
protected void |
DefinitionsImpl.resolveInheritance(Definition definition,
Locale locale,
Set<String> alreadyResolvedDefinitions)
Deprecated. Resolve locale-specific inheritance. |
Method parameters in org.apache.tiles.definition with type arguments of type Definition | |
---|---|
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 parameters in org.apache.tiles.definition with type arguments of type Definition | |
---|---|
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. |
Uses of Definition in org.apache.tiles.definition.dao |
---|
Fields in org.apache.tiles.definition.dao with type parameters of type Definition | |
---|---|
protected Map<Locale,Map<String,Definition>> |
CachingLocaleUrlDefinitionDAO.locale2definitionMap
The locale-specific set of definitions objects. |
Methods in org.apache.tiles.definition.dao that return Definition | |
---|---|
Definition |
CachingLocaleUrlDefinitionDAO.WildcardMapping.getDefinition()
Returns the definition. |
Definition |
DefinitionDAO.getDefinition(String name,
K 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. |
Definition |
CachingLocaleUrlDefinitionDAO.getDefinition(String name,
Locale customizationKey)
Returns a definition, given its name and the customization key. |
protected Definition |
CachingLocaleUrlDefinitionDAO.replaceDefinition(Definition d,
String name,
Map<Integer,String> vars)
Creates a definition given its representation with wildcards. |
protected Definition |
CachingLocaleUrlDefinitionDAO.resolveWildcardDefinition(List<CachingLocaleUrlDefinitionDAO.WildcardMapping> paths,
String name)
Try to resolve a wildcard definition. |
Methods in org.apache.tiles.definition.dao that return types with arguments of type Definition | |
---|---|
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> |
LocaleUrlDefinitionDAO.getDefinitions(Locale 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> |
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> |
CachingLocaleUrlDefinitionDAO.loadParentDefinitions(Locale parentLocale)
Loads parent definitions, i.e. definitions mapped to a parent locale. |
protected Map<String,Definition> |
ResolvingLocaleUrlDefinitionDAO.loadParentDefinitions(Locale parentLocale)
Loads parent definitions, i.e. definitions mapped to a parent locale. |
protected Map<String,Definition> |
CachingLocaleUrlDefinitionDAO.loadRawDefinitionsFromURLs(Locale customizationKey)
Deprecated. Use CachingLocaleUrlDefinitionDAO.loadDefinitionsFromURLs(Locale) . |
Methods in org.apache.tiles.definition.dao with parameters of type Definition | |
---|---|
protected Definition |
CachingLocaleUrlDefinitionDAO.replaceDefinition(Definition d,
String name,
Map<Integer,String> vars)
Creates a definition given its representation with wildcards. |
protected 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 Definition | |
---|---|
protected void |
CachingLocaleUrlDefinitionDAO.addWildcardPaths(List<CachingLocaleUrlDefinitionDAO.WildcardMapping> paths,
Map<String,Definition> defsMap)
Adds wildcard paths that are stored inside a normal definition map. |
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)
Operations to be done after definitions are loaded. |
protected void |
ResolvingLocaleUrlDefinitionDAO.postDefinitionLoadOperations(Map<String,Definition> localeDefsMap,
Locale customizationKey)
Operations to be done after definitions are loaded. |
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. |
Constructors in org.apache.tiles.definition.dao with parameters of type Definition | |
---|---|
CachingLocaleUrlDefinitionDAO.WildcardMapping(String pattern,
Definition definition)
Constructor. |
Uses of Definition in org.apache.tiles.definition.digester |
---|
Methods in org.apache.tiles.definition.digester that return types with arguments of type Definition | |
---|---|
Map<String,Definition> |
DigesterDefinitionsReader.read(Object source)
Reads objects from a source. |
Methods in org.apache.tiles.definition.digester with parameters of type Definition | |
---|---|
void |
DigesterDefinitionsReader.addDefinition(Definition definition)
Adds a new Definition to the internal Map or replaces
an existing one. |
Method parameters in org.apache.tiles.definition.digester with type arguments of type Definition | |
---|---|
protected String |
DigesterDefinitionsReader.getNextUniqueDefinitionName(Map<String,Definition> definitions)
Create a unique definition name usable to store anonymous definitions. |
Uses of Definition in org.apache.tiles.impl |
---|
Methods in org.apache.tiles.impl that return Definition | |
---|---|
protected Definition |
KeyedDefinitionsFactoryTilesContainer.getDefinition(String definitionName,
TilesRequestContext request)
Returns a definition specifying its name. |
protected Definition |
BasicTilesContainer.getDefinition(String definitionName,
TilesRequestContext request)
Returns a definition specifying its name. |
Methods in org.apache.tiles.impl with parameters of type Definition | |
---|---|
protected void |
BasicTilesContainer.render(TilesRequestContext request,
Definition definition)
Renders the specified definition |
Uses of Definition in org.apache.tiles.impl.mgmt |
---|
Methods in org.apache.tiles.impl.mgmt that return Definition | |
---|---|
protected Definition |
CachingTilesContainer.getDefinition(String definition,
TilesRequestContext context)
Returns a definition specifying its name. |
Definition |
DefinitionManager.getDefinition(String definition,
TilesRequestContext request)
Returns a definition by name. |
protected Definition |
CachingKeyedDefinitionsFactoryTilesContainer.getDefinition(String definition,
TilesRequestContext context)
Returns a definition specifying its name. |
Methods in org.apache.tiles.impl.mgmt that return types with arguments of type Definition | |
---|---|
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. |
Methods in org.apache.tiles.impl.mgmt with parameters of type Definition | |
---|---|
void |
DefinitionManager.addDefinition(Definition definition,
TilesRequestContext request)
Adds a definition to the set of custom ones. |
protected void |
DefinitionManager.overload(Definition parent,
Definition child)
Deprecated. Use Definition#inherit(Definition) . |
void |
CachingTilesContainer.register(Definition definition,
Object... requestItems)
Register a new definition with the container. |
void |
CachingKeyedDefinitionsFactoryTilesContainer.register(Definition definition,
Object... requestItems)
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)
Registers a custom definition. |
protected void |
DefinitionManager.resolveInheritance(Definition definition,
TilesRequestContext request)
Resolve inheritance. |
Method parameters in org.apache.tiles.impl.mgmt with type arguments of type Definition | |
---|---|
protected String |
DefinitionManager.getNextUniqueDefinitionName(Map<String,Definition> definitions)
Create a unique definition name usable to store anonymous definitions. |
Uses of Definition in org.apache.tiles.mgmt |
---|
Methods in org.apache.tiles.mgmt with parameters of type Definition | |
---|---|
void |
MutableTilesContainer.register(Definition definition,
Object... requestItems)
Register a new definition with the container. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |