Class AttributesNodePostProcessor
- java.lang.Object
-
- com.vladsch.flexmark.parser.block.NodePostProcessor
-
- com.vladsch.flexmark.ext.attributes.internal.AttributesNodePostProcessor
-
- All Implemented Interfaces:
PostProcessor
public class AttributesNodePostProcessor extends NodePostProcessor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttributesNodePostProcessor.Factory
-
Field Summary
Fields Modifier and Type Field Description private LightInlineParser
myLightInlineParser
private AttributesOptions
myOptions
private AttributesInlineParserExtension
myParserExtension
private NodeAttributeRepository
nodeAttributeRepository
-
Constructor Summary
Constructors Constructor Description AttributesNodePostProcessor(Document document)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getAttributeOwner(NodeTracker state, AttributesNode attributesNode)
(package private) static Node
matchDelimitedSpans(NodeTracker state, AttributesNode attributesNode, Node previous)
void
process(@NotNull NodeTracker state, @NotNull Node node)
(package private) static void
textBaseWrap(NodeTracker state, Node lastNonAttributesNode, Node lastNode, TextBase textBase)
-
Methods inherited from class com.vladsch.flexmark.parser.block.NodePostProcessor
processDocument
-
-
-
-
Field Detail
-
nodeAttributeRepository
private final NodeAttributeRepository nodeAttributeRepository
-
myOptions
private final AttributesOptions myOptions
-
myLightInlineParser
private LightInlineParser myLightInlineParser
-
myParserExtension
private AttributesInlineParserExtension myParserExtension
-
-
Constructor Detail
-
AttributesNodePostProcessor
public AttributesNodePostProcessor(Document document)
-
-
Method Detail
-
getAttributeOwner
public Node getAttributeOwner(NodeTracker state, AttributesNode attributesNode)
-
matchDelimitedSpans
static Node matchDelimitedSpans(NodeTracker state, AttributesNode attributesNode, Node previous)
-
textBaseWrap
static void textBaseWrap(NodeTracker state, Node lastNonAttributesNode, Node lastNode, TextBase textBase)
-
process
public void process(@NotNull @NotNull NodeTracker state, @NotNull @NotNull Node node)
- Parameters:
state
- node tracker used for optimizing node processingnode
- the node to post-process
-
-