Interface ListNode<L extends ListNode<L>>
-
- All Superinterfaces:
ContentNode<L,ListItem>,Element,Node
- All Known Implementing Classes:
AbstractListNode,BulletList,OrderedList
public interface ListNode<L extends ListNode<L>> extends ContentNode<L,ListItem>
Describes features that are common tobulletListandtaskListnodes.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Lli(ListItemContent content)default Lli(ListItemContent... content)default Lli(Iterable<? extends ListItemContent> content)default Lli(String content)default Lli(String... content)default Lli(Stream<? extends ListItemContent> content)-
Methods inherited from interface com.atlassian.adf.model.node.type.ContentNode
allNodes, allNodesOfType, allNodesOfTypeAsList, clear, content, content, content, content, content, contentClass, copy, isEmpty, removeIf, replaceContent, transformContent, transformDescendants
-
Methods inherited from interface com.atlassian.adf.model.Element
elementType, isSupported, toMap, validate
-
Methods inherited from interface com.atlassian.adf.model.node.Node
appendPlainText, toPlainText
-
-
-
-
Method Detail
-
li
default L li(String content)
- Parameters:
content- the content to add as a single list item within the list- Returns:
this
-
li
default L li(String... content)
- Parameters:
content- the content to add as a single list item within the list- Returns:
this
-
li
default L li(ListItemContent content)
- Parameters:
content- the content to add as a single list item within the list- Returns:
this
-
li
default L li(ListItemContent... content)
- Parameters:
content- the content to add as a single list item within the list- Returns:
this
-
li
default L li(Iterable<? extends ListItemContent> content)
- Parameters:
content- the content to add as a single list item within the list- Returns:
this
-
li
default L li(Stream<? extends ListItemContent> content)
- Parameters:
content- the content to add as a single list item within the list- Returns:
this
-
-