public class InvokeTag extends TagHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
InvokeTag.Factory
Creates new tags of the given type (name).
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ATTR_INLINE |
attributes, blocks, compilationContext, parentHandler, startOfTag, tagName| Constructor and Description |
|---|
InvokeTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(CompositeEmitter targetBlock)
Invoked when the tag is completely parsedand can be applied to the target block.
|
Class<?> |
getExpectedAttributeType(String name)
Returns the expected type for the given attribute.
|
protected void |
invokeTemplate(Template template,
CompositeEmitter targetBlock) |
protected Template |
resolveTemplate(String templateName) |
addBlock, beforeBody, getAttribute, getBlock, getCompilationContext, getConstantAttribute, getParentHandler, getStartOfTag, getTagName, setAttribute, setCompilationContext, setParentHandler, setStartOfTag, setTagNameprotected static final String ATTR_INLINE
public void apply(CompositeEmitter targetBlock)
TagHandlerapply in class TagHandlertargetBlock - the outer block to which the output can be appendedprotected void invokeTemplate(Template template, CompositeEmitter targetBlock)
public Class<?> getExpectedAttributeType(String name)
TagHandlergetExpectedAttributeType in class TagHandlername - the name of the attributeExpression to signal that any expression is
accepted or null to indicate that the parameter is unexpected.Copyright © 2018. All rights reserved.