The PREVIEW SERVICE of DATA FORMATS ANALYZER is implemented in the DfaPreviewer.py file as a DfaPreviewer module class.
Provides methods to generate the updated preview from XML data files.
Concepts data are stored in the extractedConceptsdictionary with the following structure:
DICTIONARY{
Concept name (STRING):DICTIONARY{
attributes (STRING):LIST[Attribute name (STRING)],
elements (STRING):LIST[Element name (STRING)],
types (STRING):LIST[Type name (STRING)]
}
}
Descriptions data are stored in the extractedDescriptionsdictionary with the following structure:
DICTIONARY{
attributes (STRING):DICTIONARY{Attribute name (STRING): Attribute documentation (STRING)},
elements (STRING):DICTIONARY{Element name (STRING): Element documentation (STRING)},
types (STRING):DICTIONARY{Type name (STRING): Type documentation (STRING)}
}
Parameters:
Generates the updated preview from XML data files.