com.atlassian.confluence.api.model.content
Class ContentBody

java.lang.Object
  extended by com.atlassian.confluence.api.model.content.FormattedBody
      extended by com.atlassian.confluence.api.model.content.ContentBody

@ExperimentalApi
public class ContentBody
extends FormattedBody


Constructor Summary
ContentBody(ContentRepresentation representation, String value)
           
ContentBody(ContentRepresentation representation, String value, Content content)
           
ContentBody(ContentRepresentation representation, String value, ContentId contentId)
           
ContentBody(ContentRepresentation representation, String value, Reference<Content> contentReference)
           
 
Method Summary
static ContentBody emptyBody(ContentRepresentation representation, Reference<Content> contentReference)
           
 Reference<Content> getContentRef()
           
 boolean hasExpandedContentRef()
           
 
Methods inherited from class com.atlassian.confluence.api.model.content.FormattedBody
getRepresentation, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentBody

public ContentBody(ContentRepresentation representation,
                   String value,
                   Reference<Content> contentReference)

ContentBody

public ContentBody(ContentRepresentation representation,
                   String value,
                   ContentId contentId)

ContentBody

public ContentBody(ContentRepresentation representation,
                   String value,
                   Content content)

ContentBody

public ContentBody(ContentRepresentation representation,
                   String value)
Method Detail

emptyBody

public static ContentBody emptyBody(ContentRepresentation representation,
                                    Reference<Content> contentReference)

getContentRef

public Reference<Content> getContentRef()

hasExpandedContentRef

public boolean hasExpandedContentRef()


Copyright © 2003–2015 Atlassian. All rights reserved.