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

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

@ExperimentalApi
public class ContentBody
extends java.lang.Object


Constructor Summary
ContentBody(ContentRepresentation representation, java.lang.String value)
           
ContentBody(ContentRepresentation representation, java.lang.String value, Reference<Content> contentReference)
           
ContentBody(ContentRepresentation representation, java.lang.String value, java.lang.String contentId)
           
 
Method Summary
static ContentBody emptyBody(ContentRepresentation representation, Reference<Content> contentReference)
           
 Reference<Content> getContentRef()
           
 ContentRepresentation getRepresentation()
           
 java.lang.String 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,
                   java.lang.String value,
                   Reference<Content> contentReference)

ContentBody

public ContentBody(ContentRepresentation representation,
                   java.lang.String value,
                   java.lang.String contentId)

ContentBody

public ContentBody(ContentRepresentation representation,
                   java.lang.String value)
Method Detail

emptyBody

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

getRepresentation

public ContentRepresentation getRepresentation()

getValue

public java.lang.String getValue()

getContentRef

public Reference<Content> getContentRef()


Copyright © 2003-2014 Atlassian. All Rights Reserved.