* @return factory instance
*/
private ContentFactory createContentFactory(ContentGenerator generator) {
if (generator instanceof SimpleContentGenerator) {
SimpleContentGenerator simpleGenerator = (SimpleContentGenerator) generator;
return new SimpleContentFactory(simpleGenerator);
}
return null;
}