Package org.thymeleaf.standard.inline
Class OutputExpressionInlinePreProcessorHandler
Object
org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler
- All Implemented Interfaces:
IInlinePreProcessorHandler
public final class OutputExpressionInlinePreProcessorHandler
extends Object
implements IInlinePreProcessorHandler
Class in charge of performing the required event transformations on templates or fragments being parsed so that output expressions are treated as normal element-oriented parsing events.
Note this class is meant for internal use only.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Constructor Summary
ConstructorsConstructorDescriptionOutputExpressionInlinePreProcessorHandler(IEngineConfiguration configuration, TemplateMode templateMode, String standardDialectPrefix, IInlinePreProcessorHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleAttribute(char[] buffer, int nameOffset, int nameLen, int nameLine, int nameCol, int operatorOffset, int operatorLen, int operatorLine, int operatorCol, int valueContentOffset, int valueContentLen, int valueOuterOffset, int valueOuterLen, int valueLine, int valueCol) voidhandleAutoCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleAutoCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleAutoOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleAutoOpenElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleOpenElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleStandaloneElementEnd(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) voidhandleStandaloneElementStart(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) voidhandleText(char[] buffer, int offset, int len, int line, int col)
-
Constructor Details
-
OutputExpressionInlinePreProcessorHandler
public OutputExpressionInlinePreProcessorHandler(IEngineConfiguration configuration, TemplateMode templateMode, String standardDialectPrefix, IInlinePreProcessorHandler handler)
-
-
Method Details
-
handleText
public void handleText(char[] buffer, int offset, int len, int line, int col) - Specified by:
handleTextin interfaceIInlinePreProcessorHandler
-
handleStandaloneElementStart
public void handleStandaloneElementStart(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) - Specified by:
handleStandaloneElementStartin interfaceIInlinePreProcessorHandler
-
handleStandaloneElementEnd
public void handleStandaloneElementEnd(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) - Specified by:
handleStandaloneElementEndin interfaceIInlinePreProcessorHandler
-
handleOpenElementStart
public void handleOpenElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) - Specified by:
handleOpenElementStartin interfaceIInlinePreProcessorHandler
-
handleOpenElementEnd
public void handleOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) - Specified by:
handleOpenElementEndin interfaceIInlinePreProcessorHandler
-
handleAutoOpenElementStart
public void handleAutoOpenElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) - Specified by:
handleAutoOpenElementStartin interfaceIInlinePreProcessorHandler
-
handleAutoOpenElementEnd
public void handleAutoOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) - Specified by:
handleAutoOpenElementEndin interfaceIInlinePreProcessorHandler
-
handleCloseElementStart
public void handleCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) - Specified by:
handleCloseElementStartin interfaceIInlinePreProcessorHandler
-
handleCloseElementEnd
public void handleCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) - Specified by:
handleCloseElementEndin interfaceIInlinePreProcessorHandler
-
handleAutoCloseElementStart
public void handleAutoCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) - Specified by:
handleAutoCloseElementStartin interfaceIInlinePreProcessorHandler
-
handleAutoCloseElementEnd
public void handleAutoCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) - Specified by:
handleAutoCloseElementEndin interfaceIInlinePreProcessorHandler
-
handleAttribute
public void handleAttribute(char[] buffer, int nameOffset, int nameLen, int nameLine, int nameCol, int operatorOffset, int operatorLen, int operatorLine, int operatorCol, int valueContentOffset, int valueContentLen, int valueOuterOffset, int valueOuterLen, int valueLine, int valueCol) - Specified by:
handleAttributein interfaceIInlinePreProcessorHandler
-