The Repository Loader Example is configured with TypeMapping
components for each of its item types. The TypeMapping
determines which ContentHandler
component handles the processing of items. Each of these TypeMapping
and ContentHandler
components can be found in the /atg/rl-example/ExampleRepository
Nucleus directory:
Item Type | TypeMapping Component | ContentHandler Component |
---|---|---|
fileFolder | FolderTypeMapping | ContentHandler |
textFileAsset | UnparsedContentTypeMapping | ContentHandler |
htmlArticle | HtmlArticleTypeMapping | HtmlArticleContentHandler |
txtPressRelease | PressReleaseTXTTypeMapping | ContentHandler |
xmlPressRelease | PressReleaseXMLTypeMapping | ContentHandler |
gifImage | GifImageTypeMapping | ContentHandler |
jpgImage | JpgImageTypeMapping | ContentHandler |
user | UserTypeMapping | UserContentHandler |
The ContentHandler
component is used for all the type mappings that don’t require XSL preprocessing.