Class Strikethrough
- java.lang.Object
-
- org.commonmark.node.Node
-
- org.commonmark.node.CustomNode
-
- org.commonmark.ext.gfm.strikethrough.Strikethrough
-
- All Implemented Interfaces:
Delimited
public class Strikethrough extends CustomNode implements Delimited
A strikethrough node containing text and other inline nodes as children.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
delimiter
-
Constructor Summary
Constructors Constructor Description Strikethrough(java.lang.String delimiter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClosingDelimiter()
java.lang.String
getOpeningDelimiter()
-
Methods inherited from class org.commonmark.node.CustomNode
accept
-
Methods inherited from class org.commonmark.node.Node
addSourceSpan, appendChild, getFirstChild, getLastChild, getNext, getParent, getPrevious, getSourceSpans, insertAfter, insertBefore, prependChild, setParent, setSourceSpans, toString, toStringAttributes, unlink
-
-
-
-
Method Detail
-
getOpeningDelimiter
public java.lang.String getOpeningDelimiter()
- Specified by:
getOpeningDelimiter
in interfaceDelimited
- Returns:
- the opening (beginning) delimiter, e.g.
*
-
getClosingDelimiter
public java.lang.String getClosingDelimiter()
- Specified by:
getClosingDelimiter
in interfaceDelimited
- Returns:
- the closing (ending) delimiter, e.g.
*
-
-