Package net.sf.jasperreports.engine.util
Class HtmlEditorKitMarkupProcessor
- java.lang.Object
-
- net.sf.jasperreports.engine.util.EditorKitMarkupProcessor
-
- net.sf.jasperreports.engine.util.HtmlEditorKitMarkupProcessor
-
- All Implemented Interfaces:
MarkupProcessor
- Direct Known Subclasses:
JEditorPaneHtmlMarkupProcessor
public class HtmlEditorKitMarkupProcessor extends EditorKitMarkupProcessor
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HtmlEditorKitMarkupProcessor.Factory
-
Constructor Summary
Constructors Constructor Description HtmlEditorKitMarkupProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convert(String srcText)
protected EditorKit
getEditorKit()
protected static String
getOLBulletChars(int index, boolean isUpperCase)
-
Methods inherited from class net.sf.jasperreports.engine.util.EditorKitMarkupProcessor
getAttributes, getDocument
-
-
-
-
Method Detail
-
getEditorKit
protected EditorKit getEditorKit()
- Specified by:
getEditorKit
in classEditorKitMarkupProcessor
-
getOLBulletChars
protected static String getOLBulletChars(int index, boolean isUpperCase)
- Parameters:
index
- the current index between 0 and 18277isUpperCase
- specifies whether the result should be made of upper case characters- Returns:
- a character representation of the numeric index in an ordered bullet list, that contains up to 3 chars
-
-