public final class DiscardMarkupHandler extends AbstractMarkupHandler
Implementation of IMarkupHandler
that simply discards all events.
This handler is normally used in scenarios in which some events are directed to one handler and some others
to a second one, like block/node selection operations performed by means of the
BlockSelectorMarkupHandler
or
NodeSelectorMarkupHandler
handlers.
Note that, unlike most other implementations of IMarkupHandler
, this class is
completely stateless and thread-safe, and thus objects of this class can be safely reused
among several parsing operations if needed.
Constructor and Description |
---|
DiscardMarkupHandler()
Create a new instance of this handler.
|
handleAttribute, handleAutoCloseElementEnd, handleAutoCloseElementStart, handleAutoOpenElementEnd, handleAutoOpenElementStart, handleCDATASection, handleCloseElementEnd, handleCloseElementStart, handleComment, handleDocType, handleDocumentEnd, handleDocumentStart, handleInnerWhiteSpace, handleOpenElementEnd, handleOpenElementStart, handleProcessingInstruction, handleStandaloneElementEnd, handleStandaloneElementStart, handleText, handleUnmatchedCloseElementEnd, handleUnmatchedCloseElementStart, handleXmlDeclaration, setParseConfiguration, setParseSelection, setParseStatus
Copyright © 2023 The ATTOPARSER team. All rights reserved.