fr.paris.lutece.plugins.extend.service.content
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.InitializingBean
This content post processor replace all macro of type @Extender[idResource,resourceType,extenderType,parameters]@
to the associated extender content.
|
Method Summary |
void |
afterPropertiesSet()
|
java.lang.String |
getName()
|
java.lang.String |
process(javax.servlet.http.HttpServletRequest request,
java.lang.String strContent)
|
void |
setRegexPattern(java.lang.String strRegexPattern)
Sets the regex pattern. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendableContentPostProcessor
public ExtendableContentPostProcessor()
setRegexPattern
public void setRegexPattern(java.lang.String strRegexPattern)
- Sets the regex pattern.
- Parameters:
strRegexPattern - the new regex pattern
getName
public java.lang.String getName()
-
- Specified by:
getName in interface fr.paris.lutece.portal.service.content.ContentPostProcessor
process
public java.lang.String process(javax.servlet.http.HttpServletRequest request,
java.lang.String strContent)
-
- Specified by:
process in interface fr.paris.lutece.portal.service.content.ContentPostProcessor
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
-
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
Copyright © 2012 Mairie de Paris. All Rights Reserved.