Class DiscardUnboundContentModelElementImpl

java.lang.Object
org.springframework.extensions.surf.extensibility.impl.ModelElementImpl
org.springframework.extensions.surf.extensibility.impl.DiscardUnboundContentModelElementImpl
All Implemented Interfaces:
ContentModelElement, ExtensibilityModelElement

public class DiscardUnboundContentModelElementImpl extends ModelElementImpl implements ContentModelElement

A ContentModelElement that despite accepting unbounded content (that is content not defined by an extensibility element) does not actually output it when flushed. This is added to the model during extension processing to ensure that unbounded extension content does not reach the output stream. This is important as the file content order of an extension does not define it's location in the output stream so all content must either be bounded by extensibility directives or will be ignored.

Author:
David Draper
  • Field Details

  • Constructor Details

    • DiscardUnboundContentModelElementImpl

      public DiscardUnboundContentModelElementImpl()
  • Method Details