org.apache.shindig.gadgets.templates.tags
Class RenderTagHandler

java.lang.Object
  extended by org.apache.shindig.gadgets.templates.tags.AbstractTagHandler
      extended by org.apache.shindig.gadgets.templates.tags.RenderTagHandler
All Implemented Interfaces:
TagHandler

public class RenderTagHandler
extends AbstractTagHandler

Tag Handler for tag.


Field Summary
static String ATTR_CONTENT
           
static String DEFAULT_NAME
           
 
Fields inherited from interface org.apache.shindig.gadgets.templates.tags.TagHandler
OPENSOCIAL_NAMESPACE
 
Constructor Summary
RenderTagHandler()
           
 
Method Summary
 void process(Node result, Element tag, TemplateProcessor processor)
          Processes the custom tag.
 
Methods inherited from class org.apache.shindig.gadgets.templates.tags.AbstractTagHandler
appendTextNode, getNamespaceUri, getTagName, getValueFromTag, processChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME
See Also:
Constant Field Values

ATTR_CONTENT

public static final String ATTR_CONTENT
See Also:
Constant Field Values
Constructor Detail

RenderTagHandler

@Inject
public RenderTagHandler()
Method Detail

process

public void process(Node result,
                    Element tag,
                    TemplateProcessor processor)
Description copied from interface: TagHandler
Processes the custom tag.

Parameters:
result - A Node to append output to.
tag - The Element reference to the tag, useful for inspecting attributes and children
processor - A TemplateProcessor, used to evaluate expressions and render sub-templates if needed.


Copyright © 2007-2012. All Rights Reserved.