namespaceSwitchContentHandlerMap =
NamespaceSwitchContentHandlerMap.getInstance();
// initialize the "im" namespace content handler.
namespaceSwitchContentHandlerMap.addContentHandler(IM.getURI(),
new IAPIContentHandlerFactory());
// Getting the XDIME content handler factory by reflection is messy,
// but without refactoring Volantis and/or the runtime subsystem this
// is the clearest solution.
// @todo refactor to avoid this