Interface ContentModelElement
- All Superinterfaces:
ExtensibilityModelElement
- All Known Subinterfaces:
DeferredContentSourceModelElement,DeferredContentTargetModelElement,ValidatedContentModelElement
- All Known Implementing Classes:
DefaultContentModelElement,DiscardUnboundContentModelElementImpl,UnboundContentModelElementImpl
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionFlushes the content of the all the buffer elementsThis 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 Details
-
TYPE
- See Also:
-
-
Method Details
-
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
String flushContent()Flushes the content of the all the buffer elements
- Returns:
- A single String which is the output of all the buffer elements.
-