Package org.thymeleaf.engine
Class TemplateStart
- java.lang.Object
-
- org.thymeleaf.engine.AbstractTemplateEvent
-
- org.thymeleaf.engine.TemplateStart
-
- All Implemented Interfaces:
IEngineTemplateEvent,ITemplateEvent,ITemplateStart
final class TemplateStart extends AbstractTemplateEvent implements ITemplateStart, IEngineTemplateEvent
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static TemplateStartTEMPLATE_START_INSTANCE-
Fields inherited from class org.thymeleaf.engine.AbstractTemplateEvent
col, line, templateName
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTemplateStart()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(IModelVisitor visitor)Accept a visitor, implementation ofIModelVisitor.(package private) static TemplateStartasEngineTemplateStart(ITemplateStart templateStart)voidbeHandled(ITemplateHandler handler)java.lang.StringtoString()voidwrite(java.io.Writer writer)Writes this event to the specifiedWriter.-
Methods inherited from class org.thymeleaf.engine.AbstractTemplateEvent
getCol, getLine, getTemplateName, hasLocation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.thymeleaf.model.ITemplateEvent
getCol, getLine, getTemplateName, hasLocation
-
-
-
-
Field Detail
-
TEMPLATE_START_INSTANCE
static final TemplateStart TEMPLATE_START_INSTANCE
-
-
Method Detail
-
accept
public void accept(IModelVisitor visitor)
Description copied from interface:ITemplateEventAccept a visitor, implementation of
IModelVisitor.- Specified by:
acceptin interfaceITemplateEvent- Parameters:
visitor- the visitor.
-
write
public void write(java.io.Writer writer) throws java.io.IOExceptionDescription copied from interface:ITemplateEventWrites this event to the specified
Writer.Template output performed at
OutputTemplateHandleris done by calling these methods at each of the events resulting from template processing.- Specified by:
writein interfaceITemplateEvent- Parameters:
writer- the writer this event should be written to.- Throws:
java.io.IOException- if an input/output exception occurs.
-
asEngineTemplateStart
static TemplateStart asEngineTemplateStart(ITemplateStart templateStart)
-
beHandled
public void beHandled(ITemplateHandler handler)
- Specified by:
beHandledin interfaceIEngineTemplateEvent
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-