Top Fields Constructors Methods
com.vladsch.flexmark.html

public Class HtmlWriter

extends HtmlAppendableBase<HtmlWriter>
Class Inheritance
Imports
com.vladsch.flexmark.html.renderer.AttributablePart, .LinkStatus, .NodeRendererContext, .ResolvedLink, com.vladsch.flexmark.util.html.Attribute, .Attributes, .HtmlAppendableBase, com.vladsch.flexmark.util.sequence.BasedSequence, .TagRange, org.jetbrains.annotations.NotNull, .Nullable, java.util.ArrayList

Field Summary

Modifier and TypeField and Description
private @Nullable NodeRendererContext
private @Nullable AttributablePart

Constructor Summary

AccessConstructor and Description
public
HtmlWriter(int indentSize, int formatOptions)

public
HtmlWriter(HtmlWriter other, boolean inheritIndent)

public
HtmlWriter(int indentSize, int formatOptions, boolean suppressOpenTagLine, boolean suppressCloseTagLine)

public
HtmlWriter(@Nullable Appendable appendable, int indentSize, int formatOptions, boolean suppressOpenTagLine, boolean suppressCloseTagLine)

Method Summary

Modifier and TypeMethod and Description
public @NotNull NodeRendererContext
pack-priv void
public @NotNull HtmlWriter
public @NotNull HtmlWriter
public @NotNull HtmlWriter
srcPos(int startOffset, int endOffset)

public @NotNull HtmlWriter
public @NotNull HtmlWriter
public @NotNull HtmlWriter
public @NotNull HtmlWriter
public @NotNull HtmlWriter
tag(@NotNull CharSequence tagName, boolean voidElement)

public @NotNull HtmlWriter
public @NotNull HtmlWriter
public @NotNull HtmlWriter
Inherited from com.vladsch.flexmark.util.html.HtmlAppendableBase:
addIndentOnFirstEOLaddPrefixaddPrefixappendappendappendappendappendappendToattrattrattrblankLineblankLineblankLineIfchangeOptionsclosePreclosePreFormattedcloseTagcolumnendsWithEOLgetAfterEolPrefixDeltagetAttributesgetBeforeEolPrefixgetBuildergetEmptyAppendablegetIndentPrefixgetLinegetLineCountgetLineCountWithPendinggetLineInfogetLinesgetLinesInfogetOpenTagsgetOpenTagsAfterLastgetOpenTagTextgetOptionsgetOptionSetgetPendingEOLgetPendingSpacegetPrefixgetTrailingBlankLinesindentinPreinsertLineisPendingSpaceisPreFormattedisSuppressCloseTagLineisSuppressOpenTagLineiteratorlinelineIflineOnFirstTextlineWithTrailingSpacesoffsetoffsetWithPendingopenPreopenPreFormattedpopOptionspopPrefixpopPrefixpopTagpushOptionspushPrefixpushTagrawrawrawIndentedPrerawPreremoveExtraBlankLinesremoveIndentOnFirstEOLremoveLinessetAttributessetIndentPrefixsetLinesetOptionssetPrefixsetPrefixsetPrefixLengthsetSuppressCloseTagLinesetSuppressOpenTagLinetagtagtagtagtagClosedtagIndenttagLinetagLinetagLinetagLineIndenttagOpenedtagVoidtagVoidLinetexttoSequencetoStringtoStringunIndentunIndentNoEolwithCondIndentwithCondLineOnChildText

Field Detail

contextback to summary
private @Nullable NodeRendererContext context
Annotations
@Nullable
useAttributesback to summary
private @Nullable AttributablePart useAttributes
Annotations
@Nullable

Constructor Detail

HtmlWriterback to summary
public HtmlWriter(int indentSize, int formatOptions)
HtmlWriterback to summary
public HtmlWriter(HtmlWriter other, boolean inheritIndent)
HtmlWriterback to summary
public HtmlWriter(int indentSize, int formatOptions, boolean suppressOpenTagLine, boolean suppressCloseTagLine)
HtmlWriterback to summary
public HtmlWriter(@Nullable Appendable appendable, int indentSize, int formatOptions, boolean suppressOpenTagLine, boolean suppressCloseTagLine)

Method Detail

getContextback to summary
public @NotNull NodeRendererContext getContext()
Annotations
@NotNull
setContextback to summary
pack-priv void setContext(@NotNull NodeRendererContext context)
srcPosback to summary
public @NotNull HtmlWriter srcPos()
Annotations
@NotNull
srcPosback to summary
public @NotNull HtmlWriter srcPos(@NotNull BasedSequence sourceText)
Annotations
@NotNull
srcPosback to summary
public @NotNull HtmlWriter srcPos(int startOffset, int endOffset)
Annotations
@NotNull
srcPosWithEOLback to summary
public @NotNull HtmlWriter srcPosWithEOL()
Annotations
@NotNull
srcPosWithEOLback to summary
public @NotNull HtmlWriter srcPosWithEOL(@NotNull BasedSequence sourceText)
Annotations
@SuppressWarnings:WeakerAccess
@NotNull
srcPosWithTrailingEOLback to summary
public @NotNull HtmlWriter srcPosWithTrailingEOL()
Annotations
@NotNull
srcPosWithTrailingEOLback to summary
public @NotNull HtmlWriter srcPosWithTrailingEOL(@NotNull BasedSequence sourceText)
Annotations
@SuppressWarnings:WeakerAccess
@NotNull
tagback to summary
public @NotNull HtmlWriter tag(@NotNull CharSequence tagName, boolean voidElement)
Annotations
@NotNull
@Override
withAttrback to summary
public @NotNull HtmlWriter withAttr()

Overrides com.vladsch.flexmark.util.html.HtmlAppendableBase.withAttr.

Implements com.vladsch.flexmark.util.html.HtmlAppendable.withAttr.

Annotations
@NotNull
withAttrback to summary
public @NotNull HtmlWriter withAttr(@NotNull AttributablePart part)
Annotations
@NotNull
withAttrback to summary
public @NotNull HtmlWriter withAttr(@NotNull LinkStatus status)
Annotations
@NotNull