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
Constructors Constructor Description ExternalLinkAttributeProviderState(Context wikiContext, boolean hasRef, boolean isImageInlining, List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
-
Method Summary
Modifier and Type Method Description void
setAttributes(com.vladsch.flexmark.util.html.Attributes 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
Sets node's attributes.- Specified by:
setAttributes
in interfaceNodeAttributeProviderState<JSPWikiLink>
- Parameters:
attributes
- node attributes.link
- the specific node in which the attributes are going to be set.- See Also:
NodeAttributeProviderState.setAttributes(Attributes, Node)
-