Interface ITextHandler
- All Known Implementing Classes:
AbstractChainedTextHandler,AbstractTextHandler,TemplateHandlerAdapterTextHandler
public interface ITextHandler
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
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) voidhandleCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) voidhandleComment(char[] buffer, int contentOffset, int contentLen, int outerOffset, int outerLen, int line, int col) voidhandleDocumentEnd(long endTimeNanos, long totalTimeNanos, int line, int col) voidhandleDocumentStart(long startTimeNanos, 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)
-
Method Details
-
handleDocumentStart
- Throws:
TextParseException
-
handleDocumentEnd
void handleDocumentEnd(long endTimeNanos, long totalTimeNanos, int line, int col) throws TextParseException - Throws:
TextParseException
-
handleText
- Throws:
TextParseException
-
handleComment
void handleComment(char[] buffer, int contentOffset, int contentLen, int outerOffset, int outerLen, int line, int col) throws TextParseException - Throws:
TextParseException
-
handleStandaloneElementStart
void handleStandaloneElementStart(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) throws TextParseException - Throws:
TextParseException
-
handleStandaloneElementEnd
void handleStandaloneElementEnd(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col) throws TextParseException - Throws:
TextParseException
-
handleOpenElementStart
void handleOpenElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) throws TextParseException - Throws:
TextParseException
-
handleOpenElementEnd
void handleOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) throws TextParseException - Throws:
TextParseException
-
handleCloseElementStart
void handleCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col) throws TextParseException - Throws:
TextParseException
-
handleCloseElementEnd
void handleCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col) throws TextParseException - Throws:
TextParseException
-
handleAttribute
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 - Throws:
TextParseException
-