Class CollectFragmentProcessor
- java.lang.Object
-
- org.thymeleaf.processor.AbstractProcessor
-
- org.thymeleaf.processor.element.AbstractElementTagProcessor
-
- org.thymeleaf.processor.element.AbstractAttributeTagProcessor
-
- nz.net.ultraq.thymeleaf.layoutdialect.fragments.CollectFragmentProcessor
-
- All Implemented Interfaces:
IElementProcessor,IElementTagProcessor,IProcessor
@Deprecated public class CollectFragmentProcessor extends AbstractAttributeTagProcessor
Deprecated.Processor produced from FragmentProcessor in order to separate include and define logic to avoid ambiguity.- Author:
- zhanhb, Emanuel Rabina, George Vinokhodov
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROCESSOR_COLLECTDeprecated.static StringPROCESSOR_DEFINEDeprecated.static intPROCESSOR_PRECEDENCEDeprecated.
-
Constructor Summary
Constructors Constructor Description CollectFragmentProcessor(TemplateMode templateMode, String dialectPrefix)Deprecated.Constructor, sets this processor to work on the 'collect' attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voiddoProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler)Deprecated.Inserts the content of:definefragments into the encountered collect placeholder.-
Methods inherited from class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
doProcess
-
Methods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
-
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateMode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
-
-
-
Field Detail
-
PROCESSOR_DEFINE
public static final String PROCESSOR_DEFINE
Deprecated.- See Also:
- Constant Field Values
-
PROCESSOR_COLLECT
public static final String PROCESSOR_COLLECT
Deprecated.- See Also:
- Constant Field Values
-
PROCESSOR_PRECEDENCE
public static final int PROCESSOR_PRECEDENCE
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CollectFragmentProcessor
public CollectFragmentProcessor(TemplateMode templateMode, String dialectPrefix)
Deprecated.Constructor, sets this processor to work on the 'collect' attribute.- Parameters:
templateMode-dialectPrefix-
-
-
Method Detail
-
doProcess
protected void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler)
Deprecated.Inserts the content of:definefragments into the encountered collect placeholder.- Specified by:
doProcessin classAbstractAttributeTagProcessor- Parameters:
context-tag-attributeName-attributeValue-structureHandler-
-
-