public final class TemplateHandlerAdapterTextHandler extends AbstractTextHandler
| Constructor and Description |
|---|
TemplateHandlerAdapterTextHandler(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 |
handleCloseElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleCloseElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col) |
void |
handleDocumentEnd(long endTimeNanos,
long totalTimeNanos,
int line,
int col) |
void |
handleDocumentStart(long startTimeNanos,
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 |
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) |
handleCommentpublic TemplateHandlerAdapterTextHandler(String templateName, ITemplateHandler templateHandler, ElementDefinitions elementDefinitions, AttributeDefinitions attributeDefinitions, TemplateMode templateMode, int lineOffset, int colOffset)
public void handleDocumentStart(long startTimeNanos,
int line,
int col)
throws TextParseException
handleDocumentStart in interface ITextHandlerhandleDocumentStart in class AbstractTextHandlerTextParseExceptionpublic void handleDocumentEnd(long endTimeNanos,
long totalTimeNanos,
int line,
int col)
throws TextParseException
handleDocumentEnd in interface ITextHandlerhandleDocumentEnd in class AbstractTextHandlerTextParseExceptionpublic void handleText(char[] buffer,
int offset,
int len,
int line,
int col)
throws TextParseException
handleText in interface ITextHandlerhandleText in class AbstractTextHandlerTextParseExceptionpublic void handleStandaloneElementStart(char[] buffer,
int nameOffset,
int nameLen,
boolean minimized,
int line,
int col)
throws TextParseException
handleStandaloneElementStart in interface ITextHandlerhandleStandaloneElementStart in class AbstractTextHandlerTextParseExceptionpublic void handleStandaloneElementEnd(char[] buffer,
int nameOffset,
int nameLen,
boolean minimized,
int line,
int col)
throws TextParseException
handleStandaloneElementEnd in interface ITextHandlerhandleStandaloneElementEnd in class AbstractTextHandlerTextParseExceptionpublic void handleOpenElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws TextParseException
handleOpenElementStart in interface ITextHandlerhandleOpenElementStart in class AbstractTextHandlerTextParseExceptionpublic void handleOpenElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws TextParseException
handleOpenElementEnd in interface ITextHandlerhandleOpenElementEnd in class AbstractTextHandlerTextParseExceptionpublic void handleCloseElementStart(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws TextParseException
handleCloseElementStart in interface ITextHandlerhandleCloseElementStart in class AbstractTextHandlerTextParseExceptionpublic void handleCloseElementEnd(char[] buffer,
int nameOffset,
int nameLen,
int line,
int col)
throws TextParseException
handleCloseElementEnd in interface ITextHandlerhandleCloseElementEnd in class AbstractTextHandlerTextParseExceptionpublic 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 TextParseException
handleAttribute in interface ITextHandlerhandleAttribute in class AbstractTextHandlerTextParseExceptionCopyright © 2016 The THYMELEAF team. All rights reserved.