Home » tiles-2.2.1-src » org.apache » tiles » factory » [javadoc | source]
org.apache.tiles.factory
public class: BasicTilesContainerFactory [javadoc | source]
java.lang.Object
   org.apache.tiles.factory.AbstractTilesContainerFactory
      org.apache.tiles.factory.BasicTilesContainerFactory

Direct Known Subclasses:
    CompleteAutoloadTilesContainerFactory

Factory that builds a standard Tiles container using only Java code.
Field Summary
protected static final  String STRING_RENDERER_NAME    The string renderer name. 
protected static final  String TEMPLATE_RENDERER_NAME    The template renderer name. 
protected static final  String DEFINITION_RENDERER_NAME    The definition renderer name. 
Fields inherited from org.apache.tiles.factory.AbstractTilesContainerFactory:
CONTAINER_FACTORY_INIT_PARAM
Method from org.apache.tiles.factory.BasicTilesContainerFactory Summary:
createAttributeEvaluatorFactory,   createContainer,   createDefaultAttributeRenderer,   createDefinitionAttributeRenderer,   createDefinitionsFactory,   createDefinitionsReader,   createLocaleDefinitionDao,   createLocaleResolver,   createPatternDefinitionResolver,   createPreparerFactory,   createRendererFactory,   createRequestContextFactory,   createStringAttributeRenderer,   createTemplateAttributeRenderer,   getSourceURLs,   getTilesRequestContextFactoriesToBeChained,   instantiateContainer,   instantiateDefinitionsFactory,   instantiateLocaleDefinitionDao,   registerAttributeRenderers,   registerChainedRequestContextFactories,   registerRequestContextFactory
Methods from org.apache.tiles.factory.AbstractTilesContainerFactory:
createContainer,   getTilesContainerFactory
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.factory.BasicTilesContainerFactory Detail:
 protected AttributeEvaluatorFactory createAttributeEvaluatorFactory(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    LocaleResolver resolver) 
 public TilesContainer createContainer(TilesApplicationContext applicationContext) 
    {@inheritDoc}
 protected AttributeRenderer createDefaultAttributeRenderer(BasicRendererFactory rendererFactory,
    TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    TilesContainer container,
    AttributeEvaluatorFactory attributeEvaluatorFactory) 
 protected AttributeRenderer createDefinitionAttributeRenderer(BasicRendererFactory rendererFactory,
    TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    TilesContainer container,
    AttributeEvaluatorFactory attributeEvaluatorFactory) 
 protected DefinitionsFactory createDefinitionsFactory(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    LocaleResolver resolver) 
 protected DefinitionsReader createDefinitionsReader(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory) 
 protected DefinitionDAO<Locale> createLocaleDefinitionDao(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    LocaleResolver resolver) 
    Creates a Locale-based definition DAO.
 protected LocaleResolver createLocaleResolver(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory) 
 protected PatternDefinitionResolver<T> createPatternDefinitionResolver(Class<T> customizationKeyClass) 
 protected PreparerFactory createPreparerFactory(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory) 
 protected RendererFactory createRendererFactory(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    TilesContainer container,
    AttributeEvaluatorFactory attributeEvaluatorFactory) 
 protected TilesRequestContextFactory createRequestContextFactory(TilesApplicationContext context) 
 protected AttributeRenderer createStringAttributeRenderer(BasicRendererFactory rendererFactory,
    TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    TilesContainer container,
    AttributeEvaluatorFactory attributeEvaluatorFactory) 
 protected AttributeRenderer createTemplateAttributeRenderer(BasicRendererFactory rendererFactory,
    TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    TilesContainer container,
    AttributeEvaluatorFactory attributeEvaluatorFactory) 
 protected List<URL> getSourceURLs(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory) 
    Returns a list containing the URLs to be parsed. By default, it returns a list containing the URL point to "/WEB-INF/tiles.xml".
 protected List<TilesRequestContextFactory> getTilesRequestContextFactoriesToBeChained(ChainedTilesRequestContextFactory parent) 
 protected BasicTilesContainer instantiateContainer(TilesApplicationContext context) 
    Instantiate the container, without initialization.
 protected UnresolvingLocaleDefinitionsFactory instantiateDefinitionsFactory(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    LocaleResolver resolver) 
    Instantiate a new definitions factory based on Locale.
 protected BaseLocaleUrlDefinitionDAO instantiateLocaleDefinitionDao(TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    LocaleResolver resolver) 
    Instantiate (and does not initialize) a Locale-based definition DAO.
 protected  void registerAttributeRenderers(BasicRendererFactory rendererFactory,
    TilesApplicationContext applicationContext,
    TilesRequestContextFactory contextFactory,
    TilesContainer container,
    AttributeEvaluatorFactory attributeEvaluatorFactory) 
 protected  void registerChainedRequestContextFactories(ChainedTilesRequestContextFactory contextFactory) 
    Register elements of a chained request context factory.
 protected  void registerRequestContextFactory(String className,
    List<TilesRequestContextFactory> factories,
    TilesRequestContextFactory parent)