String exporterKey)
{
if (NAME.equals(elementName)
&& JRXhtmlExporter.XHTML_EXPORTER_KEY.equals(exporterKey))
{
return new HtmlElementXhtmlHandler();
}
else if (NAME.equals(elementName)
&& JRPdfExporter.PDF_EXPORTER_KEY.equals(exporterKey))
{
return new HtmlElementPdfHandler();