Interface ITextHandler
- All Known Implementing Classes:
AbstractChainedTextHandler
,AbstractTextHandler
,TemplateHandlerAdapterTextHandler
public interface ITextHandler
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
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
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
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)
-
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
-