Package io.markdom.handler
Class AbstractMarkdomFilter
- java.lang.Object
-
- io.markdom.handler.AbstractMarkdomFilter
-
- All Implemented Interfaces:
MarkdomFilter
- Direct Known Subclasses:
IdleMarkdomFilter,NodeKindMarkdomFilter,NodeTypeMarkdomFilter
public abstract class AbstractMarkdomFilter extends Object implements MarkdomFilter
-
-
Constructor Summary
Constructors Constructor Description AbstractMarkdomFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantestCodeBlock(String code, Optional<String> hint)booleantestCodeContent(String code)booleantestCommentBlock()booleantestDivisionBlock()booleantestEmphasisContent(MarkdomEmphasisLevel level)booleantestHeadingBlock(MarkdomHeadingLevel level)booleantestImageContent(String uri, Optional<String> title, Optional<String> alternative)booleantestLineBreakContent(Boolean hard)booleantestLinkContent(String uri, Optional<String> title)booleantestOrderedListBlock(Integer startIndex)booleantestParagraphBlock()booleantestQuoteBlock()booleantestTextContent(String text)booleantestUnorderedListBlock()
-
-
-
Method Detail
-
testCodeBlock
public boolean testCodeBlock(String code, Optional<String> hint)
- Specified by:
testCodeBlockin interfaceMarkdomFilter
-
testCommentBlock
public boolean testCommentBlock()
- Specified by:
testCommentBlockin interfaceMarkdomFilter
-
testDivisionBlock
public boolean testDivisionBlock()
- Specified by:
testDivisionBlockin interfaceMarkdomFilter
-
testHeadingBlock
public boolean testHeadingBlock(MarkdomHeadingLevel level)
- Specified by:
testHeadingBlockin interfaceMarkdomFilter
-
testOrderedListBlock
public boolean testOrderedListBlock(Integer startIndex)
- Specified by:
testOrderedListBlockin interfaceMarkdomFilter
-
testParagraphBlock
public boolean testParagraphBlock()
- Specified by:
testParagraphBlockin interfaceMarkdomFilter
-
testQuoteBlock
public boolean testQuoteBlock()
- Specified by:
testQuoteBlockin interfaceMarkdomFilter
-
testUnorderedListBlock
public boolean testUnorderedListBlock()
- Specified by:
testUnorderedListBlockin interfaceMarkdomFilter
-
testCodeContent
public boolean testCodeContent(String code)
- Specified by:
testCodeContentin interfaceMarkdomFilter
-
testEmphasisContent
public boolean testEmphasisContent(MarkdomEmphasisLevel level)
- Specified by:
testEmphasisContentin interfaceMarkdomFilter
-
testImageContent
public boolean testImageContent(String uri, Optional<String> title, Optional<String> alternative)
- Specified by:
testImageContentin interfaceMarkdomFilter
-
testLineBreakContent
public boolean testLineBreakContent(Boolean hard)
- Specified by:
testLineBreakContentin interfaceMarkdomFilter
-
testLinkContent
public boolean testLinkContent(String uri, Optional<String> title)
- Specified by:
testLinkContentin interfaceMarkdomFilter
-
testTextContent
public boolean testTextContent(String text)
- Specified by:
testTextContentin interfaceMarkdomFilter
-
-