Class ContentBody
- java.lang.Object
-
- com.atlassian.confluence.api.model.content.FormattedBody
-
- com.atlassian.confluence.api.model.content.ContentBody
-
@ExperimentalApi public class ContentBody extends FormattedBody
Container class to hold the various rendered representations of aContent
body.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContentBody.ContentBodyBuilder
-
Nested classes/interfaces inherited from class com.atlassian.confluence.api.model.content.FormattedBody
FormattedBody.BaseFormattedBodyBuilder<T extends FormattedBody.BaseFormattedBodyBuilder<T>>, FormattedBody.FormattedBodyBuilder
-
-
Constructor Summary
Constructors Constructor Description ContentBody(ContentBody.ContentBodyBuilder contentBodyBuilder)
ContentBody(ContentRepresentation representation, String value)
ContentBody(ContentRepresentation representation, String value, Content content)
Deprecated.since 5.9 , usecontentBodyBuilder()
ContentBody(ContentRepresentation representation, String value, ContentId contentId)
Deprecated.since 5.9 , usecontentBodyBuilder()
ContentBody(ContentRepresentation representation, String value, Reference<Content> contentReference)
Deprecated.since 5.9 , usecontentBodyBuilder()
ContentBody(ContentRepresentation representation, String value, Reference<Content> contentReference, Reference<WebResourceDependencies> webresource)
Deprecated.since 5.9 , usecontentBodyBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentBody.ContentBodyBuilder
contentBodyBuilder()
static ContentBody
emptyBody(ContentRepresentation representation, Reference<Content> contentReference)
Reference<Content>
getContentRef()
boolean
hasExpandedContentRef()
-
Methods inherited from class com.atlassian.confluence.api.model.content.FormattedBody
builder, getRepresentation, getValue, getWebresource
-
-
-
-
Constructor Detail
-
ContentBody
@Deprecated public ContentBody(ContentRepresentation representation, String value, Reference<Content> contentReference)
Deprecated.since 5.9 , usecontentBodyBuilder()
-
ContentBody
@Deprecated public ContentBody(ContentRepresentation representation, String value, Reference<Content> contentReference, Reference<WebResourceDependencies> webresource)
Deprecated.since 5.9 , usecontentBodyBuilder()
-
ContentBody
@Deprecated public ContentBody(ContentRepresentation representation, String value, ContentId contentId)
Deprecated.since 5.9 , usecontentBodyBuilder()
-
ContentBody
@Deprecated public ContentBody(ContentRepresentation representation, String value, Content content)
Deprecated.since 5.9 , usecontentBodyBuilder()
-
ContentBody
public ContentBody(ContentRepresentation representation, String value)
-
ContentBody
public ContentBody(ContentBody.ContentBodyBuilder contentBodyBuilder)
-
-
Method Detail
-
emptyBody
public static ContentBody emptyBody(ContentRepresentation representation, Reference<Content> contentReference)
-
contentBodyBuilder
public static ContentBody.ContentBodyBuilder contentBodyBuilder()
-
hasExpandedContentRef
public boolean hasExpandedContentRef()
-
-