public class

CommentGenerator

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.output.code.CommentGenerator

Class Overview

A comment generator for CodeDocuments.

Summary

Public Constructors
CommentGenerator(CodeDocumentPart out, String commentToken)
CommentGenerator(CodeDocumentPart out, String commentToken, int inlineSpacesBefore, int spacesAfter)
Public Methods
boolean genInline(ICodeCoordinates coord, String buffer, boolean auto)
boolean genInline(ICodeCoordinates coord, Comment c, int metaFlagsMustHave, int metaFlagsCantHave, String additions)
boolean genPre(ICodeCoordinates coord, Comment c, String additions)
int getMargin()
void reset()
void setMargin(int margin)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CommentGenerator (CodeDocumentPart out, String commentToken)

public CommentGenerator (CodeDocumentPart out, String commentToken, int inlineSpacesBefore, int spacesAfter)

Public Methods

public boolean genInline (ICodeCoordinates coord, String buffer, boolean auto)

public boolean genInline (ICodeCoordinates coord, Comment c, int metaFlagsMustHave, int metaFlagsCantHave, String additions)

public boolean genPre (ICodeCoordinates coord, Comment c, String additions)

public int getMargin ()

public void reset ()

public void setMargin (int margin)