The ATG platform includes a single ContentHandler class, named atg.repository.loader.Xml2RepositoryContentHandler. It includes the following configurable properties:

Property

Description

addService

The component that handles repository add operations.

removeService

The component that handles repository remove operations.

updateService

The component that handles repository update operations.

enableTransforms

Boolean. Is the XMLTransformer enabled?

transformFilter

The FileMappingFilter that determines whether a file should be run through the XMLTransformer.

exceptionOnZeroRemove

Boolean. Should we throw an exception if a remove operation found and removed zero repository items?

idPropertyNameForQueries

The name of the property to be used for queries where the updatePropertyConfiguration property of the TypeMapping is CONTENT_DEFINED_ID_AND_NO_PATH_PROP or CONTENT_DEFINED_ID_AND_NAMED_PATH_PROP.

For more information about these components, see Repository to XML Data Binding: Repository Operations in the Web Services and Integration Framework Guide.

The XMLTransformer is a component that can define a set of style sheets to be applied to an XML source. You can set its styleSheets property to an array of style sheet files to use in transforming XML files. An instance of the XMLTransformer can be found in Nucleus at /atg/dynamo/service/loader/typemapping/SampleXMLTransformer. This lets us transform an XML file at load time into the format required by the xml2repository system. Depending on the number and complexity of the stylesheets, this might be an expensive operation.

 
loading table of contents...