public final class TemplateHandlerAdapterMarkupHandler
extends org.attoparser.AbstractMarkupHandler
Constructor and Description |
---|
TemplateHandlerAdapterMarkupHandler(String templateName,
ITemplateHandler templateHandler,
ElementDefinitions elementDefinitions,
AttributeDefinitions attributeDefinitions,
TemplateMode templateMode,
int lineOffset,
int colOffset) |
Modifier and Type | Method and Description |
---|---|
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) |
void |
handleAutoCloseElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleAutoCloseElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleAutoOpenElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleAutoOpenElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleCDATASection(char[] buffer,
int contentOffset,
int contentLen,
int outerOffset,
int outerLen,
int line,
int col) |
void |
handleCloseElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleCloseElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleComment(char[] buffer,
int contentOffset,
int contentLen,
int outerOffset,
int outerLen,
int line,
int col) |
void |
handleDocType(char[] buffer,
int keywordOffset,
int keywordLen,
int keywordLine,
int keywordCol,
int elementNameOffset,
int elementNameLen,
int elementNameLine,
int elementNameCol,
int typeOffset,
int typeLen,
int typeLine,
int typeCol,
int publicIdOffset,
int publicIdLen,
int publicIdLine,
int publicIdCol,
int systemIdOffset,
int systemIdLen,
int systemIdLine,
int systemIdCol,
int internalSubsetOffset,
int internalSubsetLen,
int internalSubsetLine,
int internalSubsetCol,
int outerOffset,
int outerLen,
int outerLine,
int outerCol) |
void |
handleDocumentEnd(long endTimeNanos,
long totalTimeNanos,
int line,
int col) |
void |
handleDocumentStart(long startTimeNanos,
int line,
int col) |
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 |
handleOpenElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleProcessingInstruction(char[] buffer,
int targetOffset,
int targetLen,
int targetLine,
int targetCol,
int contentOffset,
int contentLen,
int contentLine,
int contentCol,
int outerOffset,
int outerLen,
int line,
int col) |
void |
handleStandaloneElementEnd(char[] buffer,
int nameOffset,
int nameLen,
boolean minimized,
int line,
int col) |
void |
handleStandaloneElementStart(char[] buffer,
int nameOffset,
int nameLen,
boolean minimized,
int line,
int col) |
void |
handleText(char[] buffer,
int offset,
int len,
int line,
int col) |
void |
handleUnmatchedCloseElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleUnmatchedCloseElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleXmlDeclaration(char[] buffer,
int keywordOffset,
int keywordLen,
int keywordLine,
int keywordCol,
int versionOffset,
int versionLen,
int versionLine,
int versionCol,
int encodingOffset,
int encodingLen,
int encodingLine,
int encodingCol,
int standaloneOffset,
int standaloneLen,
int standaloneLine,
int standaloneCol,
int outerOffset,
int outerLen,
int line,
int col) |
public TemplateHandlerAdapterMarkupHandler(String templateName, ITemplateHandler templateHandler, ElementDefinitions elementDefinitions, AttributeDefinitions attributeDefinitions, TemplateMode templateMode, int lineOffset, int colOffset)
public void handleDocumentStart(long startTimeNanos, int line, int col) throws org.attoparser.ParseException
handleDocumentStart
in interface org.attoparser.IDocumentHandler
handleDocumentStart
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleDocumentEnd(long endTimeNanos, long totalTimeNanos, int line, int col) throws org.attoparser.ParseException
handleDocumentEnd
in interface org.attoparser.IDocumentHandler
handleDocumentEnd
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleXmlDeclaration(char[] buffer, int keywordOffset, int keywordLen, int keywordLine, int keywordCol, int versionOffset, int versionLen, int versionLine, int versionCol, int encodingOffset, int encodingLen, int encodingLine, int encodingCol, int standaloneOffset, int standaloneLen, int standaloneLine, int standaloneCol, int outerOffset, int outerLen, int line, int col) throws org.attoparser.ParseException
handleXmlDeclaration
in interface org.attoparser.IXMLDeclarationHandler
handleXmlDeclaration
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleDocType(char[] buffer, int keywordOffset, int keywordLen, int keywordLine, int keywordCol, int elementNameOffset, int elementNameLen, int elementNameLine, int elementNameCol, int typeOffset, int typeLen, int typeLine, int typeCol, int publicIdOffset, int publicIdLen, int publicIdLine, int publicIdCol, int systemIdOffset, int systemIdLen, int systemIdLine, int systemIdCol, int internalSubsetOffset, int internalSubsetLen, int internalSubsetLine, int internalSubsetCol, int outerOffset, int outerLen, int outerLine, int outerCol) throws org.attoparser.ParseException
handleDocType
in interface org.attoparser.IDocTypeHandler
handleDocType
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleCDATASection(char[] buffer, int contentOffset, int contentLen, int outerOffset, int outerLen, int line, int col) throws org.attoparser.ParseException
handleCDATASection
in interface org.attoparser.ICDATASectionHandler
handleCDATASection
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleComment(char[] buffer, int contentOffset, int contentLen, int outerOffset, int outerLen, int line, int col) throws org.attoparser.ParseException
handleComment
in interface org.attoparser.ICommentHandler
handleComment
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleText(char[] buffer, int offset, int len, int line, int col) throws org.attoparser.ParseException
handleText
in interface org.attoparser.ITextHandler
handleText
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleStandaloneElementStart(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) throws org.attoparser.ParseException
handleStandaloneElementStart
in interface org.attoparser.IElementHandler
handleStandaloneElementStart
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleStandaloneElementEnd(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) throws org.attoparser.ParseException
handleStandaloneElementEnd
in interface org.attoparser.IElementHandler
handleStandaloneElementEnd
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleOpenElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleOpenElementStart
in interface org.attoparser.IElementHandler
handleOpenElementStart
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleOpenElementEnd
in interface org.attoparser.IElementHandler
handleOpenElementEnd
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleAutoOpenElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleAutoOpenElementStart
in interface org.attoparser.IElementHandler
handleAutoOpenElementStart
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleAutoOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleAutoOpenElementEnd
in interface org.attoparser.IElementHandler
handleAutoOpenElementEnd
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleCloseElementStart
in interface org.attoparser.IElementHandler
handleCloseElementStart
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleCloseElementEnd
in interface org.attoparser.IElementHandler
handleCloseElementEnd
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleAutoCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleAutoCloseElementStart
in interface org.attoparser.IElementHandler
handleAutoCloseElementStart
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleAutoCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleAutoCloseElementEnd
in interface org.attoparser.IElementHandler
handleAutoCloseElementEnd
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleUnmatchedCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleUnmatchedCloseElementStart
in interface org.attoparser.IElementHandler
handleUnmatchedCloseElementStart
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleUnmatchedCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) throws org.attoparser.ParseException
handleUnmatchedCloseElementEnd
in interface org.attoparser.IElementHandler
handleUnmatchedCloseElementEnd
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
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
handleAttribute
in interface org.attoparser.IAttributeSequenceHandler
handleAttribute
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleInnerWhiteSpace(char[] buffer, int offset, int len, int line, int col) throws org.attoparser.ParseException
handleInnerWhiteSpace
in interface org.attoparser.IAttributeSequenceHandler
handleInnerWhiteSpace
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
public void handleProcessingInstruction(char[] buffer, int targetOffset, int targetLen, int targetLine, int targetCol, int contentOffset, int contentLen, int contentLine, int contentCol, int outerOffset, int outerLen, int line, int col) throws org.attoparser.ParseException
handleProcessingInstruction
in interface org.attoparser.IProcessingInstructionHandler
handleProcessingInstruction
in class org.attoparser.AbstractMarkupHandler
org.attoparser.ParseException
Copyright © 2016 The THYMELEAF team. All rights reserved.