Interface ContentModelElement
-
- All Superinterfaces:
ExtensibilityModelElement
- All Known Subinterfaces:
DeferredContentSourceModelElement,DeferredContentTargetModelElement,ValidatedContentModelElement
- All Known Implementing Classes:
DefaultContentModelElement,DiscardUnboundContentModelElementImpl,UnboundContentModelElementImpl
public interface ContentModelElement extends ExtensibilityModelElement
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringflushContent()Flushes the content of the all the buffer elementsExtensibilityContentgetNextContentBufferElement()This should be implemented to return the next buffer element to write to.-
Methods inherited from interface org.springframework.extensions.surf.extensibility.ExtensibilityModelElement
getDirectiveName, getId, getType
-
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNextContentBufferElement
ExtensibilityContent getNextContentBufferElement()
This should be implemented to return the next buffer element to write to. Depending upon the implementation this method could always return the same buffer element. The buffer element in this case should be an object that is and implementation of
ExtensibilityContent.- Returns:
- An
ExtensibilityContentobject to write to.
-
flushContent
java.lang.String flushContent()
Flushes the content of the all the buffer elements
- Returns:
- A single String which is the output of all the buffer elements.
-
-