@FieldsAreNonnullByDefault @ParametersAreNonnullByDefault @PublicApi @ReturnValuesAreNonnullByDefault
Package com.atlassian.adf.model.node
Nodes are elements within the Atlassian Document Format that represent presentation data for the
document. A node might represent something like a
bullet list
or a paragraph of text, for example.- See Also:
Doc
-
Interface Summary Interface Description BlockCard.Partial Types that represent a partially constructedblockCardorinlineCard.Date.Partial Types that represent a partially constructedDate.DecisionItem.Partial Types that represent a partially constructeddecisionItem.DecisionList.Partial Types that represent a partially constructeddecisionList.EmbedCard.Partial Types that represent a partially constructedembedCard.Emoji.Partial Types that represent a partially constructedemoji.Emoji.Standard ExtensionSettings.Partial Types that represent a partially constructed extension node of some kind.InlineCard.Partial Types that represent a partially constructedinlineCard.InlineCard.UrlOrData A sum type providing access to the link data for this card.LayoutSection.Partial Types that represent a partially constructedlayoutSection.Media Represents a single file or link stored in media services.Media.Partial Types that represent a partially constructedmedia.MediaInline.Partial Types that represent a partially constructedmediaInline.MediaSingle.Partial Types that represent a partially constructedmediaSingle.Node A node in the Atlassian Document Format describes an element to be rendered as rich content.Node.Attr Constants used as theattributenames in nodes.Node.Key Constants used as property names in nodes.Node.Type Constants used as thetypenames for the various ADF nodes.Panel.Partial Types that represent a partially constructedpanel.Placeholder.Partial Types that represent a partially constructedplaceholder.Status.Partial Types that represent a partially constructedstatus.TaskItem.Partial Types that represent a partially constructedtaskItem. -
Class Summary Class Description AbstractContentNode<C extends AbstractContentNode<C,N>,N extends Node> Nodes that use the"content"key to specify a list of child nodes extend this type to handle the common conventions across those node types.AbstractListNode<L extends AbstractListNode<L>> Common parent of thebulletListandorderedListnode types.AbstractMarkedContentNode<C extends AbstractMarkedContentNode<C,N,M>,N extends Node,M extends Mark> AbstractMarkedNode<N extends AbstractMarkedNode<N,M>,M extends Mark> AbstractNode<N extends AbstractNode<N>> AbstractNode.ToStringHelper AbstractTableCellNode<N extends AbstractTableCellNode<N>> Either of the data-containing nodes that can be placed in aTableRow, meaning either atableHeaderor atableCell.BlockCard TheblockCardnode is an Atlassian link card with a type icon and content description derived from the link.BlockCard.CardAttributes A sum type providing access to the link data for this card.BlockCard.Datasource AblockCardnode withtype=datasourceis not really a normal block card.BlockCard.Partial.NeedsCardAttributes This partially constructed card still needs either aurlordatavalue set.BlockCard.Partial.NeedsDatasourceId A partially constructed datasource block card that needs theidset.BlockCard.Partial.NeedsDatasourceParameters A partially constructed datasource block card that needs theparametersset.BlockCard.Partial.NeedsDatasourceViews A partially constructed datasource block card that needs theviewsset, which will complete thedatasourcedefinition and theBlockCardas a whole.BlockCard.Partial.OptionalDatasourceParameters<T extends BlockCard.Partial.OptionalDatasourceParameters<T>> BlockCard.View Blockquote TheBlockquotenode is a container for quotes.BodiedExtension Extensions provide hook points for ecosystem add-ons to integrate with how ADF content is rendered.BulletList A container forlist itemsthat produces a bulleted list.Caption Wraps the caption content that may optionally be assigned to amediaSinglenode.CodeBlock A container for lines of code.Date Thedatenode displays a date in the user's locale.Date.Partial.NeedsTimestamp This partially constructeddatestill needs itstimestampattribute set.DecisionItem ThedecisionItemnode is a decision in adecisionList.DecisionItem.Partial.NeedsLocalId This partially constructeddecistionItemstill needs itslocalIdattribute set.DecisionItem.Partial.NeedsState This partially constructeddecisionItemstill needs itsstateattribute set.DecisionList Decision lists provide lists that look much like abulletList, but they cannot be nested and there are differences in their visual representation.DecisionList.Partial.NeedsLocalId This partially constructeddecisionListstill needs itslocalIdattribute set.Doc The root container node of every Atlassian Document Format (ADF) document.EmbedCard EmbedCard.Partial.NeedsLayout This partially constructedembedCardstill needs itslayoutattribute set.EmbedCard.Partial.NeedsUrl This partially constructedembedCardstill needs itsurlattribute set.Emoji An inline node that represents an emoji.Emoji.Partial.NeedsShortName This partially constructedemojistill needs itsshortNameattribute set.Expand Theexpandnode is a container that enables content to be hidden or shown, similar to an accordion or disclosure widget.Extension Extensions provide hook points for ecosystem add-ons to integrate with how ADF content is rendered.ExtensionSettings A helper class that provides consistent management of extension settings for the various node types that represent extensions.ExtensionSettings.Partial.NeedsExtensionKey<T> This partially constructed extension still needs itsextensionKeyattribute set.ExtensionSettings.Partial.NeedsExtensionType<T> This partially constructed extension still needs itsextensionTypeattribute set.HardBreak An inline node that inserts a forced line-break within a sequence of text strings.Heading Represents a topic heading, as for the<h1>through<h6>tags used in HTML.InlineCard An Atlassian link card with a type icon and content description derived from the link.InlineCard.Partial.NeedsUrlOrData This partially constructed inline card still needs either aurlordatavalue set.InlineExtension Extensions provide hook points for ecosystem add-ons to integrate with how ADF content is rendered.LayoutColumn Declares one of the 2 to 3 columns in alayoutSection.LayoutSection In Confluence, the top-leveldocnode is allowed to includelayoutSectionnodes.LayoutSection.Partial.NeedsFirstColumn A partially constructed layout section that still needs the first column to be added to it.LayoutSection.Partial.NeedsSecondColumn A partially constructed layout section that still needs the second column to be added to it.ListItem Represents an item in either abulletListor anorderedList.Media.AbstractMedia<N extends Media.AbstractMedia<N>> Media.ExternalMedia Media.FileMedia Media.FileOrLinkMedia<T extends Media.FileOrLinkMedia<T>> Media.LinkMedia Media.Partial.ExternalNeedsUrl Media.Partial.FileNeedsId This partially constructedmedianode is afileand still needs a mediaid.Media.Partial.LinkNeedsCollection Deprecated. Most of the support forlinkmedia no longer functions in the editor code base, so clients are unlikely to encounter it in the wild and should not use it in new ADF.Media.Partial.LinkNeedsId Deprecated. Most of the support forlinkmedia no longer functions in the editor code base, so clients are unlikely to encounter it in the wild and should not use it in new ADF.Media.Partial.NeedsType Partially constructedmedianode still needs the specific media type set.MediaGroup A container for several media items.MediaInline ThemediaInlinenode type works just likefileandlinktypes ofmedianodes, except that instead of being placed inside themediaGroupandmediaSingleblock nodes, they are used in places thatinline contentis permitted, such as within aparagraph.MediaInline.Partial.CanSetMediaType<T extends MediaInline.Partial.CanSetMediaType<T>> The media type of this partially constructedmediaInlinecan still be changed.MediaInline.Partial.NeedsId This partially constructedmediaInlinestill needs its mediaidattribute set.MediaSingle A container for exactly one media item, optionally followed by acaption.MediaSingle.Partial.NeedsMedia This partially constructedmediaSinglestill needs itsmediacontent set.Mention Represents a user mention.NestedExpand NodeParserSupport Used by the variouscontent nodesto process the other nodes that they contain.OrderedList A container forlist itemsthat produces a numbered list of them.Panel A container that highlights content as additional information, a warning, or the result of an action.Panel.Partial.NeedsPanelType This partially constructedpanelstill needs itspanelTypeattribute set.Paragraph A container for a block of formatted text delineated by a carriage return.Placeholder Provides placeholder text for something.Placeholder.Partial.NeedsText This partially constructedplaceholderstill needs itstextattribute set.RichMedia Copies this abstraction from@atlaskit/adf-schemato avoid copy/paste of the related enums.Rule Representing a divider, this is equivalent to an HTML<hr/>tag.Status This node defines a status lozenge, such as is shown for the workflow status of a Jira issue or for the/statusmacro in Confluence.Status.Partial.NeedsColor This partially constructedstatusstill needs itscolorattribute set.Status.Partial.NeedsText This partially constructedstatusstill needs itstextattribute set.Table A container for the nodes that define a table.TableCell A table cell within a table row.TableHeader A table cell within a table heading row.TableRow Defines rows within a table and is a container fortable headingandtable cellnodes.TaskItem Provides the content for one of the items in ataskList.TaskItem.Partial.NeedsLocalId This partially constructedtaskItemstill needs itslocalIdattribute set.TaskItem.Partial.NeedsLocalIdAndState This partially constructedtaskItemstill needs itslocalIdandstateattributes set (and this builder permits them to be set in either order).TaskItem.Partial.NeedsState This partially constructedtaskItemstill needs itsstateattribute set.TaskList Task lists provide lists that look much like abulletList, but there are differences in their visual representation.Text Holds document text. -
Enum Summary Enum Description DecisionItem.State Doc.Version ExtensionSettings.Layout Media.MediaType MediaInline.MediaType MediaSingle.WidthType Determines whether thewidthattribute should be interpreted as a percentage or pixel count.Mention.AccessLevel The well-knownaccessLevelenumerated values that were originally documented for mention nodes.Mention.UserType Panel.PanelType RichMedia.Layout Layout that determines how the media idea should be positioned in relation to the flow of other information on the page.Status.Color The color used for the status lozenge.Table.Layout TaskItem.State