public class TemplateBasedTagHandler extends AbstractTagHandler
OPENSOCIAL_NAMESPACE| Constructor and Description |
|---|
TemplateBasedTagHandler(Element templateDefinition,
String namespaceUri,
String tagName) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
computeMy(Element tagInstance,
Node processedContent,
TemplateProcessor processor)
Compute the value of ${My} for this tag execution.
|
void |
process(Node result,
Element tagInstance,
TemplateProcessor processor)
Processes the custom tag.
|
protected void |
processTemplate(Node result,
Element tagInstance,
TemplateProcessor processor)
Process the template content in the new EL state
|
appendTextNode, getNamespaceUri, getTagName, getValueFromTag, processChildrenpublic void process(Node result, Element tagInstance, TemplateProcessor processor)
TagHandlerresult - A Node to append output to.tagInstance - The Element reference to the tag, useful for inspecting
attributes and childrenprocessor - A TemplateProcessor, used to evaluate expressions and render
sub-templates if needed.protected void processTemplate(Node result, Element tagInstance, TemplateProcessor processor)
Copyright © 2007-2012. All Rights Reserved.