public class DefaultTheme extends Object implements Theme
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,List<TagHandlerFactory>> | handlerFactories | 
| Constructor and Description | 
|---|
| DefaultTheme() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getName() | 
| protected void | insertTagHandlerFactory(String tagName,
                       int sequence,
                       TagHandlerFactory factory)Insert a new tag handler into a sequence of tag handlers for a specific tag
 TODO: Need to take care of serializers, if handler specified is not a TagSerializer it should never
 be placed after the serializer, but if it is not a TagSerializer, it should never | 
| void | renderTag(String tagName,
         TemplateRenderingContext context) | 
| protected void | setHandlerFactories(Map<String,List<TagHandlerFactory>> handlers) | 
| protected void | setName(String name) | 
| protected void | setTagHandlerFactories(String tagName,
                      List<TagHandlerFactory> handlers)Set (replace if exists) the tag handler factories for specific tag | 
protected Map<String,List<TagHandlerFactory>> handlerFactories
protected void setName(String name)
protected void setHandlerFactories(Map<String,List<TagHandlerFactory>> handlers)
protected void setTagHandlerFactories(String tagName, List<TagHandlerFactory> handlers)
tagName - handlers - protected void insertTagHandlerFactory(String tagName, int sequence, TagHandlerFactory factory)
tagName - sequence - factory - public void renderTag(String tagName, TemplateRenderingContext context)
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.