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

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

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

XPath based filter that applies expressions upon the map key.


Constructor Summary
KeyXPathMapFilter(java.lang.String xpath)
          Public constructor with no nested filters
KeyXPathMapFilter(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

KeyXPathMapFilter

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

Parameters:
xpath - A not-null valid xpath expression

KeyXPathMapFilter

public KeyXPathMapFilter(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