Interface DocContent
-
- All Known Implementing Classes:
AbstractListNode,BlockCard,Blockquote,BodiedExtension,BulletList,CodeBlock,DecisionList,EmbedCard,Expand,Extension,Heading,LayoutSection,MediaGroup,MediaSingle,OrderedList,Panel,Paragraph,Rule,Table,TaskList
public interface DocContent extends Node
Marks the nodes that can be placed directly into adocnode. These do not have their own named type in the schema, but they are also referred to as "top-level block nodes" in the existing documentation.Most doc content nodes can also be used in other locations. For example,
paragraphcan be placed directly into aDoc, but it can also be placed inside alistItemortableCell, among several other places. Some of these other contexts may restrict the node's allowed properties in some way. For example, acodeBlockcan accept abreakoutmark when used directly in adoc, but it is not allowed to use those marks when it is placed inside alistItem.
-
-
Method Summary
-
Methods inherited from interface com.atlassian.adf.model.Element
elementType, isSupported, toMap, validate
-
Methods inherited from interface com.atlassian.adf.model.node.Node
appendPlainText, copy, toPlainText
-
-