com.acsinet_solutions.util.expr
Class ValueXPathMapFilter<K,V>

java.lang.Object
  extended by com.acsinet_solutions.util.expr.XPathMapFilter<K,V>
      extended by com.acsinet_solutions.util.expr.ValueXPathMapFilter<K,V>
All Implemented Interfaces:
MapFilter<K,V>

public final class ValueXPathMapFilter<K,V>
extends XPathMapFilter<K,V>

XPath based filter that applies expressions upon the map value.


Constructor Summary
ValueXPathMapFilter(java.lang.String xpath)
          Public constructor with no nested filters
ValueXPathMapFilter(java.lang.String xpath, MapFilter<K,V> nestedFilter)
          Public constructor
 
Method Summary
 java.lang.Object getBean(java.util.Map.Entry<K,V> entry)
          This abstract method will be redefined by the inner classes returned by this class' factory methods
 
Methods inherited from class com.acsinet_solutions.util.expr.XPathMapFilter
getFilteredMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueXPathMapFilter

public ValueXPathMapFilter(java.lang.String xpath)
Public constructor with no nested filters

Parameters:
xpath - A not-null valid xpath expression

ValueXPathMapFilter

public ValueXPathMapFilter(java.lang.String xpath,
                           MapFilter<K,V> nestedFilter)
Public constructor

Parameters:
xpath - A not-null valid xpath expression
nestedFilter - A not-null filter to be applied before the current one.
Method Detail

getBean

public final java.lang.Object getBean(java.util.Map.Entry<K,V> entry)
Description copied from class: XPathMapFilter
This abstract method will be redefined by the inner classes returned by this class' factory methods

Specified by:
getBean in class XPathMapFilter<K,V>
Parameters:
entry - A not-null Map.Entry instance
Returns:
Object The object that will be evaluated