Package htmlflow.continuations
Class HtmlContinuation
java.lang.Object
htmlflow.continuations.HtmlContinuation
- Direct Known Subclasses:
HtmlContinuationAsync,HtmlContinuationAsyncTerminationNode,HtmlContinuationSync
Base class for a linked list of nodes, corresponding to HtmlContinuation objects.
HtmlContinuation is responsible for emitting an HTML block and call the next node.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHtmlContinuation(int currentDepth, boolean isClosed, HtmlVisitor visitor, HtmlContinuation next) -
Method Summary
Modifier and TypeMethodDescriptionabstract HtmlContinuationcopy(HtmlVisitor visitor) Creates a copy of this HtmlContinuation with a new visitorabstract voidExecutes this continuation and calls the next one if exist.getNext()
-
Field Details
-
next
Next HtmlContinuation
-
-
Constructor Details
-
HtmlContinuation
protected HtmlContinuation(int currentDepth, boolean isClosed, HtmlVisitor visitor, HtmlContinuation next) - Parameters:
currentDepth- Indentation depth associated to this block.
-
-
Method Details
-
getNext
-
execute
Executes this continuation and calls the next one if exist.- Parameters:
model-
-
copy
Creates a copy of this HtmlContinuation with a new visitor- Parameters:
visitor-
-