public interface DocumentContainer extends ContentContainer
Modifier and Type | Method and Description |
---|---|
DocumentContainer |
changeDocumentContent(java.lang.Object content)
Returns a new component containing the supplied content.
|
getContent, getContentAsBinary, getContentAsUTF8, getContentFormat, getName, getTypeID, isEmpty, readContainer, writeContainer
DocumentContainer changeDocumentContent(java.lang.Object content)
ContentFormat.UTF8
or a byte array if the content format is ContentFormat.BINARY
.content
- the contentjava.lang.IllegalArgumentException
- if the supplied value is not consistent
with the component format.ContentFormat
,
ContentContainer.getContent()
,
ContentContainer.getContentFormat()
Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.