Class ContentBody
java.lang.Object
com.atlassian.confluence.api.model.content.FormattedBody
com.atlassian.confluence.api.model.content.ContentBody
Container class to hold the various rendered representations of a
Content
body.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.atlassian.confluence.api.model.content.FormattedBody
FormattedBody.BaseFormattedBodyBuilder<T extends FormattedBody.BaseFormattedBodyBuilder<T>>, FormattedBody.FormattedBodyBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionContentBody
(ContentBody.ContentBodyBuilder contentBodyBuilder) ContentBody
(ContentRepresentation representation, String value) ContentBody
(ContentRepresentation representation, String value, Content content) Deprecated.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
Modifier and TypeMethodDescriptionstatic ContentBody
emptyBody
(ContentRepresentation representation, Reference<Content> contentReference) boolean
Methods inherited from class com.atlassian.confluence.api.model.content.FormattedBody
builder, getRepresentation, getValue, getWebresource
-
Constructor Details
-
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.since 5.9 , usecontentBodyBuilder()
-
ContentBody
-
ContentBody
-
-
Method Details
-
emptyBody
public static ContentBody emptyBody(ContentRepresentation representation, Reference<Content> contentReference) -
-
getContentRef
-
hasExpandedContentRef
public boolean hasExpandedContentRef()
-
contentBodyBuilder()