fr.paris.lutece.plugins.extend.service.content
Class ExtendableContentPostProcessor

java.lang.Object
  extended by 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 Summary
static String BEAN_NAME
          Name of this bean
 
Constructor Summary
ExtendableContentPostProcessor()
           
 
Method Summary
 void afterPropertiesSet()
          
 String getName()
          
 String process(javax.servlet.http.HttpServletRequest request, String strContent)
          
 void setExtenderParameterRegexPattern(String strExtenderParameterRegexPattern)
          Sets the regex pattern.
 void setRegexPattern(String strRegexPattern)
          Sets the regex pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_NAME

public static final String BEAN_NAME
Name of this bean

See Also:
Constant Field Values
Constructor Detail

ExtendableContentPostProcessor

public ExtendableContentPostProcessor()
Method Detail

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.