Package org.commonmark.node
Class BulletList
- java.lang.Object
-
- org.commonmark.node.Node
-
- org.commonmark.node.Block
-
- org.commonmark.node.ListBlock
-
- org.commonmark.node.BulletList
-
public class BulletList extends ListBlock
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
marker
-
Constructor Summary
Constructors Constructor Description BulletList()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
accept(Visitor visitor)
char
getBulletMarker()
Deprecated.usegetMarker()
insteadjava.lang.String
getMarker()
void
setBulletMarker(char bulletMarker)
Deprecated.usegetMarker()
insteadvoid
setMarker(java.lang.String marker)
-
Methods inherited from class org.commonmark.node.Node
addSourceSpan, appendChild, getFirstChild, getLastChild, getNext, getPrevious, getSourceSpans, insertAfter, insertBefore, prependChild, setSourceSpans, toString, toStringAttributes, unlink
-
-
-
-
Method Detail
-
getMarker
public java.lang.String getMarker()
- Returns:
- the bullet list marker that was used, e.g.
-
,*
or+
, if available, or null otherwise
-
setMarker
public void setMarker(java.lang.String marker)
-
getBulletMarker
@Deprecated public char getBulletMarker()
Deprecated.usegetMarker()
instead
-
setBulletMarker
@Deprecated public void setBulletMarker(char bulletMarker)
Deprecated.usegetMarker()
instead
-
-