info.magnolia.module.rssaggregator.importhandler
Class FilterPredicateContentMapper
java.lang.Object
info.magnolia.module.rssaggregator.importhandler.FilterPredicateContentMapper
- All Implemented Interfaces:
- ContentMapper<FilterPredicate>
public class FilterPredicateContentMapper
- extends Object
- implements ContentMapper<FilterPredicate>
Maps a content node representing a FilterPredicate
to a FilterPredicate.
- Author:
- Rob van der Linden Vooren
Method Summary |
FilterPredicate |
map(javax.jcr.Node filterNode)
Map a content node representing a FilterPredicate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterPredicateContentMapper
public FilterPredicateContentMapper()
map
public FilterPredicate map(javax.jcr.Node filterNode)
- Map a content node representing a FilterPredicate. Will return
null
if are properties
- Specified by:
map
in interface ContentMapper<FilterPredicate>
- Parameters:
filterNode
- the content node to map to a FilterPredicate
- Returns:
- the FilterPredicate built from the given content node, or
null
if one of the properties
(condition, property, regex) are is blank.
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.