Interface IMarkupWriter<T,E extends Throwable>
-
- All Known Implementing Classes:
AbstractMarkupWriter
,MarkupXmlEventWriter
,MarkupXmlStreamWriter
public interface IMarkupWriter<T,E extends Throwable>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IMarkupWriter.ChildHandler<T,E extends Throwable>
Provides a callback to handle node children.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description QName
asQName(String localName)
void
writeBlockHtml(com.vladsch.flexmark.ast.HtmlBlock node)
void
writeBlockQuote(com.vladsch.flexmark.ast.BlockQuote node, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeBreak(com.vladsch.flexmark.ast.HardLineBreak node)
void
writeBreak(com.vladsch.flexmark.ast.ThematicBreak node)
void
writeCode(com.vladsch.flexmark.ast.Code node, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeCodeBlock(com.vladsch.flexmark.ast.CodeBlock node, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeCodeBlock(com.vladsch.flexmark.ast.FencedCodeBlock node, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeCodeBlock(com.vladsch.flexmark.ast.IndentedCodeBlock node, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeComment(com.vladsch.flexmark.ast.HtmlCommentBlock node)
default void
writeElement(String localName, com.vladsch.flexmark.util.ast.Node node, IMarkupWriter.ChildHandler<T,E> childHandler)
default void
writeElement(String localName, com.vladsch.flexmark.util.ast.Node node, Map<String,String> attributes, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeElement(QName qname, com.vladsch.flexmark.util.ast.Node node, Map<String,String> attributes, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeElementEnd(QName qname)
default void
writeElementStart(QName qname)
void
writeElementStart(QName qname, Map<String,String> attributes)
default void
writeEmptyElement(String localName, Map<String,String> attributes)
void
writeEmptyElement(QName qname, Map<String,String> attributes)
void
writeHeading(com.vladsch.flexmark.ast.Heading node, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeHtmlEntity(com.vladsch.flexmark.ast.HtmlEntity node)
void
writeHtmlEntity(com.vladsch.flexmark.ext.typographic.TypographicSmarts node)
void
writeImage(com.vladsch.flexmark.ast.Image node)
void
writeInlineHtml(com.vladsch.flexmark.ast.HtmlInline node)
void
writeInsertAnchor(InsertAnchorExtension.InsertAnchorNode node)
void
writeLink(com.vladsch.flexmark.ast.AutoLink node)
void
writeLink(com.vladsch.flexmark.ast.Link node, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeLink(com.vladsch.flexmark.ast.MailLink node)
default void
writeList(String localName, com.vladsch.flexmark.ast.ListBlock node, IMarkupWriter.ChildHandler<T,E> listItemHandler)
void
writeList(QName qname, com.vladsch.flexmark.ast.ListBlock node, IMarkupWriter.ChildHandler<T,E> listItemHandler)
void
writeListItem(com.vladsch.flexmark.ast.ListItem node, IMarkupWriter.ChildHandler<T,E> listItemHandler)
void
writeParagraph(com.vladsch.flexmark.ast.Paragraph node, IMarkupWriter.ChildHandler<T,E> childHandler)
void
writeTable(com.vladsch.flexmark.ext.tables.TableBlock node, IMarkupWriter.ChildHandler<T,E> cellChilddHandler)
void
writeText(com.vladsch.flexmark.ast.Text node)
void
writeText(com.vladsch.flexmark.ast.TextBase node)
Handle a combination ofText
andEscapedCharacter
node children.void
writeText(CharSequence text)
void
writeTypographicQuotes(com.vladsch.flexmark.ext.typographic.TypographicQuotes node, IMarkupWriter.ChildHandler<T,E> childHandler)
-
-
-
Method Detail
-
writeElement
default void writeElement(@NonNull String localName, @NonNull com.vladsch.flexmark.util.ast.Node node, @Nullable IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeElement
default void writeElement(@NonNull String localName, @NonNull com.vladsch.flexmark.util.ast.Node node, @NonNull Map<String,String> attributes, @Nullable IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeElement
void writeElement(@NonNull QName qname, @NonNull com.vladsch.flexmark.util.ast.Node node, @NonNull Map<String,String> attributes, @Nullable IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeEmptyElement
default void writeEmptyElement(@NonNull String localName, @NonNull Map<String,String> attributes) throws E extends Throwable
-
writeEmptyElement
void writeEmptyElement(@NonNull QName qname, @NonNull Map<String,String> attributes) throws E extends Throwable
-
writeElementStart
default void writeElementStart(@NonNull QName qname) throws E extends Throwable
-
writeElementStart
void writeElementStart(@NonNull QName qname, @NonNull Map<String,String> attributes) throws E extends Throwable
-
writeElementEnd
void writeElementEnd(@NonNull QName qname) throws E extends Throwable
-
writeText
void writeText(@NonNull com.vladsch.flexmark.ast.TextBase node) throws E extends Throwable
Handle a combination ofText
andEscapedCharacter
node children.
-
writeText
void writeText(@NonNull CharSequence text) throws E extends Throwable
-
writeHtmlEntity
void writeHtmlEntity(@NonNull com.vladsch.flexmark.ast.HtmlEntity node) throws E extends Throwable
-
writeHtmlEntity
void writeHtmlEntity(@NonNull com.vladsch.flexmark.ext.typographic.TypographicSmarts node) throws E extends Throwable
-
writeParagraph
void writeParagraph(@NonNull com.vladsch.flexmark.ast.Paragraph node, @NonNull IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeLink
void writeLink(@NonNull com.vladsch.flexmark.ast.Link node, @NonNull IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeLink
void writeLink(@NonNull com.vladsch.flexmark.ast.MailLink node) throws E extends Throwable
-
writeLink
void writeLink(@NonNull com.vladsch.flexmark.ast.AutoLink node) throws E extends Throwable
-
writeTypographicQuotes
void writeTypographicQuotes(@NonNull com.vladsch.flexmark.ext.typographic.TypographicQuotes node, @NonNull IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeInlineHtml
void writeInlineHtml(@NonNull com.vladsch.flexmark.ast.HtmlInline node) throws E extends Throwable
-
writeBlockHtml
void writeBlockHtml(@NonNull com.vladsch.flexmark.ast.HtmlBlock node) throws E extends Throwable
-
writeTable
void writeTable(@NonNull com.vladsch.flexmark.ext.tables.TableBlock node, @NonNull IMarkupWriter.ChildHandler<T,E> cellChilddHandler) throws E extends Throwable
-
writeImage
void writeImage(@NonNull com.vladsch.flexmark.ast.Image node) throws E extends Throwable
-
writeInsertAnchor
void writeInsertAnchor(@NonNull InsertAnchorExtension.InsertAnchorNode node) throws E extends Throwable
-
writeHeading
void writeHeading(@NonNull com.vladsch.flexmark.ast.Heading node, @NonNull IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeCode
void writeCode(@NonNull com.vladsch.flexmark.ast.Code node, @NonNull IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeCodeBlock
void writeCodeBlock(@NonNull com.vladsch.flexmark.ast.IndentedCodeBlock node, @NonNull IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeCodeBlock
void writeCodeBlock(@NonNull com.vladsch.flexmark.ast.FencedCodeBlock node, @NonNull IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeCodeBlock
void writeCodeBlock(@NonNull com.vladsch.flexmark.ast.CodeBlock node, @NonNull IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeBlockQuote
void writeBlockQuote(@NonNull com.vladsch.flexmark.ast.BlockQuote node, @NonNull IMarkupWriter.ChildHandler<T,E> childHandler) throws E extends Throwable
-
writeList
default void writeList(@NonNull String localName, @NonNull com.vladsch.flexmark.ast.ListBlock node, @NonNull IMarkupWriter.ChildHandler<T,E> listItemHandler) throws E extends Throwable
-
writeList
void writeList(@NonNull QName qname, @NonNull com.vladsch.flexmark.ast.ListBlock node, @NonNull IMarkupWriter.ChildHandler<T,E> listItemHandler) throws E extends Throwable
-
writeListItem
void writeListItem(@NonNull com.vladsch.flexmark.ast.ListItem node, @NonNull IMarkupWriter.ChildHandler<T,E> listItemHandler) throws E extends Throwable
-
writeBreak
void writeBreak(@NonNull com.vladsch.flexmark.ast.HardLineBreak node) throws E extends Throwable
-
writeBreak
void writeBreak(@NonNull com.vladsch.flexmark.ast.ThematicBreak node) throws E extends Throwable
-
writeComment
void writeComment(@NonNull com.vladsch.flexmark.ast.HtmlCommentBlock node) throws E extends Throwable
-
-