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 java.lang.Object implements fr.paris.lutece.portal.service.content.ContentPostProcessor, org.springframework.beans.factory.InitializingBeanThis content post processor replace all macro of type @Extender[idResource,resourceType,extenderType,parameters]@ to the associated extender content.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_NAMEName of this bean
-
Constructor Summary
Constructors Constructor Description ExtendableContentPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()java.lang.StringgetName()java.lang.Stringprocess(javax.servlet.http.HttpServletRequest request, java.lang.String strContent)voidsetExtenderParameterRegexPattern(java.lang.String strExtenderParameterRegexPattern)Sets the regex pattern.voidsetRegexPattern(java.lang.String strRegexPattern)Sets the regex pattern.
-
-
-
Field Detail
-
BEAN_NAME
public static final java.lang.String BEAN_NAME
Name of this bean- See Also:
- Constant Field Values
-
-
Method Detail
-
setRegexPattern
public void setRegexPattern(java.lang.String strRegexPattern)
Sets the regex pattern.- Parameters:
strRegexPattern- the new regex pattern
-
setExtenderParameterRegexPattern
public void setExtenderParameterRegexPattern(java.lang.String strExtenderParameterRegexPattern)
Sets the regex pattern.- Parameters:
strExtenderParameterRegexPattern- the new regex pattern
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacefr.paris.lutece.portal.service.content.ContentPostProcessor
-
process
public java.lang.String process(javax.servlet.http.HttpServletRequest request, java.lang.String strContent)- Specified by:
processin interfacefr.paris.lutece.portal.service.content.ContentPostProcessor
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
-