com.howardlewisship.tapx.templating
Interface RenderedStreamEnclosure

All Superinterfaces:
ContentStream

public interface RenderedStreamEnclosure
extends ContentStream

An enclosure to a RenderedStream.


Method Summary
 String getContentID()
          Returns the content id.
 
Methods inherited from interface com.howardlewisship.tapx.templating.ContentStream
getContentType, getSize, getStream
 

Method Detail

getContentID

String getContentID()
Returns the content id. The main body of the rendered stream may include references to this enclosure via URLs with the "cid:" protocol. Content id strings are assigned unpredictably, but the same resource, represented as an enclosure multiple times, will have the same content id (for any single rendering of a template).

Returns:
a content id string


Copyright © 2010. All Rights Reserved.