org.sitemesh.content.memory
Class InMemoryContent

java.lang.Object
  extended by org.sitemesh.content.memory.InMemoryContent
All Implemented Interfaces:
Content

public class InMemoryContent
extends Object
implements Content

Author:
Joe Walnes

Constructor Summary
InMemoryContent()
           
 
Method Summary
 CharSequenceBuffer createDataOnlyBuffer()
          Creates a buffer that will output it contents in Content.getData(), but NOT in the extracted properties from Content.getExtractedProperties().
 ContentChunk getData()
          The main data of the content - that is, the complete document.
 ContentProperty getExtractedProperties()
          Get a tree of extracted properties, that were captured by the ContentProcessor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryContent

public InMemoryContent()
Method Detail

getExtractedProperties

public ContentProperty getExtractedProperties()
Description copied from interface: Content
Get a tree of extracted properties, that were captured by the ContentProcessor.

Specified by:
getExtractedProperties in interface Content

getData

public ContentChunk getData()
Description copied from interface: Content
The main data of the content - that is, the complete document. This may have been rewritten by the ContentProcessor.

Specified by:
getData in interface Content

createDataOnlyBuffer

public CharSequenceBuffer createDataOnlyBuffer()
Description copied from interface: Content
Creates a buffer that will output it contents in Content.getData(), but NOT in the extracted properties from Content.getExtractedProperties().

Specified by:
createDataOnlyBuffer in interface Content


Copyright © 2011. All Rights Reserved.