Class ExternalLinkAttributeProviderState
java.lang.Object
org.apache.wiki.markdown.extensions.jspwikilinks.attributeprovider.ExternalLinkAttributeProviderState
- All Implemented Interfaces:
NodeAttributeProviderState<JSPWikiLink>
public class ExternalLinkAttributeProviderState
extends Object
implements NodeAttributeProviderState<JSPWikiLink>
NodeAttributeProviderState which sets the attributes for external links.-
Constructor Summary
ConstructorsConstructorDescriptionExternalLinkAttributeProviderState(Context wikiContext, boolean hasRef, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAttributes(com.vladsch.flexmark.util.html.MutableAttributes attributes, JSPWikiLink link) Sets node's attributes.
-
Constructor Details
-
ExternalLinkAttributeProviderState
public ExternalLinkAttributeProviderState(Context wikiContext, boolean hasRef, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
-
-
Method Details
-
setAttributes
public void setAttributes(com.vladsch.flexmark.util.html.MutableAttributes attributes, JSPWikiLink link) Sets node's attributes.- Specified by:
setAttributesin interfaceNodeAttributeProviderState<JSPWikiLink>- Parameters:
attributes- node attributes.link- the specific node in which the attributes are going to be set.- See Also:
-