org.pentaho.reporting.engine.classic.core.layout.richtext
Class HtmlRichTextConverter

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.richtext.HtmlRichTextConverter
All Implemented Interfaces:
RichTextConverter

public class HtmlRichTextConverter
extends Object
implements RichTextConverter

This handles HTML 3.2 with some CSS support. It uses the Swing HTML parser to process the document.

Author:
Thomas Morgner.

Constructor Summary
HtmlRichTextConverter()
           
 
Method Summary
 Object convert(Element source, Object value)
           
 boolean isRecognizedType(String mimeType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlRichTextConverter

public HtmlRichTextConverter()
Method Detail

isRecognizedType

public boolean isRecognizedType(String mimeType)
Specified by:
isRecognizedType in interface RichTextConverter

convert

public Object convert(Element source,
                      Object value)
Specified by:
convert in interface RichTextConverter