6#ifndef XMLBOWDOCUMENTHANDLER_H
7#define XMLBOWDOCUMENTHANDLER_H
23 void handle (
const char* buf,
int length )
override;
25 void startAnalysis()
override;
38 void startNode (
const std::string& elementName,
bool forIndexing )
override;
44 void setOut(std::ostream* out)
override;
#define LIMA_ANALYSISHANDLERS_EXPORT
std::shared_ptr< const ShiftFrom > shiftFrom() const
abstract handler for XML processing : just inherits from different handlers
XmlBowDocumentHandler(std::shared_ptr< const ShiftFrom > shiftFrom)
void startDocument(const Lima::Common::Misc::GenericDocumentProperties &props) override
notify the start of a new document, and give its properties
void endAnalysis() override
notify the end of an analysis content
void endDocument() override
called at the end of a document analysis