public interface JHtmlComment extends JComment
| Modifier and Type | Method and Description |
|---|---|
JHtmlComment |
block()
Add a comment sub-block at this location.
|
JHtmlComment |
br()
Add a line separator.
|
JHtmlComment |
docRoot()
Add the
{@docRoot} tag at this position. |
JHtmlTag |
htmlLink(java.lang.String url)
Add an HTML link (
<a> tag). |
JHtmlTag |
htmlTag(java.lang.String tag,
boolean newLine)
Add an HTML tag.
|
JHtmlComment |
inlineDocTag(java.lang.String tag,
java.lang.String body)
Add an inline doc tag with simple content.
|
JHtmlComment |
nl()
Add a newline.
|
JHtmlComment |
p()
Add a paragraph separator.
|
JComment |
preformattedCode()
Add an inline
@code tag within a {@code |
JHtmlComment |
sp()
Add a non-trailing space.
|
JHtmlComment |
text(java.lang.String text)
Add some text to the end of this comment.
|
JHtmlComment |
typeName(JType type)
Add a type name to the end of this comment.
|
JHtmlComment |
value(JType type,
java.lang.String fieldName)
Add a
@value inline tag. |
code, inlineDocTag, linkConstructor, linkField, linkMethod, linkMethod, linkTypeJHtmlComment block()
JHtmlComment text(java.lang.String text)
JHtmlComment inlineDocTag(java.lang.String tag, java.lang.String body)
inlineDocTag in interface JCommenttag - the tag name (without the leading @ sign)body - the complete tag bodyJHtmlComment sp()
JHtmlComment nl()
JHtmlComment typeName(JType type)
JHtmlComment docRoot()
{@docRoot} tag at this position.JHtmlComment p()
JHtmlComment br()
JHtmlComment value(JType type, java.lang.String fieldName)
@value inline tag.type - the value typefieldName - the value field nameJHtmlTag htmlLink(java.lang.String url)
<a> tag).url - the URL to link toJHtmlTag htmlTag(java.lang.String tag, boolean newLine)
tag - the HTML tagnewLine - true to add a newline after the opening tag and before the closing tagJComment preformattedCode()
@code tag within a <pre></pre> block.