| org.apache.lenya.cms.cocoon.selection.LastModSourceSelector
LastModSourceSelector | public class LastModSourceSelector extends AbstractLogEnabled implements ThreadSafe,Serviceable,Disposable,Selector(Code) | |
Last Modified Source Selector.
<map:selector name="last-mod" src="org.apache.lenya.cms.cocoon.selection.LastModSourceSelector"/>
<map:select type="last-mod">
<map:parameter name="compare-to" value="{sourceToCompareTo}"/>
<map:when test="cachedsource">
<!-- executes iff cachedsource last-modified > courceToCompareTo last-modified -->
<map:read src="{cachedsource}" mime-type="text/xml; charset=utf-8"/>
</map:when>
<map:otherwise>
<map:read src="{sourceToCompareTo}" mime-type="text/xml; charset=utf-8"/>
</map:otherwise>
</map:select>
|
Method Summary | |
public void | dispose() | public boolean | select(String expression, Map objectModel, Parameters parameters) | public void | service(ServiceManager manager) |
dispose | public void dispose()(Code) | | |
select | public boolean select(String expression, Map objectModel, Parameters parameters)(Code) | | |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | |
|
|