public static class Fragment.StructuredText.Block.Heading 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 |
|---|
Heading(String text,
List<Fragment.StructuredText.Span> spans,
int level,
String label) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
int |
getLevel() |
List<Fragment.StructuredText.Span> |
getSpans() |
String |
getText() |
public Heading(String text, List<Fragment.StructuredText.Span> spans, int level, String label)
public String getText()
getText in interface Fragment.StructuredText.Block.Textpublic List<Fragment.StructuredText.Span> getSpans()
getSpans in interface Fragment.StructuredText.Block.Textpublic int getLevel()
public String getLabel()
getLabel in interface Fragment.StructuredText.BlockCopyright © 2014. All rights reserved.