com.vladsch.flexmark.ast.util.LinkResolvingHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of driver-cql-shaded Show documentation
Show all versions of driver-cql-shaded Show documentation
A Shaded CQL ActivityType driver for http://nosqlbench.io/
package com.vladsch.flexmark.ast.util;
import com.vladsch.flexmark.html.renderer.LinkResolverBasicContext;
import com.vladsch.flexmark.html.renderer.ResolvedLink;
import com.vladsch.flexmark.util.ast.Node;
import com.vladsch.flexmark.util.visitor.AstAction;
import com.vladsch.flexmark.util.visitor.AstHandler;
public class LinkResolvingHandler extends AstHandler> {
public LinkResolvingHandler(Class aClass, LinkResolvingVisitor adapter) {
super(aClass, adapter);
}
public ResolvedLink resolveLink(Node node, LinkResolverBasicContext context, ResolvedLink link) {
//noinspection unchecked
return getAdapter().resolveLink((N) node, context, link);
}
public static interface LinkResolvingVisitor extends AstAction {
ResolvedLink resolveLink(N node, LinkResolverBasicContext context, ResolvedLink link);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy