policyFactory.createThemeContentBuilder();
themeContent.setStyleSheet(styleSheet);
PolicyReferenceFactory referenceFactory = createReferenceFactory();
ThemeActivator themeActivator = new ThemeActivator(referenceFactory);
// Get the activated variant.
Content activatedContent = activateContent(themeContent, themeActivator,
"policy.mthm", PolicyType.THEME, VariantType.THEME);