public class Sitemesh3CapturedPage extends java.lang.Object implements Content
A SiteMesh 3 Content implementation that is populated by the GSP capture taglib at render time. Because the capture taglib runs during GSP execution, there is no need for SiteMesh to parse the response body; the data is already chunked up.
Backed by an InMemoryContent so that SiteMesh content properties
can be traversed in the usual way (e.g. head, body, title, page.<name>, meta.<name>).
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
REQUEST_ATTRIBUTE |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
addContentBuffer(java.lang.String tag, StreamCharBuffer buffer) |
|
public void |
addProperty(java.lang.String name, java.lang.String value) |
|
public void |
close() |
|
public CharSequenceBuffer |
createDataOnlyBuffer() |
|
public void |
flush() |
|
public StreamCharBuffer |
getBodyBuffer() |
|
public ContentChunk |
getData() |
|
public ContentProperty |
getExtractedProperties() |
|
public StreamCharBuffer |
getHeadBuffer() |
|
public StreamCharBuffer |
getPageBuffer() |
|
public StreamCharBuffer |
getTitleBuffer() |
|
public boolean |
isTitleCaptured() |
|
public boolean |
isUsed() |
|
public void |
markUsed() |
|
public void |
setBodyBuffer(StreamCharBuffer buffer) |
|
public void |
setHeadBuffer(StreamCharBuffer buffer) |
|
public void |
setPageBuffer(StreamCharBuffer buffer) |
|
public void |
setRenderedContent(java.lang.CharSequence content) |
|
public void |
setTitleBuffer(StreamCharBuffer buffer) |
|
public void |
setTitleCaptured(boolean titleCaptured) |
|
public void |
write(char[] cbuf, int off, int len) |
|
public void |
writeOriginal(java.lang.Appendable out)Writes the full original page (unmerged) to the given appendable. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Writes the full original page (unmerged) to the given appendable. Used when decoration is skipped and the caller needs to fall back to the raw response.