#include <XMLMetadataLoader.h>
Inheritance diagram for XMLMetadataLoader:
Public Member Functions | |
int | loadMetadata (const char *location, ClassHierarchy *classes, CStdString &warningsForUser, CStdString &errorForUser) |
Protected Member Functions | |
CStdString | getInputFileName (const char *location) |
int | processClassElement (DOMElement *rootElement, ClassHierarchy *classes, CStdString &warningsForUser, CStdString &errorForUser) |
int | processMappingElement (DOMElement *rootElement, FullClassInfo &classInfo, CStdString &warningsForUser, CStdString &errorForUser) |
int | processGroupElement (DOMElement *rootElement, FullClassInfo &classInfo, CStdString &warningsForUser, CStdString &errorForUser) |
int | processHintsElement (DOMElement *rootElement, FullClassInfo &classInfo, CStdString &warningsForUser, CStdString &errorForUser) |
int | fillInAttributeInfo (DOMElement *rootElement, CStdString &attrName, AttributeInfo &attrInfo, CStdString &warningsForUser, CStdString &errorForUser, const CStdString &className, bool persistent) |
|
Loads metadata from given XML file.
Implements MetadataLoader. |
|
Generates input file name using
|
|
Processes <class> element of parsed XML tree, adds acquired info to
|
|
Processes <mapping> element of parsed XML tree, adds acquired info to
|
|
Processes <group> element of parsed XML tree, adds acquired info to
|
|
Processes <hints> element of parsed XML tree, adds acquired info to
|
|
Processes <attribute> element of parsed XML tree, puts acquired info into AttributeInfo structure.
|