public class JSPWikiLinkAttributeProvider extends java.lang.Object implements com.vladsch.flexmark.html.AttributeProvider
AttributeProvider to decorate JSPWikiLinks.
Acts as a factory of NodeAttributeProviderStates, which are the classes setting the attributes for each concrete type of link.| Modifier and Type | Field and Description |
|---|---|
protected LinkParsingOperations |
linkOperations |
protected org.apache.wiki.api.core.Context |
wikiContext |
| Constructor and Description |
|---|
JSPWikiLinkAttributeProvider(org.apache.wiki.api.core.Context wikiContext,
boolean isImageInlining,
java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) |
| Modifier and Type | Method and Description |
|---|---|
void |
setAttributes(com.vladsch.flexmark.util.ast.Node node,
com.vladsch.flexmark.html.renderer.AttributablePart part,
com.vladsch.flexmark.util.html.MutableAttributes attributes) |
protected final org.apache.wiki.api.core.Context wikiContext
protected final LinkParsingOperations linkOperations
public JSPWikiLinkAttributeProvider(org.apache.wiki.api.core.Context wikiContext, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
public void setAttributes(com.vladsch.flexmark.util.ast.Node node, com.vladsch.flexmark.html.renderer.AttributablePart part, com.vladsch.flexmark.util.html.MutableAttributes attributes)
setAttributes in interface com.vladsch.flexmark.html.AttributeProviderAttributeProvider.setAttributes(Node, AttributablePart, MutableAttributes)Copyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.