public abstract class AbstractTagHandler extends Object implements TagHandler
OPENSOCIAL_NAMESPACE| Constructor and Description |
|---|
AbstractTagHandler(String namespaceUri,
String tagName)
Create the tag handler instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendTextNode(Node parent,
String text)
Create a text node with proper escaping.
|
String |
getNamespaceUri() |
String |
getTagName() |
protected <T> T |
getValueFromTag(Element tag,
String name,
TemplateProcessor processor,
Class<T> type)
Returns the value of a tag attribute, evaluating any contained EL
expressions if necessary.
|
protected DocumentFragment |
processChildren(Element tag,
TemplateProcessor processor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocesspublic String getTagName()
getTagName in interface TagHandlerpublic String getNamespaceUri()
getNamespaceUri in interface TagHandlerprotected final <T> T getValueFromTag(Element tag, String name, TemplateProcessor processor, Class<T> type)
T - the type of the valuetag - the elementname - the attribute nameprocessor - the template processortype - the type of the valueprotected final DocumentFragment processChildren(Element tag, TemplateProcessor processor)
Copyright © 2007-2012. All Rights Reserved.