摘要 |
A system for content structure adaptation is provided that includes a grammar specification that defines a set system rules, a descriptor that defines content names and types, where the descriptor creates an instance based upon the grammar specification, an interpreter that adds system requirements to the instance, and a code generator that generates application code in response to the system requirements defined in the instance. A method for content structure adaptation includes deriving a data element description from common data, applying system rules to the data element description to create an instance that includes data element definitions and system data requirements, and mapping the data element definitions to corresponding source code fragments in response to the system data requirements. The content structure adaptation system and method changes the data structure of a documentation system by editing a configuration file, as opposed to manually reconfiguring or rewriting source code.
|