Attribute processor for ifnotnull:text, outputs text if the value
referenced is not null.
| Constructor and description |
|---|
TextProcessor
(TemplateMode templateMode, String dialectPrefix)Constructor, set this processor to work on the ifnotnull:text
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 a 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:text
attribute.
Evaluate the expression given to this processor, outputting it as a child text node if not null.
Groovy Documentation