Uses of Class
org.commonmark.node.Node
Packages that use Node
Package
Description
AST node types (see
Node
) and visitors (see AbstractVisitor
)Parsing input text to AST nodes (see
Parser
)HTML rendering (see
HtmlRenderer
)Markdown rendering (see
MarkdownRenderer
)Plain text rendering with minimal markup (see
TextContentRenderer
)-
Uses of Node in org.commonmark.ext.autolink.internal
Methods in org.commonmark.ext.autolink.internal that return NodeModifier and TypeMethodDescriptionprivate static Node
AutolinkPostProcessor.insertNode
(Node node, Node insertAfterNode) Methods in org.commonmark.ext.autolink.internal with parameters of type Node -
Uses of Node in org.commonmark.ext.front.matter
Subclasses of Node in org.commonmark.ext.front.matter -
Uses of Node in org.commonmark.ext.gfm.strikethrough
Subclasses of Node in org.commonmark.ext.gfm.strikethroughModifier and TypeClassDescriptionclass
A strikethrough node containing text and other inline nodes as children. -
Uses of Node in org.commonmark.ext.gfm.strikethrough.internal
Methods in org.commonmark.ext.gfm.strikethrough.internal that return types with arguments of type NodeMethods in org.commonmark.ext.gfm.strikethrough.internal with parameters of type NodeModifier and TypeMethodDescriptionvoid
void
void
private void
StrikethroughHtmlNodeRenderer.renderChildren
(Node parent) private void
StrikethroughMarkdownNodeRenderer.renderChildren
(Node parent) private void
StrikethroughTextContentNodeRenderer.renderChildren
(Node parent) -
Uses of Node in org.commonmark.ext.gfm.tables
Subclasses of Node in org.commonmark.ext.gfm.tablesModifier and TypeClassDescriptionclass
class
Body part of aTableBlock
containingTableRows
.class
Table cell of aTableRow
containing inline nodes.class
Head part of aTableBlock
containingTableRows
.class
-
Uses of Node in org.commonmark.ext.gfm.tables.internal
Methods in org.commonmark.ext.gfm.tables.internal that return types with arguments of type NodeMethods in org.commonmark.ext.gfm.tables.internal with parameters of type NodeModifier and TypeMethodDescriptionTableHtmlNodeRenderer.getAttributes
(Node node, String tagName) void
private void
TableHtmlNodeRenderer.renderChildren
(Node parent) private void
TableMarkdownNodeRenderer.renderChildren
(Node parent) private void
TableTextContentNodeRenderer.renderChildren
(Node parent) -
Uses of Node in org.commonmark.ext.heading.anchor.internal
Methods in org.commonmark.ext.heading.anchor.internal with parameters of type Node -
Uses of Node in org.commonmark.ext.image.attributes
Subclasses of Node in org.commonmark.ext.image.attributesModifier and TypeClassDescriptionclass
A node containing text and other inline nodes as children. -
Uses of Node in org.commonmark.ext.image.attributes.internal
Methods in org.commonmark.ext.image.attributes.internal with parameters of type Node -
Uses of Node in org.commonmark.ext.ins
Subclasses of Node in org.commonmark.ext.insModifier and TypeClassDescriptionclass
An ins node containing text and other inline nodes as children. -
Uses of Node in org.commonmark.ext.ins.internal
Methods in org.commonmark.ext.ins.internal that return types with arguments of type NodeMethods in org.commonmark.ext.ins.internal with parameters of type NodeModifier and TypeMethodDescriptionvoid
void
void
private void
InsHtmlNodeRenderer.renderChildren
(Node parent) private void
InsMarkdownNodeRenderer.renderChildren
(Node parent) private void
InsTextContentNodeRenderer.renderChildren
(Node parent) -
Uses of Node in org.commonmark.ext.task.list.items
Subclasses of Node in org.commonmark.ext.task.list.itemsModifier and TypeClassDescriptionclass
A marker node indicating that a list item contains a task. -
Uses of Node in org.commonmark.ext.task.list.items.internal
Methods in org.commonmark.ext.task.list.items.internal that return NodeMethods in org.commonmark.ext.task.list.items.internal that return types with arguments of type NodeMethods in org.commonmark.ext.task.list.items.internal with parameters of type Node -
Uses of Node in org.commonmark.internal
Methods in org.commonmark.internal that return NodeModifier and TypeMethodDescriptionprivate Node
InlineParserImpl.parseBang()
If next character is [, and ! delimiter to delimiter stack and add a text node to block's children.private Node
InlineParserImpl.parseCloseBracket()
Try to match close bracket against an opening in the delimiter stack.private Node
InlineParserImpl.parseLineBreak()
private Node
InlineParserImpl.parseOpenBracket()
Add open bracket to delimiter stack and add a text node to block's children.private Node
InlineParserImpl.parseText()
Parse the next character as plain text, and possibly more if the following characters are non-special.Methods in org.commonmark.internal that return types with arguments of type NodeModifier and TypeMethodDescriptionInlineParserImpl.parseDelimiters
(DelimiterProcessor delimiterProcessor, char delimiterChar) Attempt to parse delimiters like emphasis, strong emphasis or custom delimiters.InlineParserImpl.parseInline()
Parse the next inline element in subject, advancing our position.Methods in org.commonmark.internal with parameters of type NodeModifier and TypeMethodDescriptionprivate void
InlineParserImpl.mergeChildTextNodes
(Node node) private void
InlineParserImpl.mergeTextNodesInclusive
(Node fromNode, Node toNode) void
InlineParserImpl.parse
(SourceLines lines, Node block) Parse content in block into inline children, appending them to the block node. -
Uses of Node in org.commonmark.internal.inline
Fields in org.commonmark.internal.inline declared as NodeMethods in org.commonmark.internal.inline that return NodeMethods in org.commonmark.internal.inline with parameters of type NodeConstructors in org.commonmark.internal.inline with parameters of type Node -
Uses of Node in org.commonmark.internal.renderer
Fields in org.commonmark.internal.renderer with type parameters of type NodeModifier and TypeFieldDescriptionprivate final Map
<Class<? extends Node>, NodeRenderer> NodeRendererMap.renderers
Methods in org.commonmark.internal.renderer with parameters of type Node -
Uses of Node in org.commonmark.node
Subclasses of Node in org.commonmark.nodeModifier and TypeClassDescriptionclass
Block nodes such as paragraphs, list blocks, code blocks etc.class
class
class
class
class
class
class
class
class
class
class
HTML blockclass
Inline HTML element.class
class
class
A link with a destination and an optional title; the link text is in child nodes.class
A link reference definition, e.g.:class
class
class
class
A paragraph block, contains inline nodes such asText
class
class
class
class
Fields in org.commonmark.node declared as NodeModifier and TypeFieldDescriptionprivate final Node
Nodes.NodeIterable.end
private final Node
Nodes.NodeIterator.end
private final Node
Nodes.NodeIterable.first
private Node
Node.firstChild
private Node
Node.lastChild
private Node
Node.next
private Node
Nodes.NodeIterator.node
private Node
Node.parent
private Node
Node.prev
Methods in org.commonmark.node that return NodeModifier and TypeMethodDescriptionNode.getFirstChild()
Node.getLastChild()
Node.getNext()
Node.getParent()
Node.getPrevious()
Nodes.NodeIterator.next()
Methods in org.commonmark.node that return types with arguments of type NodeModifier and TypeMethodDescriptionThe nodes between (not including) start and end.Nodes.NodeIterable.iterator()
Methods in org.commonmark.node with parameters of type NodeModifier and TypeMethodDescriptionvoid
Node.appendChild
(Node child) The nodes between (not including) start and end.void
Node.insertAfter
(Node sibling) void
Node.insertBefore
(Node sibling) void
Node.prependChild
(Node child) protected void
protected void
protected void
AbstractVisitor.visitChildren
(Node parent) Visit the child nodes.Method parameters in org.commonmark.node with type arguments of type NodeConstructors in org.commonmark.node with parameters of type NodeModifierConstructorDescriptionprivate
NodeIterable
(Node first, Node end) private
NodeIterator
(Node first, Node end) -
Uses of Node in org.commonmark.parser
Methods in org.commonmark.parser that return NodeModifier and TypeMethodDescriptionParse the specified input text into a tree of nodes.Parser.parseReader
(Reader input) Parse the specified reader into a tree of nodes.private Node
Parser.postProcess
(Node document) Methods in org.commonmark.parser with parameters of type NodeModifier and TypeMethodDescriptionvoid
InlineParser.parse
(SourceLines lines, Node node) private Node
Parser.postProcess
(Node document) -
Uses of Node in org.commonmark.renderer
Methods in org.commonmark.renderer that return types with arguments of type NodeMethods in org.commonmark.renderer with parameters of type Node -
Uses of Node in org.commonmark.renderer.html
Methods in org.commonmark.renderer.html that return types with arguments of type NodeMethods in org.commonmark.renderer.html with parameters of type NodeModifier and TypeMethodDescriptionLet extensions modify the HTML tag attributes.HtmlRenderer.RendererContext.extendAttributes
(Node node, String tagName, Map<String, String> attributes) void
void
Render the specified node and its children using the configured renderers.void
HtmlRenderer.render
(Node node, Appendable output) void
private void
void
Set the attributes for a HTML tag of the specified node by modifying the provided map.private void
HtmlRenderer.RendererContext.setCustomAttributes
(Node node, String tagName, Map<String, String> attrs) protected void
CoreHtmlNodeRenderer.visitChildren
(Node parent) -
Uses of Node in org.commonmark.renderer.markdown
Methods in org.commonmark.renderer.markdown that return types with arguments of type NodeMethods in org.commonmark.renderer.markdown with parameters of type NodeModifier and TypeMethodDescriptionvoid
void
Render the specified node and its children using the configured renderers.void
MarkdownRenderer.render
(Node node, Appendable output) void
protected void
CoreMarkdownNodeRenderer.visitChildren
(Node parent) private void
CoreMarkdownNodeRenderer.writeLinkLike
(String title, String destination, Node node, String opener) -
Uses of Node in org.commonmark.renderer.text
Methods in org.commonmark.renderer.text that return types with arguments of type NodeMethods in org.commonmark.renderer.text with parameters of type NodeModifier and TypeMethodDescriptionvoid
void
Render the specified node and its children using the configured renderers.void
TextContentRenderer.render
(Node node, Appendable output) void
protected void
CoreTextContentNodeRenderer.visitChildren
(Node parent) private void
CoreTextContentNodeRenderer.writeEndOfLineIfNeeded
(Node node, Character c) private void