The FileToDOMPropertyDescriptor
included with Quincy Funds is an implementation of class atg.xml.FileToDOMPropertyDescriptor
, which extends atg.repository.RepositoryPropertyDescriptor
. It takes another of the item descriptor’s properties (of type File) as an attribute. It then transforms and caches the content of the other property as an org.w3c.Document
.
The following example definition is from the repository definition file DSSJ2EEDemo/config/atg/demo/QuincyFunds/repositories/News/news.xml
:
<property name="document" property-type = "atg.xml.FileToDOMPropertyDescriptor" queryable="false"> <attribute name="documentSourcePropertyName" value = "newsContent"/> <attribute name="contextRootName" value="QuincyFunds"/> </property>
(Note that this property is not actually used in the demo.)
For more information on this property descriptor class, please refer to the ATG API Reference.