Class CommentBuilder
java.lang.Object
pro.verron.asciidoc.core.CommentBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a newCommentfrom the current builder state.getId()Returns the unique identifier.setBlockEnd(int blockEnd) Sets the ending block position.setBlockStart(int blockStart) Sets the starting block position.setId(BigInteger id) Sets the unique identifier.setLineEnd(int lineEnd) Sets the ending line position.setLineStart(int lineStart) Sets the starting line position.
-
Constructor Details
-
CommentBuilder
Constructs aCommentBuilderwith the given comment identifier.- Parameters:
id- unique identifier for the comment
-
-
Method Details
-
createComment
-
getId
-
setId
Sets the unique identifier.- Parameters:
id- unique identifier as aBigInteger- Returns:
- this builder for method chaining
-
setBlockStart
Sets the starting block position.- Parameters:
blockStart- starting block position- Returns:
- this builder for method chaining
-
setLineStart
Sets the starting line position.- Parameters:
lineStart- starting line position- Returns:
- this builder for method chaining
-
setBlockEnd
Sets the ending block position.- Parameters:
blockEnd- ending block position- Returns:
- this builder for method chaining
-
setLineEnd
Sets the ending line position.- Parameters:
lineEnd- ending line position- Returns:
- this builder for method chaining
-