Class DecoupledTemplateLogicMarkupHandler
Object
org.attoparser.AbstractMarkupHandler
org.attoparser.AbstractChainedMarkupHandler
org.thymeleaf.templateparser.markup.decoupled.DecoupledTemplateLogicMarkupHandler
- All Implemented Interfaces:
org.attoparser.IAttributeSequenceHandler
,org.attoparser.ICDATASectionHandler
,org.attoparser.ICommentHandler
,org.attoparser.IDocTypeHandler
,org.attoparser.IDocumentHandler
,org.attoparser.IElementHandler
,org.attoparser.IMarkupHandler
,org.attoparser.IProcessingInstructionHandler
,org.attoparser.ITextHandler
,org.attoparser.IXMLDeclarationHandler
public final class DecoupledTemplateLogicMarkupHandler
extends org.attoparser.AbstractChainedMarkupHandler
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Constructor Summary
ConstructorsConstructorDescriptionDecoupledTemplateLogicMarkupHandler
(DecoupledTemplateLogic decoupledTemplateLogic, org.attoparser.IMarkupHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) void
handleInnerWhiteSpace
(char[] buffer, int offset, int len, int line, int col) void
handleOpenElementEnd
(char[] buffer, int nameOffset, int nameLen, int line, int col) void
handleStandaloneElementEnd
(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) void
setParseSelection
(org.attoparser.select.ParseSelection selection) Methods inherited from class org.attoparser.AbstractChainedMarkupHandler
getNext, handleAutoCloseElementEnd, handleAutoCloseElementStart, handleAutoOpenElementEnd, handleAutoOpenElementStart, handleCDATASection, handleCloseElementEnd, handleCloseElementStart, handleComment, handleDocType, handleDocumentEnd, handleDocumentStart, handleOpenElementStart, handleProcessingInstruction, handleStandaloneElementStart, handleText, handleUnmatchedCloseElementEnd, handleUnmatchedCloseElementStart, handleXmlDeclaration, setParseConfiguration, setParseStatus
-
Constructor Details
-
DecoupledTemplateLogicMarkupHandler
public DecoupledTemplateLogicMarkupHandler(DecoupledTemplateLogic decoupledTemplateLogic, org.attoparser.IMarkupHandler handler)
-
-
Method Details
-
setParseSelection
public void setParseSelection(org.attoparser.select.ParseSelection selection) - Specified by:
setParseSelection
in interfaceorg.attoparser.IMarkupHandler
- Overrides:
setParseSelection
in classorg.attoparser.AbstractChainedMarkupHandler
-
handleStandaloneElementEnd
public void handleStandaloneElementEnd(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) throws org.attoparser.ParseException - Specified by:
handleStandaloneElementEnd
in interfaceorg.attoparser.IElementHandler
- Overrides:
handleStandaloneElementEnd
in classorg.attoparser.AbstractChainedMarkupHandler
- Throws:
org.attoparser.ParseException
-
handleOpenElementEnd
public void handleOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException - Specified by:
handleOpenElementEnd
in interfaceorg.attoparser.IElementHandler
- Overrides:
handleOpenElementEnd
in classorg.attoparser.AbstractChainedMarkupHandler
- Throws:
org.attoparser.ParseException
-
handleInnerWhiteSpace
public void handleInnerWhiteSpace(char[] buffer, int offset, int len, int line, int col) throws org.attoparser.ParseException - Specified by:
handleInnerWhiteSpace
in interfaceorg.attoparser.IAttributeSequenceHandler
- Overrides:
handleInnerWhiteSpace
in classorg.attoparser.AbstractChainedMarkupHandler
- Throws:
org.attoparser.ParseException
-
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) throws org.attoparser.ParseException - Specified by:
handleAttribute
in interfaceorg.attoparser.IAttributeSequenceHandler
- Overrides:
handleAttribute
in classorg.attoparser.AbstractChainedMarkupHandler
- Throws:
org.attoparser.ParseException
-