public static class Fragment.StructuredText.Block.ListItem extends Object implements Fragment.StructuredText.Block.Text
Fragment.StructuredText.Block.Embed, Fragment.StructuredText.Block.Heading, Fragment.StructuredText.Block.Image, Fragment.StructuredText.Block.ListItem, Fragment.StructuredText.Block.Paragraph, Fragment.StructuredText.Block.Preformatted, Fragment.StructuredText.Block.Text| Constructor and Description |
|---|
ListItem(String text,
List<Fragment.StructuredText.Span> spans,
boolean ordered,
String label) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
List<Fragment.StructuredText.Span> |
getSpans() |
String |
getText() |
boolean |
isOrdered() |
public ListItem(String text, List<Fragment.StructuredText.Span> spans, boolean ordered, String label)
public String getText()
getText in interface Fragment.StructuredText.Block.Textpublic List<Fragment.StructuredText.Span> getSpans()
getSpans in interface Fragment.StructuredText.Block.Textpublic boolean isOrdered()
public String getLabel()
getLabel in interface Fragment.StructuredText.BlockCopyright © 2017. All rights reserved.