Class InsertFragmentMetaTagPostProcessor

java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.output.freemarker.postprocessing.InsertFragmentMetaTagPostProcessor
All Implemented Interfaces:
PostProcessor

@Component public class InsertFragmentMetaTagPostProcessor extends Object implements PostProcessor
This post processor appends a meta tag named "fragment" to the document head. meta tag: <meta name="fragment" content="!"> This processor is registered with the id "insertFragmentMetaTag".
  • Field Details

  • Constructor Details

    • InsertFragmentMetaTagPostProcessor

      public InsertFragmentMetaTagPostProcessor(org.slf4j.Logger log)
  • Method Details

    • process

      public Document process(Document document)
      Description copied from interface: PostProcessor
      Process the HTML document.
      Specified by:
      process in interface PostProcessor
      Parameters:
      document - The HTML document after template processing.
      Returns:
      the new document.