Package org.commonmark.internal.inline
Class CoreLinkProcessor
java.lang.Object
org.commonmark.internal.inline.CoreLinkProcessor
- All Implemented Interfaces:
LinkProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static LinkResult
process
(LinkInfo linkInfo, Scanner scanner, InlineParserContext context)
-
Constructor Details
-
CoreLinkProcessor
public CoreLinkProcessor()
-
-
Method Details
-
process
- Specified by:
process
in interfaceLinkProcessor
- Parameters:
linkInfo
- information about the parsed link/imagescanner
- the scanner at the current position after the parsed link/imagecontext
- context for inline parsing- Returns:
- what to do with the link/image, e.g. do nothing (try the next processor), wrap the text in a node, or replace the link/image with a node
-
process
private static LinkResult process(LinkInfo linkInfo, Scanner scanner, String destination, String title)
-