Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| pr_methods:fillwithdata [2023/04/05 07:50] – ↷ Links adapted because of a move operation sean | pr_methods:fillwithdata [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | {{tag>Index Programmers_Reference Methods IDocumentEngine_Interface fillwithdata}} |
| ====fillWithData (String, Map, IDocumentDataSource, | ====fillWithData (String, Map, IDocumentDataSource, | ||
| Line 14: | Line 14: | ||
| throws DocumentException</ | throws DocumentException</ | ||
| - | This method is called by //**Aware IM**// at run time when a particular document template is processed. The method is supposed to replace tags used in the document template with the appropriate attribute values. The values must be obtained from the provided data source – see [[docs: | + | This method is called by //**AwareIM**// at run time when a particular document template is processed. The method is supposed to replace tags used in the document template with the appropriate attribute values. The values must be obtained from the provided data source – see [[docs: |
| - Find the contents of the tags used in the document template. | - Find the contents of the tags used in the document template. | ||
| - Call '' | - Call '' | ||
| - Create a document ('' | - Create a document ('' | ||
| - | - Go through all the tags and call the '' | + | - Go through all the tags and call the '' |
| - Replace each tag in the document with its calculated value | - Replace each tag in the document with its calculated value | ||
| - Call the next method of the data source. While there are elements in the data source repeat steps 3 to 5. | - Call the next method of the data source. While there are elements in the data source repeat steps 3 to 5. | ||
| Line 38: | Line 38: | ||
| ===Returns=== | ===Returns=== | ||
| - | A structure represented by the '' | + | A structure represented by the '' |
| ===Throws=== | ===Throws=== | ||
| the '' | the '' | ||