Attribute processor for ifnotnull:utext, outputs unescaped text if
the value referenced is not null.
| Constructor and description |
|---|
UTextProcessor
(TemplateMode templateMode, String dialectPrefix)Constructor, set this processor to work on the ifnotnull:utext
attribute. |
| Type | Name and description |
|---|---|
protected void |
doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler)Evaluate the expression given to this processor, outputting it as an unescaped child text node if not null. |
| Methods inherited from class | Name |
|---|---|
class AbstractAttributeTagProcessor |
process, getMatchingAttributeName, getMatchingElementName, getTemplateMode, getPrecedence, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class AbstractElementTagProcessor |
process, getMatchingAttributeName, getMatchingElementName, getTemplateMode, getPrecedence, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor, set this processor to work on the ifnotnull:utext
attribute.
Evaluate the expression given to this processor, outputting it as an unescaped child text node if not null.
Groovy Documentation