![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
XML parser for source structured documents. More...
#include <linguisticProcessing/core/DocumentsReader/structuredDocumentXMLParser.h>
Public Member Functions | |
| StructuredDocumentXMLParser () | |
| virtual | ~StructuredDocumentXMLParser (void) |
| void | setShiftFrom (std::shared_ptr< const ShiftFrom > shiftFrom) |
| void | setLinguisticXMLDocHandler (StructuredXmlDocumentHandler *handler) |
| bool | startDocument (unsigned int parserOffset) |
| bool | startElement (const QString &namespaceURI, const QString &name, const QString &qName, const QXmlStreamAttributes &attributes, unsigned int parserOffset) |
| bool | characters (const QString &ch, unsigned int parserOffset) |
| bool | endElement (const QString &namespaceURI, const QString &qsname, const QString &qName, unsigned int parserOffset) |
| bool | endDocument () |
| void | init (Lima::Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override |
Public Member Functions inherited from Lima::DocumentsReader::AbstractReaderResource | |
| virtual void | init (Lima::Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override=0 |
| initialize with parameters from configuration file and languageId. | |
Public Member Functions inherited from Lima::InitializableObject< AbstractReaderResource, ReaderResourceInitializationParameters > | |
| InitializableObject () | |
| InitializableObject (const InitializableObject &object) | |
| InitializableObject & | operator= (const InitializableObject &object) |
| virtual | ~InitializableObject () |
| const std::string & | getId () const |
| get the object id | |
| void | setId (const std::string &id) |
| set the object id | |
Additional Inherited Members | |
Public Types inherited from Lima::InitializableObject< AbstractReaderResource, ReaderResourceInitializationParameters > | |
| typedef InitializableObjectManager< AbstractReaderResource, ReaderResourceInitializationParameters > | Manager |
| Manager is the type of the Manager associated to the initializableObject. | |
| typedef InitializableObjectFactory< AbstractReaderResource > | Factory |
| Factory is the type of the Factory associated to the initializableObject. | |
Protected Attributes inherited from Lima::InitializableObject< AbstractReaderResource, ReaderResourceInitializationParameters > | |
| std::string | m_id |
XML parser for source structured documents.
Tags and attributes semantics are read in configuration files.
Definition at line 65 of file structuredDocumentXMLParser.h.
| Lima::DocumentsReader::StructuredDocumentXMLParser::StructuredDocumentXMLParser | ( | ) |
Definition at line 46 of file structuredDocumentXMLParser.cpp.
|
virtual |
Definition at line 59 of file structuredDocumentXMLParser.cpp.
| bool Lima::DocumentsReader::StructuredDocumentXMLParser::characters | ( | const QString & | ch, |
| unsigned int | parserOffset | ||
| ) |
Definition at line 701 of file structuredDocumentXMLParser.cpp.
| bool Lima::DocumentsReader::StructuredDocumentXMLParser::endDocument | ( | ) |
Definition at line 366 of file structuredDocumentXMLParser.cpp.
| bool Lima::DocumentsReader::StructuredDocumentXMLParser::endElement | ( | const QString & | namespaceURI, |
| const QString & | qsname, | ||
| const QString & | qName, | ||
| unsigned int | parserOffset | ||
| ) |
Definition at line 563 of file structuredDocumentXMLParser.cpp.
|
override |
Definition at line 72 of file structuredDocumentXMLParser.cpp.
|
inline |
Definition at line 78 of file structuredDocumentXMLParser.h.
| void Lima::DocumentsReader::StructuredDocumentXMLParser::setShiftFrom | ( | std::shared_ptr< const ShiftFrom > | shiftFrom | ) |
Definition at line 63 of file structuredDocumentXMLParser.cpp.
| bool Lima::DocumentsReader::StructuredDocumentXMLParser::startDocument | ( | unsigned int | parserOffset | ) |
Definition at line 350 of file structuredDocumentXMLParser.cpp.
| bool Lima::DocumentsReader::StructuredDocumentXMLParser::startElement | ( | const QString & | namespaceURI, |
| const QString & | name, | ||
| const QString & | qName, | ||
| const QXmlStreamAttributes & | attributes, | ||
| unsigned int | parserOffset | ||
| ) |
Definition at line 385 of file structuredDocumentXMLParser.cpp.