public class JavaHtmlSourceRenderer extends PlaintextHtmlSourceRenderer implements JavaSourceListener
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLOSE_COMMENT |
protected static String |
CLOSE_JDOCTAG |
protected static String |
CLOSE_KEYWORD |
protected static String |
CLOSE_SPAN |
protected static String |
CLOSE_STRING |
protected static String |
OPEN_COMMENT |
protected static String |
OPEN_JDOCTAG |
protected static String |
OPEN_KEYWORD |
protected static String |
OPEN_STRING |
emptyCoverageMsg, lineInfo, out, renderingHelper, space, tab| Constructor and Description |
|---|
JavaHtmlSourceRenderer(FullFileInfo fileInfo,
List<LineRenderInfo> lineInfo,
HtmlRenderingSupport renderingHelper,
String emptyCoverageMsg,
String tab,
String space) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTestOnlyPackage(PackageInfo pkg)
Returns true if package contains only test classes
|
void |
onCommentChunk(String s) |
void |
onIdentifier(String id) |
void |
onImport(String imp) |
void |
onImportSegment(String accum,
String seg) |
void |
onJavadocTag(String s) |
void |
onKeyword(String s) |
void |
onPackageSegment(String packageName,
String seg) |
void |
onStringLiteral(String s) |
onChunk, onEndDocument, onNewLine, onStartDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonChunk, onEndDocument, onNewLine, onStartDocumentprotected static final String CLOSE_SPAN
protected static final String OPEN_KEYWORD
protected static final String CLOSE_KEYWORD
protected static final String OPEN_STRING
protected static final String CLOSE_STRING
protected static final String OPEN_JDOCTAG
protected static final String CLOSE_JDOCTAG
protected static final String OPEN_COMMENT
protected static final String CLOSE_COMMENT
public JavaHtmlSourceRenderer(FullFileInfo fileInfo, List<LineRenderInfo> lineInfo, HtmlRenderingSupport renderingHelper, String emptyCoverageMsg, String tab, String space)
public void onImport(String imp)
onImport in interface JavaSourceListenerpublic void onStringLiteral(String s)
onStringLiteral in interface JavaSourceListenerpublic void onKeyword(String s)
onKeyword in interface JavaSourceListenerpublic void onCommentChunk(String s)
onCommentChunk in interface JavaSourceListenerpublic void onJavadocTag(String s)
onJavadocTag in interface JavaSourceListenerpublic boolean isTestOnlyPackage(PackageInfo pkg)
public void onPackageSegment(String packageName, String seg)
onPackageSegment in interface JavaSourceListenerpublic void onImportSegment(String accum, String seg)
onImportSegment in interface JavaSourceListenerpublic void onIdentifier(String id)
onIdentifier in interface JavaSourceListenerCopyright © 2024 OpenClover.org. All rights reserved.