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

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

public class VariableTagHandler
extends AbstractTagHandler

Implement the osx:Variable tag


Field Summary
 
Fields inherited from interface org.apache.shindig.gadgets.templates.tags.TagHandler
OPENSOCIAL_NAMESPACE
 
Constructor Summary
VariableTagHandler(String namespace)
           
 
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
 

Constructor Detail

VariableTagHandler

@Inject
public VariableTagHandler(String namespace)
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.