Class LocalLinkAttributeProviderState
java.lang.Object
org.apache.wiki.markdown.extensions.jspwikilinks.attributeprovider.LocalLinkAttributeProviderState
- All Implemented Interfaces:
NodeAttributeProviderState<JSPWikiLink>
public class LocalLinkAttributeProviderState extends java.lang.Object implements NodeAttributeProviderState<JSPWikiLink>
NodeAttributeProviderState
which sets the attributes for local links.-
Constructor Summary
Constructors Constructor Description LocalLinkAttributeProviderState(Context wikiContext, boolean hasRef, boolean isImageInlining, java.util.List<org.apache.oro.text.regex.Pattern> inlineImagePatterns)
-
Method Summary
Modifier and Type Method Description void
setAttributes(com.vladsch.flexmark.util.html.MutableAttributes attributes, JSPWikiLink link)
Sets node's attributes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LocalLinkAttributeProviderState
public LocalLinkAttributeProviderState(Context wikiContext, boolean hasRef, boolean isImageInlining, java.util.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:
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(MutableAttributes, Node)
-