styleSheetVersion)) {
cssVersion =
new ManualCSS1VersionFactory().createCSSVersion();
} else if (DevicePolicyConstants.CSS_WAP.equals(styleSheetVersion)) {
cssVersion =
new ManualCSSWAPVersionFactory().createCSSVersion();
} else if (DevicePolicyConstants.CSS2.equals(styleSheetVersion)) {
cssVersion =
new ManualCSS2VersionFactory().createCSSVersion();
} else {
// Should never happen, as getStyleSheetVersion constrains the