Class CMARichHeading
- java.lang.Object
-
- com.contentful.java.cma.model.rich.CMARichNode
-
- com.contentful.java.cma.model.rich.CMARichBlock
-
- com.contentful.java.cma.model.rich.CMARichHeading
-
public class CMARichHeading extends CMARichBlock
Defines a headline of the text.Can have an arbitrary level assigned, but useful probably between 1 and 6.
-
-
Field Summary
-
Fields inherited from class com.contentful.java.cma.model.rich.CMARichNode
data
-
-
Constructor Summary
Constructors Constructor Description CMARichHeading(int level)Create a heading block, describing a level elements deep nested heading.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLevel()-
Methods inherited from class com.contentful.java.cma.model.rich.CMARichBlock
addContent, getContent, setContent
-
Methods inherited from class com.contentful.java.cma.model.rich.CMARichNode
getNodeType
-
-