interface publique au client d'analyse de fichier XML
More...
#include <linguisticProcessing/client/xmlreader/AbstractXmlReaderClient.h>
|
| struct | DocPropertyPublicInfo |
| | Store a subset of document property attributes extracted from configuration, for the purpose of public exposition (introspection) of the document analysis capacities. More...
|
| |
|
| virtual | ~AbstractXmlReaderClient () |
| | define a virtual destructor to ensure concrete client destructors to be called
|
| |
| virtual std::shared_ptr< AnalysisContent > | analyze (const std::string &content, const std::map< std::string, std::string > &metaData, const std::string &pipeline, const std::map< std::string, Lima::AbstractAnalysisHandler * > &handlers=std::map< std::string, Lima::AbstractAnalysisHandler * >(), const std::set< std::string > &inactiveUnits=std::set< std::string >()) const override=0 |
| | Analyse un fichier XML.
|
| |
| virtual void | setAnalysisHandler (const std::string &handlerId, Lima::AbstractAnalysisHandler *handler)=0 |
| |
| virtual void | releaseAnalysisHandler (const std::string &handlerId)=0 |
| | deletes the analysis handler with the given id and removes it
|
| |
| void | setMapTagMedia (const std::map< std::string, std::string > &Ids) |
| |
| void | setDefaultMedia (const std::string &media) |
| |
| void | setDocumentPropertyConfiguration (Lima::Common::XMLConfigurationFiles::XMLConfigurationFileParser *configuration) |
| | Extract from configuration the subset of document property attributes from both standard-properties-list and extended-properties-list.
|
| |
| void | getDocumentPropertyConfiguration (DocPropertyPublicInfoMap &standardPrprtyInfos, DocPropertyPublicInfoMap &extendedPrprtyInfos) const |
| | Retrieve the document property attributes for both standard and extended properties-list.
|
| |
| virtual | ~AbstractProcessingClient () |
| | Define the destructor virtual to ensure concrete client destructors to be called.
|
| |
interface publique au client d'analyse de fichier XML
Definition at line 26 of file AbstractXmlReaderClient.h.
◆ DocPropertyPublicInfoMap
Store the association of a document property name and its subset of attributes.
- Note
- Type alias (C++11) is far better than typedef
Definition at line 69 of file AbstractXmlReaderClient.h.
◆ ~AbstractXmlReaderClient()
| virtual Lima::XmlReader::AbstractXmlReaderClient::~AbstractXmlReaderClient |
( |
| ) |
|
|
inlinevirtual |
define a virtual destructor to ensure concrete client destructors to be called
Definition at line 31 of file AbstractXmlReaderClient.h.
◆ analyze()
| virtual std::shared_ptr< AnalysisContent > Lima::XmlReader::AbstractXmlReaderClient::analyze |
( |
const std::string & |
content, |
|
|
const std::map< std::string, std::string > & |
metaData, |
|
|
const std::string & |
pipeline, |
|
|
const std::map< std::string, Lima::AbstractAnalysisHandler * > & |
handlers = std::map< std::string, Lima::AbstractAnalysisHandler * >(), |
|
|
const std::set< std::string > & |
inactiveUnits = std::set< std::string >() |
|
) |
| const |
|
overridepure virtual |
◆ getDocumentPropertyConfiguration()
Retrieve the document property attributes for both standard and extended properties-list.
Definition at line 79 of file AbstractXmlReaderClient.h.
◆ releaseAnalysisHandler()
| virtual void Lima::XmlReader::AbstractXmlReaderClient::releaseAnalysisHandler |
( |
const std::string & |
handlerId | ) |
|
|
pure virtual |
◆ setAnalysisHandler()
| virtual void Lima::XmlReader::AbstractXmlReaderClient::setAnalysisHandler |
( |
const std::string & |
handlerId, |
|
|
Lima::AbstractAnalysisHandler * |
handler |
|
) |
| |
|
pure virtual |
◆ setDefaultMedia()
| void Lima::XmlReader::AbstractXmlReaderClient::setDefaultMedia |
( |
const std::string & |
media | ) |
|
|
inline |
◆ setDocumentPropertyConfiguration()
Extract from configuration the subset of document property attributes from both standard-properties-list and extended-properties-list.
See configuration at lp-structuredXmlreaderclient . documentXMLParser
Definition at line 21 of file AbstractXmlReaderClient.cpp.
◆ setMapTagMedia()
| void Lima::XmlReader::AbstractXmlReaderClient::setMapTagMedia |
( |
const std::map< std::string, std::string > & |
Ids | ) |
|
|
inline |
◆ m_defaultMedia
| std::string Lima::XmlReader::AbstractXmlReaderClient::m_defaultMedia |
|
protected |
◆ m_extendedPrprtyInfos
◆ m_mapTagMedia
| std::map<std::string, std::string> Lima::XmlReader::AbstractXmlReaderClient::m_mapTagMedia |
|
protected |
◆ m_processingClientHandler
◆ m_standardPrprtyInfos
The documentation for this class was generated from the following files: