Package org.thymeleaf.engine
Class AbstractGatheringModelProcessable
- java.lang.Object
-
- org.thymeleaf.engine.AbstractGatheringModelProcessable
-
- All Implemented Interfaces:
IEngineProcessable,IGatheringModelProcessable
- Direct Known Subclasses:
GatheringModelProcessable,IteratedGatheringModelProcessable
abstract class AbstractGatheringModelProcessable extends java.lang.Object implements IGatheringModelProcessable
-
-
Field Summary
Fields Modifier and Type Field Description private TemplateModelController.SkipBodybuildTimeSkipBodyprivate booleanbuildTimeSkipCloseTagprivate IEngineContextcontextprivate TemplateFlowControllerflowControllerprivate booleangatheringFinishedprivate TemplateModelControllermodelControllerprivate intmodelLevelprivate ProcessorExecutionVarsprocessorExecutionVarsprivate ProcessorTemplateHandlerprocessorTemplateHandlerprivate ModelsyntheticModel
-
Constructor Summary
Constructors Constructor Description AbstractGatheringModelProcessable(IEngineConfiguration configuration, ProcessorTemplateHandler processorTemplateHandler, IEngineContext context, TemplateModelController modelController, TemplateFlowController flowController, TemplateModelController.SkipBody buildTimeSkipBody, boolean buildTimeSkipCloseTag, ProcessorExecutionVars processorExecutionVars)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.thymeleaf.engine.IEngineProcessable
process
-
-
-
-
Field Detail
-
processorTemplateHandler
private final ProcessorTemplateHandler processorTemplateHandler
-
context
private final IEngineContext context
-
syntheticModel
private final Model syntheticModel
-
modelController
private final TemplateModelController modelController
-
flowController
private final TemplateFlowController flowController
-
buildTimeSkipBody
private final TemplateModelController.SkipBody buildTimeSkipBody
-
buildTimeSkipCloseTag
private final boolean buildTimeSkipCloseTag
-
processorExecutionVars
private final ProcessorExecutionVars processorExecutionVars
-
gatheringFinished
private boolean gatheringFinished
-
modelLevel
private int modelLevel
-
-
Constructor Detail
-
AbstractGatheringModelProcessable
AbstractGatheringModelProcessable(IEngineConfiguration configuration, ProcessorTemplateHandler processorTemplateHandler, IEngineContext context, TemplateModelController modelController, TemplateFlowController flowController, TemplateModelController.SkipBody buildTimeSkipBody, boolean buildTimeSkipCloseTag, ProcessorExecutionVars processorExecutionVars)
-
-
Method Detail
-
resetGatheredSkipFlagsAfterNoIterations
public final void resetGatheredSkipFlagsAfterNoIterations()
-
resetGatheredSkipFlags
public final void resetGatheredSkipFlags()
- Specified by:
resetGatheredSkipFlagsin interfaceIGatheringModelProcessable
-
prepareProcessing
protected final void prepareProcessing()
-
getProcessorTemplateHandler
protected final ProcessorTemplateHandler getProcessorTemplateHandler()
-
getFlowController
protected final TemplateFlowController getFlowController()
-
isGatheringFinished
public final boolean isGatheringFinished()
- Specified by:
isGatheringFinishedin interfaceIGatheringModelProcessable
-
getContext
protected final IEngineContext getContext()
-
initializeProcessorExecutionVars
public ProcessorExecutionVars initializeProcessorExecutionVars()
- Specified by:
initializeProcessorExecutionVarsin interfaceIGatheringModelProcessable
-
getInnerModel
public final Model getInnerModel()
- Specified by:
getInnerModelin interfaceIGatheringModelProcessable
-
gatherText
public final void gatherText(IText text)
- Specified by:
gatherTextin interfaceIGatheringModelProcessable
-
gatherComment
public final void gatherComment(IComment comment)
- Specified by:
gatherCommentin interfaceIGatheringModelProcessable
-
gatherCDATASection
public final void gatherCDATASection(ICDATASection cdataSection)
- Specified by:
gatherCDATASectionin interfaceIGatheringModelProcessable
-
gatherStandaloneElement
public final void gatherStandaloneElement(IStandaloneElementTag standaloneElementTag)
- Specified by:
gatherStandaloneElementin interfaceIGatheringModelProcessable
-
gatherOpenElement
public final void gatherOpenElement(IOpenElementTag openElementTag)
- Specified by:
gatherOpenElementin interfaceIGatheringModelProcessable
-
gatherCloseElement
public final void gatherCloseElement(ICloseElementTag closeElementTag)
- Specified by:
gatherCloseElementin interfaceIGatheringModelProcessable
-
gatherUnmatchedCloseElement
public final void gatherUnmatchedCloseElement(ICloseElementTag closeElementTag)
- Specified by:
gatherUnmatchedCloseElementin interfaceIGatheringModelProcessable
-
gatherDocType
public final void gatherDocType(IDocType docType)
- Specified by:
gatherDocTypein interfaceIGatheringModelProcessable
-
gatherXMLDeclaration
public final void gatherXMLDeclaration(IXMLDeclaration xmlDeclaration)
- Specified by:
gatherXMLDeclarationin interfaceIGatheringModelProcessable
-
gatherProcessingInstruction
public final void gatherProcessingInstruction(IProcessingInstruction processingInstruction)
- Specified by:
gatherProcessingInstructionin interfaceIGatheringModelProcessable
-
-