Package com.contentful.java.cda.rich
Class CDARichList
- java.lang.Object
-
- com.contentful.java.cda.rich.CDARichNode
-
- com.contentful.java.cda.rich.CDARichBlock
-
- com.contentful.java.cda.rich.CDARichList
-
- Direct Known Subclasses:
CDARichOrderedList,CDARichUnorderedList
public class CDARichList extends CDARichBlock
Parent class for all list classes
-
-
Constructor Summary
Constructors Constructor Description CDARichList(java.lang.CharSequence decoration)Create a list of the given symbols per nesting level
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.CharSequencegetDecoration()-
Methods inherited from class com.contentful.java.cda.rich.CDARichBlock
getContent
-
-
-
-
Constructor Detail
-
CDARichList
public CDARichList(java.lang.CharSequence decoration)
Create a list of the given symbols per nesting level- Parameters:
decoration- a symbol to be added for differentiation. Can be [1,A,a,I,i] for prefixing each node with an arabic number (1., 2., …), a capitalized letter (A., B., …), a lowercase letter (a., b., …) or roman numerals in capital (I, II, …) or non capitalized form (i, ii, …). Alternatively unordered symbols can be used: `*` for bullets, `-` for dashes and `⭐` for stars etc.
-
-