/**
* @see org.cruxframework.crux.tools.compile.AbstractCruxCompiler#initializeProcessors()
*/
protected void initializeProcessors()
{
DeclarativeUIPreProcessor preProcessor = new DeclarativeUIPreProcessor();
preProcessor.setOutputDir(pagesOutputDir);
preProcessor.setIndent(indentPages);
preProcessor.setKeepGeneratedFiles(keepPagesGeneratedFiles);
if (!StringUtils.isEmpty(outputCharset))
{
preProcessor.setOutputCharset(outputCharset);
}
if (!StringUtils.isEmpty(pageFileExtension))
{
preProcessor.setPageFileExtension(pageFileExtension);
}
addPreProcessor(preProcessor);
}