Package org.commonmark.internal.inline
Class CoreLinkProcessor
- java.lang.Object
-
- org.commonmark.internal.inline.CoreLinkProcessor
-
- All Implemented Interfaces:
LinkProcessor
public class CoreLinkProcessor extends java.lang.Object implements LinkProcessor
-
-
Constructor Summary
Constructors Constructor Description CoreLinkProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static LinkResult
process(LinkInfo linkInfo, Scanner scanner, java.lang.String destination, java.lang.String title)
LinkResult
process(LinkInfo linkInfo, Scanner scanner, InlineParserContext context)
-
-
-
Method Detail
-
process
public LinkResult process(LinkInfo linkInfo, Scanner scanner, InlineParserContext context)
- 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, java.lang.String destination, java.lang.String title)
-
-