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.IDocumentHandlerhandleDocumentStart in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleDocumentEnd(long endTimeNanos,
long totalTimeNanos,
int line,
int col)
throws org.attoparser.ParseException
handleDocumentEnd in interface org.attoparser.IDocumentHandlerhandleDocumentEnd in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic 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.IXMLDeclarationHandlerhandleXmlDeclaration in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic 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.IDocTypeHandlerhandleDocType in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic 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.ICDATASectionHandlerhandleCDATASection in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic 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.ICommentHandlerhandleComment in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleText(char[] buffer,
int offset,
int len,
int line,
int col)
throws org.attoparser.ParseException
handleText in interface org.attoparser.ITextHandlerhandleText in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleStandaloneElementStart(char[] buffer,
int nameOffset,
int nameLen,
boolean minimized,
int line,
int col)
throws org.attoparser.ParseException
handleStandaloneElementStart in interface org.attoparser.IElementHandlerhandleStandaloneElementStart in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleStandaloneElementEnd(char[] buffer,
int nameOffset,
int nameLen,
boolean minimized,
int line,
int col)
throws org.attoparser.ParseException
handleStandaloneElementEnd in interface org.attoparser.IElementHandlerhandleStandaloneElementEnd in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleOpenElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleOpenElementStart in interface org.attoparser.IElementHandlerhandleOpenElementStart in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleOpenElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleOpenElementEnd in interface org.attoparser.IElementHandlerhandleOpenElementEnd in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleAutoOpenElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleAutoOpenElementStart in interface org.attoparser.IElementHandlerhandleAutoOpenElementStart in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleAutoOpenElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleAutoOpenElementEnd in interface org.attoparser.IElementHandlerhandleAutoOpenElementEnd in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleCloseElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleCloseElementStart in interface org.attoparser.IElementHandlerhandleCloseElementStart in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleCloseElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleCloseElementEnd in interface org.attoparser.IElementHandlerhandleCloseElementEnd in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleAutoCloseElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleAutoCloseElementStart in interface org.attoparser.IElementHandlerhandleAutoCloseElementStart in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleAutoCloseElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleAutoCloseElementEnd in interface org.attoparser.IElementHandlerhandleAutoCloseElementEnd in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleUnmatchedCloseElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleUnmatchedCloseElementStart in interface org.attoparser.IElementHandlerhandleUnmatchedCloseElementStart in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleUnmatchedCloseElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws org.attoparser.ParseException
handleUnmatchedCloseElementEnd in interface org.attoparser.IElementHandlerhandleUnmatchedCloseElementEnd in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic 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.IAttributeSequenceHandlerhandleAttribute in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic void handleInnerWhiteSpace(char[] buffer,
int offset,
int len,
int line,
int col)
throws org.attoparser.ParseException
handleInnerWhiteSpace in interface org.attoparser.IAttributeSequenceHandlerhandleInnerWhiteSpace in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionpublic 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.IProcessingInstructionHandlerhandleProcessingInstruction in class org.attoparser.AbstractMarkupHandlerorg.attoparser.ParseExceptionCopyright © 2017 The THYMELEAF team. All rights reserved.