org.apache.shindig.gadgets.templates.tags
Interface TagHandler
- All Known Implementing Classes:
- AbstractTagHandler, FlashTagHandler, HtmlTagHandler, IfTagHandler, RenderTagHandler, RepeatTagHandler, TemplateBasedTagHandler, VariableTagHandler
public interface TagHandler
A Handler for custom tags in template markup.
OPENSOCIAL_NAMESPACE
static final String OPENSOCIAL_NAMESPACE
- Namespace used by tags in the default Opensocial namespace.
- See Also:
- Constant Field Values
getTagName
String getTagName()
- Returns:
- the local name of the element this tag parses.
getNamespaceUri
String getNamespaceUri()
- Returns:
- the namespace of the element this tag parses.
process
void process(Node result,
Element tag,
TemplateProcessor processor)
- Processes the custom tag.
- Parameters:
result - A Node to append output to.tag - The Element reference to the tag, useful for inspecting
attributes and childrenprocessor - A TemplateProcessor, used to evaluate expressions and render
sub-templates if needed.
Copyright © 2007-2012. All Rights Reserved.