Files are routed to ContentHandlers, based on the mapping of file types and item descriptors established by the TypeMappings. The ContentHandler is responsible for carrying out the process of transforming the file into a repository item and invoking a back end system to perform add, update, and remove operations on the repository. In the ATG platform, a single class of ContentHandler is included named Xml2RepositoryContentHandler. This class uses ATG’s xml2repository system to transform files into XML files that use the xml2repository schema, which are then transformed into repository items.

The xml2repository system is described in full in the Repository to XML Data Binding chapter of the Web Services and Integration Framework Guide. Make sure you are familiar with that chapter, as it is essential to understanding how to use the Repository Loader.

 
loading table of contents...