|
| | AbstractXmlDocumentHandler (std::shared_ptr< const ShiftFrom > shiftFrom) |
| |
| virtual | ~AbstractXmlDocumentHandler () |
| |
| NODE_ID | get_parentlastOpenedNode () const |
| |
| void | set_parentlastOpenedNode (NODE_ID nodeId) |
| |
| void | set_lastNodeId (NODE_ID NID) |
| |
| NODE_ID | get_lastNodeId () const |
| |
| std::string | get_lastUri () const |
| |
| void | set_lastUri (std::string uri) |
| |
| void | set_lang (std::string lang) |
| |
| std::string | get_lang () const |
| |
| virtual void | startAnalysis () |
| | function called by the LIMA analyzer on start of a new document
|
| |
| virtual void | startAnalysis (const std::string &bloc_type) |
| |
Public Member Functions inherited from Lima::StructureHandler |
| | StructureHandler () |
| |
| virtual | ~StructureHandler () |
| |
| Structure * | get_Structures () |
| | Récupérer toutes les structures du handler.
|
| |
| void | set_Structures (Structure *structures) |
| | Insérer une structure dans le handler.
|
| |
| Node * | get_Node (CONTENT_ID) |
| | Récupérer un noeud du handler.
|
| |
| void | add_Node (const Node &node) |
| |
| STRUCT_ID | get_LastStructureId () |
| | Accesseur de lastStructureId.
|
| |
| void | set_LastStructureId (STRUCT_ID) |
| |
| CONTENT_ID | get_LastContentId () |
| |
| void | set_LastContentId (CONTENT_ID) |
| |
| void | resetStructure () |
| |
Public Member Functions inherited from Lima::AbstractXmlAnalysisHandler |
| | AbstractXmlAnalysisHandler (std::shared_ptr< const ShiftFrom > shiftFrom) |
| |
| virtual | ~AbstractXmlAnalysisHandler () |
| |
| virtual void | startDocument (const Common::Misc::GenericDocumentProperties &props)=0 |
| | notify the start of a new document, and give its properties
|
| |
| virtual void | endDocument ()=0 |
| | notify the end of the document
|
| |
| virtual void | handle (const char *buf, int length) override=0 |
| | gives content.
|
| |
| virtual void | startNode (const std::string &elementName, bool forIndexing)=0 |
| | notify the start of a new hierarchyNode
|
| |
| virtual void | endNode (const Common::Misc::GenericDocumentProperties &props)=0 |
| | notify the end of a hierarchyNode
|
| |
| virtual void | setOut (std::ostream *out)=0 |
| | set the output stream.
|
| |
| std::shared_ptr< const ShiftFrom > | shiftFrom () const |
| |
Public Member Functions inherited from Lima::AbstractAnalysisHandler |
| virtual | ~AbstractAnalysisHandler () |
| |
| virtual void | endAnalysis ()=0 |
| | function called by the LIMA analyzer on the end of a text part that is to be analyzed
|
| |
| virtual | ~AnalysisData () |
| |
Public Member Functions inherited from Lima::AbstractProcessingClientHandler |
| virtual | ~AbstractProcessingClientHandler () |
| |
| virtual void | setAnalysisClient (const std::string &clientId, std::shared_ptr< AbstractProcessingClient > client) |
| |
| virtual std::shared_ptr< AbstractProcessingClient > | getAnalysisClient (const std::string &clientId) |
| |
| virtual std::map< std::string, std::shared_ptr< AbstractProcessingClient > > | getAnalysisClients () const |
| |
| virtual void | setAnalysisClients (std::map< std::string, std::shared_ptr< AbstractProcessingClient > > clients) |
| |
| virtual void | handleProc (const std::string &tagName, const std::string &content, const std::map< std::string, std::string > &metaData, const std::string &pipeline, const std::map< std::string, AbstractAnalysisHandler * > &handlers=std::map< std::string, AbstractAnalysisHandler * >(), const std::set< std::string > &inactiveUnits=std::set< std::string >()) |
| |
Public Member Functions inherited from Lima::ContentHandler< Common::Misc::GenericDocumentProperties > |
| | ContentHandler () |
| |
| virtual | ~ContentHandler () |
| |
| void | addContent (CONTENT_ID ContentId, Common::Misc::GenericDocumentProperties datas) |
| | Ajouter un contenu au handler.
|
| |
| void | setContents (const std::map< CONTENT_ID, Common::Misc::GenericDocumentProperties > contents) |
| |
| Common::Misc::GenericDocumentProperties * | getContent (CONTENT_ID ContentId) |
| | Récupérer un contenu du handler.
|
| |
| const std::map< CONTENT_ID, Common::Misc::GenericDocumentProperties > & | getContents () const |
| | Récupérer tous les contenus du handler.
|
| |
| void | resetHandler () |
| | Effacer les contenus du handler.
|
| |
Public Member Functions inherited from Lima::ContentHandler< std::vector< float > > |
| | ContentHandler () |
| |
| virtual | ~ContentHandler () |
| |
| void | addContent (CONTENT_ID ContentId, std::vector< float > datas) |
| | Ajouter un contenu au handler.
|
| |
| void | setContents (const std::map< CONTENT_ID, std::vector< float > > contents) |
| |
| std::vector< float > * | getContent (CONTENT_ID ContentId) |
| | Récupérer un contenu du handler.
|
| |
| const std::map< CONTENT_ID, std::vector< float > > & | getContents () const |
| | Récupérer tous les contenus du handler.
|
| |
| void | resetHandler () |
| | Effacer les contenus du handler.
|
| |
abstract handler for XML processing : just inherits from different handlers
Definition at line 31 of file AbstractXmlDocumentHandler.h.