Package org.apache.struts.tiles
Class CustomI18nFactorySet
java.lang.Object
org.apache.struts.tiles.xmlDefinition.FactorySet
org.apache.struts.tiles.xmlDefinition.I18nFactorySet
org.apache.struts.tiles.CustomI18nFactorySet
- All Implemented Interfaces:
Serializable
,org.apache.struts.tiles.ComponentDefinitionsFactory
public class CustomI18nFactorySet
extends org.apache.struts.tiles.xmlDefinition.I18nFactorySet
Test
I18nFactorySet
.- Version:
- $Rev$ $Date$
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts.tiles.xmlDefinition.I18nFactorySet
DEFAULT_DEFINITION_FILENAMES, defaultFactory, DEFINITIONS_CONFIG_PARAMETER_NAME, FILENAME_EXTENSION, isValidatingParser, PARSER_DETAILS_PARAMETER_NAME, PARSER_VALIDATE_PARAMETER_NAME, parserDetailLevel, xmlParser
Fields inherited from class org.apache.struts.tiles.xmlDefinition.FactorySet
factories
-
Constructor Summary
ConstructorDescriptionCustomI18nFactorySet
(ServletContext servletContext, Map<String, Object> properties) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.tiles.xmlDefinition.DefinitionsFactory
createFactory
(Object key, ServletRequest request, ServletContext servletContext) Methods inherited from class org.apache.struts.tiles.xmlDefinition.I18nFactorySet
createDefaultFactory, getDefaultFactory, getDefinitionsFactoryKey, initFactory, initFactory, parseXmlFile, parseXmlFiles, toString
Methods inherited from class org.apache.struts.tiles.xmlDefinition.FactorySet
getDefinition, getFactory
-
Constructor Details
-
CustomI18nFactorySet
public CustomI18nFactorySet(ServletContext servletContext, Map<String, Object> properties) throws org.apache.struts.tiles.DefinitionsFactoryExceptionConstructor. Init the factory by reading appropriate configuration file.- Parameters:
servletContext
- Servlet context.properties
- Map containing all properties.- Throws:
org.apache.struts.tiles.FactoryNotFoundException
- Can't find factory configuration file.org.apache.struts.tiles.DefinitionsFactoryException
-
-
Method Details
-
createFactory
public org.apache.struts.tiles.xmlDefinition.DefinitionsFactory createFactory(Object key, ServletRequest request, ServletContext servletContext) throws org.apache.struts.tiles.DefinitionsFactoryException - Overrides:
createFactory
in classorg.apache.struts.tiles.xmlDefinition.I18nFactorySet
- Throws:
org.apache.struts.tiles.DefinitionsFactoryException
-