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 classHtmlEditorKitMarkupProcessor.Factory
-
Constructor Summary
Constructors Constructor Description HtmlEditorKitMarkupProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringconvert(java.lang.String srcText)protected javax.swing.text.EditorKitgetEditorKit()protected static java.lang.StringgetOLBulletChars(int index, boolean isUpperCase)-
Methods inherited from class net.sf.jasperreports.engine.util.EditorKitMarkupProcessor
getAttributes, getDocument
-
-
-
-
Method Detail
-
convert
public java.lang.String convert(java.lang.String srcText)
-
getEditorKit
protected javax.swing.text.EditorKit getEditorKit()
- Specified by:
getEditorKitin classEditorKitMarkupProcessor
-
getOLBulletChars
protected static java.lang.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
-
-