info.magnolia.module.rssaggregator.importhandler
Class FilterPredicateContentMapper

java.lang.Object
  extended by 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

Constructor Summary
FilterPredicateContentMapper()
           
 
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
 

Constructor Detail

FilterPredicateContentMapper

public FilterPredicateContentMapper()
Method Detail

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.