public interface Rendition extends RenditionData
Modifier and Type | Method and Description |
---|---|
ContentStream |
getContentStream()
Returns the content stream of the rendition.
|
String |
getContentUrl()
Returns the content URL of the rendition if the binding supports content
URLs.
|
long |
getHeight()
Returns the height in pixels if the rendition is an image.
|
long |
getLength()
Returns the size of the rendition in bytes if available.
|
Document |
getRenditionDocument()
Returns the rendition document if the rendition is a stand-alone
document.
|
Document |
getRenditionDocument(OperationContext context)
Returns the rendition document using the provides
OperationContext if the rendition is a stand-alone document. |
long |
getWidth()
Returns the width in pixels if the rendition is an image.
|
getBigHeight, getBigLength, getBigWidth, getKind, getMimeType, getRenditionDocumentId, getStreamId, getTitle
getExtensions, setExtensions
long getLength()
long getHeight()
long getWidth()
Document getRenditionDocument()
null
if there is no rendition
documentDocument getRenditionDocument(OperationContext context)
OperationContext
if the rendition is a stand-alone document.null
if there is no rendition
documentContentStream getContentStream()
null
if the
rendition has no contentString getContentUrl()
null
if the binding
does not support content URLsCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.