Class ExtendableContentPostProcessor

java.lang.Object
fr.paris.lutece.plugins.extend.service.content.ExtendableContentPostProcessor
All Implemented Interfaces:
fr.paris.lutece.portal.service.content.ContentPostProcessor, org.springframework.beans.factory.InitializingBean

public class ExtendableContentPostProcessor extends Object implements fr.paris.lutece.portal.service.content.ContentPostProcessor, org.springframework.beans.factory.InitializingBean
This content post processor replace all macro of type @Extender[idResource,resourceType,extenderType,parameters]@ to the associated extender content.
  • Field Details

  • Constructor Details

    • ExtendableContentPostProcessor

      public ExtendableContentPostProcessor()
  • 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(javax.servlet.http.HttpServletRequest request, String strContent)
      Specified by:
      process in interface fr.paris.lutece.portal.service.content.ContentPostProcessor
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception