13#ifndef ABSTRACTXMLDOCUMENTHANDLER_H
14#define ABSTRACTXMLDOCUMENTHANDLER_H
The AbstractAnalysisHandler class defines the callback interface: the functions that are to be define...
std::shared_ptr< const ShiftFrom > shiftFrom() const
abstract handler for XML processing : just inherits from different handlers
std::vector< NODE_ID > m_openedNodes
std::string get_lang() const
virtual ~AbstractXmlDocumentHandler()
NODE_ID m_parentlastOpenedNode
virtual void startAnalysis()
function called by the LIMA analyzer on start of a new document
void set_parentlastOpenedNode(NODE_ID nodeId)
virtual void startAnalysis(const std::string &bloc_type)
void set_lang(std::string lang)
NODE_ID get_parentlastOpenedNode() const
void set_lastNodeId(NODE_ID NID)
AbstractXmlDocumentHandler(std::shared_ptr< const ShiftFrom > shiftFrom)
std::string get_lastUri() const
std::map< std::string, std::string > m_metadata
NODE_ID get_lastNodeId() const
void set_lastUri(std::string uri)
std::vector< NODE_ID >::iterator m_lastOpenedNode
uint64_t NODE_ID
Identifier of a node in a document.