|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.util.expr.XPathMapFilter<K,V>
public abstract class XPathMapFilter<K,V>
XPath based map filter. Applies an XPath expression to each value in the map to perform the filtering
| Constructor Summary | |
|---|---|
protected |
XPathMapFilter(java.lang.String xpath)
Public constructor |
protected |
XPathMapFilter(java.lang.String xpath,
MapFilter<K,V> nestedFilter)
Public constructor |
| Method Summary | |
|---|---|
abstract 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 |
java.util.Map<K,V> |
getFilteredMap(java.util.Map<K,V> original)
Get a filtered version of the original provided Map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected XPathMapFilter(java.lang.String xpath,
MapFilter<K,V> nestedFilter)
xpath - A not-null valid xpath expressionnestedFilter - A not-null filter to be applied before the
current one.protected XPathMapFilter(java.lang.String xpath)
xpath - A not-null valid xpath expression| Method Detail |
|---|
public final java.util.Map<K,V> getFilteredMap(java.util.Map<K,V> original)
MapFilter
getFilteredMap in interface MapFilter<K,V>original - A not-null maybe-empty Map instancepublic abstract java.lang.Object getBean(java.util.Map.Entry<K,V> entry)
entry - A not-null Map.Entry instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||