Class LinkDestinationParser
- java.lang.Object
-
- com.vladsch.flexmark.parser.internal.LinkDestinationParser
-
public class LinkDestinationParser extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
allowMatchedParentheses
java.util.BitSet
EXCLUDED_0_TO_SPACE_CHARS
boolean
intellijDummyIdentifier
java.util.BitSet
JEKYLL_EXCLUDED_CHARS
java.util.BitSet
PAREN_ESCAPABLE_CHARS
java.util.BitSet
PAREN_EXCLUDED_CHARS
java.util.BitSet
PAREN_QUOTE_CHARS
boolean
parseJekyllMacrosInUrls
boolean
spaceInUrls
-
Constructor Summary
Constructors Constructor Description LinkDestinationParser(boolean allowMatchedParentheses, boolean spaceInUrls, boolean parseJekyllMacrosInUrls, boolean intellijDummyIdentifier)
Parse Link Destination
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.BitSet
getCharSet(char charFrom, char charTo)
static java.util.BitSet
getCharSet(java.lang.CharSequence chars)
BasedSequence
parseLinkDestination(BasedSequence input, int startIndex)
-
-
-
Field Detail
-
EXCLUDED_0_TO_SPACE_CHARS
public final java.util.BitSet EXCLUDED_0_TO_SPACE_CHARS
-
JEKYLL_EXCLUDED_CHARS
public final java.util.BitSet JEKYLL_EXCLUDED_CHARS
-
PAREN_EXCLUDED_CHARS
public final java.util.BitSet PAREN_EXCLUDED_CHARS
-
PAREN_ESCAPABLE_CHARS
public final java.util.BitSet PAREN_ESCAPABLE_CHARS
-
PAREN_QUOTE_CHARS
public final java.util.BitSet PAREN_QUOTE_CHARS
-
allowMatchedParentheses
public final boolean allowMatchedParentheses
-
spaceInUrls
public final boolean spaceInUrls
-
parseJekyllMacrosInUrls
public final boolean parseJekyllMacrosInUrls
-
intellijDummyIdentifier
public final boolean intellijDummyIdentifier
-
-
Constructor Detail
-
LinkDestinationParser
public LinkDestinationParser(boolean allowMatchedParentheses, boolean spaceInUrls, boolean parseJekyllMacrosInUrls, boolean intellijDummyIdentifier)
Parse Link Destination- Parameters:
allowMatchedParentheses
- allow matched parentheses in link address. NOTE: if jekyll macros option is enabled, them matched parentheses will be enabled even if not selected.spaceInUrls
- allow space in addressparseJekyllMacrosInUrls
- allow jekyll macros, matched {{ and }}intellijDummyIdentifier
- allow intellij dummy identifier character
-
-
Method Detail
-
parseLinkDestination
public BasedSequence parseLinkDestination(BasedSequence input, int startIndex)
-
getCharSet
public static java.util.BitSet getCharSet(java.lang.CharSequence chars)
-
getCharSet
public static java.util.BitSet getCharSet(char charFrom, char charTo)
-
-