if (markupProcessor == null)
{
String factoryClass = JRProperties.getProperty(MarkupProcessorFactory.PROPERTY_MARKUP_PROCESSOR_FACTORY_PREFIX + markup);
if (factoryClass == null)
{
throw new JRRuntimeException("No markup processor factory specifyed for '" + markup + "' markup.");
}
MarkupProcessorFactory factory = null;
try
{
factory = (MarkupProcessorFactory) markupProcessorFactoryCache.getCachedInstance(factoryClass);
}
catch (JRException e)
{
throw new JRRuntimeException(e);
}
markupProcessor = factory.createMarkupProcessor();
markupProcessors.put(markup, markupProcessor);
}