Class ExtendableContentPostProcessor

java.lang.Object
fr.paris.lutece.plugins.extend.service.content.ExtendableContentPostProcessor
All Implemented Interfaces:
fr.paris.lutece.portal.service.content.ContentPostProcessor

@ApplicationScoped @Named("extend.extendableContentPostProcessor") public class ExtendableContentPostProcessor extends Object implements fr.paris.lutece.portal.service.content.ContentPostProcessor
This content post processor replace all macro of type @Extender[idResource,resourceType,extenderType,parameters]@ to the associated extender content.
  • Field Details

  • Constructor Details

    • ExtendableContentPostProcessor

      @Inject public ExtendableContentPostProcessor(String strRegexPattern, String strExtenderParameterRegexPattern)
  • Method Details

    • setRegexPattern

      public void setRegexPattern(String strRegexPattern)
      Sets the regex pattern.
      Parameters:
      strRegexPattern - the new regex pattern
    • setExtenderParameterRegexPattern

      public void setExtenderParameterRegexPattern(String strExtenderParameterRegexPattern)
      Sets the regex pattern.
      Parameters:
      strExtenderParameterRegexPattern - the new regex pattern
    • getName

      public String getName()
      Specified by:
      getName in interface fr.paris.lutece.portal.service.content.ContentPostProcessor
    • process

      public String process(jakarta.servlet.http.HttpServletRequest request, String strContent)
      Specified by:
      process in interface fr.paris.lutece.portal.service.content.ContentPostProcessor