Uses of Class
org.commonmark.node.Node
-
-
Uses of Node in org.commonmark.ext.autolink.internal
Methods in org.commonmark.ext.autolink.internal that return Node Modifier and Type Method Description private static NodeAutolinkPostProcessor. insertNode(Node node, Node insertAfterNode)NodeAutolinkPostProcessor. process(Node node)Methods in org.commonmark.ext.autolink.internal with parameters of type Node Modifier and Type Method Description private static NodeAutolinkPostProcessor. insertNode(Node node, Node insertAfterNode)NodeAutolinkPostProcessor. process(Node node) -
Uses of Node in org.commonmark.ext.footnotes
Subclasses of Node in org.commonmark.ext.footnotes Modifier and Type Class Description classFootnoteDefinitionA footnote definition, e.g.:classFootnoteReferenceA footnote reference, e.g.classInlineFootnote -
Uses of Node in org.commonmark.ext.footnotes.internal
Fields in org.commonmark.ext.footnotes.internal declared as Node Modifier and Type Field Description private NodeFootnoteHtmlNodeRenderer.ShallowReferenceVisitor. parentFields in org.commonmark.ext.footnotes.internal with type parameters of type Node Modifier and Type Field Description private java.util.function.Consumer<Node>FootnoteHtmlNodeRenderer.ShallowReferenceVisitor. consumerprivate java.util.Map<Node,FootnoteHtmlNodeRenderer.ReferencedDefinition>FootnoteHtmlNodeRenderer. referencedDefinitionsDefinitions that were referenced, in order in which they should be rendered.private java.util.Map<Node,FootnoteHtmlNodeRenderer.ReferenceInfo>FootnoteHtmlNodeRenderer. referencesInformation about references that should be rendered as footnotes.Methods in org.commonmark.ext.footnotes.internal that return types with arguments of type Node Modifier and Type Method Description java.util.Set<java.lang.Class<? extends Node>>FootnoteHtmlNodeRenderer. getNodeTypes()java.util.Set<java.lang.Class<? extends Node>>FootnoteMarkdownNodeRenderer. getNodeTypes()Methods in org.commonmark.ext.footnotes.internal with parameters of type Node Modifier and Type Method Description voidFootnoteHtmlNodeRenderer. afterRoot(Node rootNode)voidFootnoteHtmlNodeRenderer. beforeRoot(Node rootNode)private FootnoteHtmlNodeRenderer.ReferenceInfoFootnoteHtmlNodeRenderer. registerReference(Node node, java.lang.String label)voidFootnoteHtmlNodeRenderer. render(Node node)voidFootnoteMarkdownNodeRenderer. render(Node node)private voidFootnoteHtmlNodeRenderer. renderBackrefs(Node def, FootnoteHtmlNodeRenderer.ReferencedDefinition referencedDefinition)private voidFootnoteHtmlNodeRenderer. renderChildren(Node parent)private voidFootnoteMarkdownNodeRenderer. renderChildren(Node parent)private voidFootnoteHtmlNodeRenderer. renderDefinition(Node def, FootnoteHtmlNodeRenderer.ReferencedDefinition referencedDefinition)private voidFootnoteHtmlNodeRenderer. renderReference(Node node, FootnoteHtmlNodeRenderer.ReferenceInfo referenceInfo)Constructors in org.commonmark.ext.footnotes.internal with parameters of type Node Constructor Description ShallowReferenceVisitor(Node parent, java.util.function.Consumer<Node> consumer)Constructor parameters in org.commonmark.ext.footnotes.internal with type arguments of type Node Constructor Description ShallowReferenceVisitor(Node parent, java.util.function.Consumer<Node> consumer) -
Uses of Node in org.commonmark.ext.front.matter
Subclasses of Node in org.commonmark.ext.front.matter Modifier and Type Class Description classYamlFrontMatterBlockclassYamlFrontMatterNode -
Uses of Node in org.commonmark.ext.gfm.strikethrough
Subclasses of Node in org.commonmark.ext.gfm.strikethrough Modifier and Type Class Description classStrikethroughA 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 Node Modifier and Type Method Description java.util.Set<java.lang.Class<? extends Node>>StrikethroughNodeRenderer. getNodeTypes()Methods in org.commonmark.ext.gfm.strikethrough.internal with parameters of type Node Modifier and Type Method Description voidStrikethroughHtmlNodeRenderer. render(Node node)voidStrikethroughMarkdownNodeRenderer. render(Node node)voidStrikethroughTextContentNodeRenderer. render(Node node)private voidStrikethroughHtmlNodeRenderer. renderChildren(Node parent)private voidStrikethroughMarkdownNodeRenderer. renderChildren(Node parent)private voidStrikethroughTextContentNodeRenderer. renderChildren(Node parent) -
Uses of Node in org.commonmark.ext.gfm.tables
Subclasses of Node in org.commonmark.ext.gfm.tables Modifier and Type Class Description classTableBlockclassTableBodyBody part of aTableBlockcontainingTableRows.classTableCellTable cell of aTableRowcontaining inline nodes.classTableHeadHead part of aTableBlockcontainingTableRows.classTableRow -
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 Node Modifier and Type Method Description java.util.Set<java.lang.Class<? extends Node>>TableNodeRenderer. getNodeTypes()Methods in org.commonmark.ext.gfm.tables.internal with parameters of type Node Modifier and Type Method Description private java.util.Map<java.lang.String,java.lang.String>TableHtmlNodeRenderer. getAttributes(Node node, java.lang.String tagName)voidTableNodeRenderer. render(Node node)private voidTableHtmlNodeRenderer. renderChildren(Node parent)private voidTableMarkdownNodeRenderer. renderChildren(Node parent)private voidTableTextContentNodeRenderer. 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 Modifier and Type Method Description voidHeadingIdAttributeProvider. setAttributes(Node node, java.lang.String tagName, java.util.Map<java.lang.String,java.lang.String> attributes) -
Uses of Node in org.commonmark.ext.image.attributes
Subclasses of Node in org.commonmark.ext.image.attributes Modifier and Type Class Description classImageAttributesA 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 Modifier and Type Method Description voidImageAttributesAttributeProvider. setAttributes(Node node, java.lang.String tagName, java.util.Map<java.lang.String,java.lang.String> attributes) -
Uses of Node in org.commonmark.ext.ins
Subclasses of Node in org.commonmark.ext.ins Modifier and Type Class Description classInsAn 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 Node Modifier and Type Method Description java.util.Set<java.lang.Class<? extends Node>>InsNodeRenderer. getNodeTypes()Methods in org.commonmark.ext.ins.internal with parameters of type Node Modifier and Type Method Description voidInsHtmlNodeRenderer. render(Node node)voidInsMarkdownNodeRenderer. render(Node node)voidInsTextContentNodeRenderer. render(Node node)private voidInsHtmlNodeRenderer. renderChildren(Node parent)private voidInsMarkdownNodeRenderer. renderChildren(Node parent)private voidInsTextContentNodeRenderer. renderChildren(Node parent) -
Uses of Node in org.commonmark.ext.task.list.items
Subclasses of Node in org.commonmark.ext.task.list.items Modifier and Type Class Description classTaskListItemMarkerA 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 Node Modifier and Type Method Description NodeTaskListItemPostProcessor. process(Node node)Methods in org.commonmark.ext.task.list.items.internal that return types with arguments of type Node Modifier and Type Method Description java.util.Set<java.lang.Class<? extends Node>>TaskListItemHtmlNodeRenderer. getNodeTypes()Methods in org.commonmark.ext.task.list.items.internal with parameters of type Node Modifier and Type Method Description NodeTaskListItemPostProcessor. process(Node node)voidTaskListItemHtmlNodeRenderer. render(Node node)private voidTaskListItemHtmlNodeRenderer. renderChildren(Node parent) -
Uses of Node in org.commonmark.internal
Methods in org.commonmark.internal that return Node Modifier and Type Method Description private NodeInlineParserImpl. parseCloseBracket()Try to match close bracket against an opening in the delimiter stack.private NodeInlineParserImpl. parseLineBreak()private NodeInlineParserImpl. parseLinkOrImage(Bracket opener, Position beforeClose)private NodeInlineParserImpl. parseOpenBracket()Add open bracket to delimiter stack and add a text node to block's children.private NodeInlineParserImpl. parseText()Parse the next character as plain text, and possibly more if the following characters are non-special.private NodeInlineParserImpl. replaceBracket(Bracket opener, Node node, boolean includeMarker)private NodeInlineParserImpl. wrapBracket(Bracket opener, Node wrapperNode, boolean includeMarker)Methods in org.commonmark.internal that return types with arguments of type Node Modifier and Type Method Description private java.util.List<? extends Node>InlineParserImpl. parseDelimiters(DelimiterProcessor delimiterProcessor, char delimiterChar)Attempt to parse delimiters like emphasis, strong emphasis or custom delimiters.private java.util.List<? extends Node>InlineParserImpl. parseInline()Parse the next inline element in subject, advancing our position.private java.util.List<? extends Node>InlineParserImpl. parseLinkMarker()If next character is[, add a bracket to the stack.Methods in org.commonmark.internal with parameters of type Node Modifier and Type Method Description private voidInlineParserImpl. mergeChildTextNodes(Node node)private voidInlineParserImpl. mergeTextNodesInclusive(Node fromNode, Node toNode)voidInlineParserImpl. parse(SourceLines lines, Node block)Parse content in block into inline children, appending them to the block node.private NodeInlineParserImpl. replaceBracket(Bracket opener, Node node, boolean includeMarker)private NodeInlineParserImpl. wrapBracket(Bracket opener, Node wrapperNode, boolean includeMarker) -
Uses of Node in org.commonmark.internal.inline
Fields in org.commonmark.internal.inline declared as Node Modifier and Type Field Description private NodeLinkResultImpl. nodeprivate NodeParsedInlineImpl. nodeMethods in org.commonmark.internal.inline that return Node Modifier and Type Method Description NodeLinkResultImpl. getNode()NodeParsedInlineImpl. getNode()Constructors in org.commonmark.internal.inline with parameters of type Node Constructor Description LinkResultImpl(LinkResultImpl.Type type, Node node, Position position)ParsedInlineImpl(Node node, Position position) -
Uses of Node in org.commonmark.internal.renderer
Fields in org.commonmark.internal.renderer with type parameters of type Node Modifier and Type Field Description private java.util.Map<java.lang.Class<? extends Node>,NodeRenderer>NodeRendererMap. renderersMethods in org.commonmark.internal.renderer with parameters of type Node Modifier and Type Method Description voidNodeRendererMap. afterRoot(Node node)voidNodeRendererMap. beforeRoot(Node node)voidNodeRendererMap. render(Node node) -
Uses of Node in org.commonmark.node
Subclasses of Node in org.commonmark.node Modifier and Type Class Description classBlockBlock nodes such as paragraphs, list blocks, code blocks etc.classBlockQuoteclassBulletListclassCodeclassCustomBlockclassCustomNodeclassDocumentclassEmphasisclassFencedCodeBlockclassHardLineBreakclassHeadingclassHtmlBlockHTML blockclassHtmlInlineInline HTML element.classImageclassIndentedCodeBlockclassLinkA link with a destination and an optional title; the link text is in child nodes.classLinkReferenceDefinitionA link reference definition, e.g.:classListBlockclassListItemclassOrderedListclassParagraphA paragraph block, contains inline nodes such asTextclassSoftLineBreakclassStrongEmphasisclassTextclassThematicBreakFields in org.commonmark.node declared as Node Modifier and Type Field Description private NodeNodes.NodeIterable. endprivate NodeNodes.NodeIterator. endprivate NodeNodes.NodeIterable. firstprivate NodeNode. firstChildprivate NodeNode. lastChildprivate NodeNode. nextprivate NodeNodes.NodeIterator. nodeprivate NodeNode. parentprivate NodeNode. prevMethods in org.commonmark.node that return Node Modifier and Type Method Description NodeNode. getFirstChild()NodeNode. getLastChild()NodeNode. getNext()NodeNode. getParent()NodeNode. getPrevious()NodeNodes.NodeIterator. next()Methods in org.commonmark.node that return types with arguments of type Node Modifier and Type Method Description static java.lang.Iterable<Node>Nodes. between(Node start, Node end)The nodes between (not including) start and end.java.util.Iterator<Node>Nodes.NodeIterable. iterator()Methods in org.commonmark.node with parameters of type Node Modifier and Type Method Description voidNode. appendChild(Node child)static java.lang.Iterable<Node>Nodes. between(Node start, Node end)The nodes between (not including) start and end.voidNode. insertAfter(Node sibling)Inserts thesiblingnode afterthisnode.voidNode. insertBefore(Node sibling)Inserts thesiblingnode beforethisnode.voidNode. prependChild(Node child)protected voidBlock. setParent(Node parent)protected voidNode. setParent(Node parent)protected voidAbstractVisitor. visitChildren(Node parent)Visit the child nodes.Method parameters in org.commonmark.node with type arguments of type Node Modifier and Type Method Description voidSourceSpans. addAllFrom(java.lang.Iterable<? extends Node> nodes)Constructors in org.commonmark.node with parameters of type Node Constructor Description NodeIterable(Node first, Node end)NodeIterator(Node first, Node end) -
Uses of Node in org.commonmark.parser
Methods in org.commonmark.parser that return Node Modifier and Type Method Description NodeParser. parse(java.lang.String input)Parse the specified input text into a tree of nodes.NodeParser. parseReader(java.io.Reader input)Parse the specified reader into a tree of nodes.private NodeParser. postProcess(Node document)NodePostProcessor. process(Node node)Methods in org.commonmark.parser with parameters of type Node Modifier and Type Method Description voidInlineParser. parse(SourceLines lines, Node node)private NodeParser. postProcess(Node document)NodePostProcessor. process(Node node) -
Uses of Node in org.commonmark.parser.beta
Methods in org.commonmark.parser.beta with parameters of type Node Modifier and Type Method Description static ParsedInlineParsedInline. of(Node node, Position position)static LinkResultLinkResult. replaceWith(Node node, Position position)Replace the link with a node.static LinkResultLinkResult. wrapTextIn(Node node, Position position)Wrap the link text in a node. -
Uses of Node in org.commonmark.renderer
Methods in org.commonmark.renderer that return types with arguments of type Node Modifier and Type Method Description java.util.Set<java.lang.Class<? extends Node>>NodeRenderer. getNodeTypes()Methods in org.commonmark.renderer with parameters of type Node Modifier and Type Method Description default voidNodeRenderer. afterRoot(Node rootNode)Called after the root node is rendered, to do any final processing at the end.default voidNodeRenderer. beforeRoot(Node rootNode)Called before the root node is rendered, to do any initial processing at the start.voidNodeRenderer. render(Node node)Render the specified node.java.lang.StringRenderer. render(Node node)Render the tree of nodes to string.voidRenderer. render(Node node, java.lang.Appendable output)Render the tree of nodes to output. -
Uses of Node in org.commonmark.renderer.html
Methods in org.commonmark.renderer.html that return types with arguments of type Node Modifier and Type Method Description java.util.Set<java.lang.Class<? extends Node>>CoreHtmlNodeRenderer. getNodeTypes()Methods in org.commonmark.renderer.html with parameters of type Node Modifier and Type Method Description voidHtmlRenderer.RendererContext. afterRoot(Node node)voidHtmlRenderer.RendererContext. beforeRoot(Node node)java.util.Map<java.lang.String,java.lang.String>HtmlNodeRendererContext. extendAttributes(Node node, java.lang.String tagName, java.util.Map<java.lang.String,java.lang.String> attributes)Let extensions modify the HTML tag attributes.java.util.Map<java.lang.String,java.lang.String>HtmlRenderer.RendererContext. extendAttributes(Node node, java.lang.String tagName, java.util.Map<java.lang.String,java.lang.String> attributes)private java.util.Map<java.lang.String,java.lang.String>CoreHtmlNodeRenderer. getAttrs(Node node, java.lang.String tagName)private java.util.Map<java.lang.String,java.lang.String>CoreHtmlNodeRenderer. getAttrs(Node node, java.lang.String tagName, java.util.Map<java.lang.String,java.lang.String> defaultAttributes)voidCoreHtmlNodeRenderer. render(Node node)voidHtmlNodeRendererContext. render(Node node)Render the specified node and its children using the configured renderers.java.lang.StringHtmlRenderer. render(Node node)voidHtmlRenderer. render(Node node, java.lang.Appendable output)voidHtmlRenderer.RendererContext. render(Node node)private voidCoreHtmlNodeRenderer. renderCodeBlock(java.lang.String literal, Node node, java.util.Map<java.lang.String,java.lang.String> attributes)voidAttributeProvider. setAttributes(Node node, java.lang.String tagName, java.util.Map<java.lang.String,java.lang.String> attributes)Set the attributes for a HTML tag of the specified node by modifying the provided map.private voidHtmlRenderer.RendererContext. setCustomAttributes(Node node, java.lang.String tagName, java.util.Map<java.lang.String,java.lang.String> attrs)protected voidCoreHtmlNodeRenderer. visitChildren(Node parent) -
Uses of Node in org.commonmark.renderer.markdown
Methods in org.commonmark.renderer.markdown that return types with arguments of type Node Modifier and Type Method Description java.util.Set<java.lang.Class<? extends Node>>CoreMarkdownNodeRenderer. getNodeTypes()Methods in org.commonmark.renderer.markdown with parameters of type Node Modifier and Type Method Description voidCoreMarkdownNodeRenderer. render(Node node)voidMarkdownNodeRendererContext. render(Node node)Render the specified node and its children using the configured renderers.java.lang.StringMarkdownRenderer. render(Node node)voidMarkdownRenderer. render(Node node, java.lang.Appendable output)voidMarkdownRenderer.RendererContext. render(Node node)protected voidCoreMarkdownNodeRenderer. visitChildren(Node parent)private voidCoreMarkdownNodeRenderer. writeLinkLike(java.lang.String title, java.lang.String destination, Node node, java.lang.String opener) -
Uses of Node in org.commonmark.renderer.text
Methods in org.commonmark.renderer.text that return types with arguments of type Node Modifier and Type Method Description java.util.Set<java.lang.Class<? extends Node>>CoreTextContentNodeRenderer. getNodeTypes()Methods in org.commonmark.renderer.text with parameters of type Node Modifier and Type Method Description voidCoreTextContentNodeRenderer. render(Node node)voidTextContentNodeRendererContext. render(Node node)Render the specified node and its children using the configured renderers.java.lang.StringTextContentRenderer. render(Node node)voidTextContentRenderer. render(Node node, java.lang.Appendable output)voidTextContentRenderer.RendererContext. render(Node node)protected voidCoreTextContentNodeRenderer. visitChildren(Node parent)private voidCoreTextContentNodeRenderer. writeLink(Node node, java.lang.String title, java.lang.String destination)
-