Package net.sf.saxon.functions
Class KeyFn.SubtreeFilter
- java.lang.Object
-
- net.sf.saxon.functions.KeyFn.SubtreeFilter
-
- All Implemented Interfaces:
ItemMappingFunction<NodeInfo,NodeInfo>
- Enclosing class:
- KeyFn
public static class KeyFn.SubtreeFilter extends Object implements ItemMappingFunction<NodeInfo,NodeInfo>
Mapping class to filter nodes that have the origin node as an ancestor-or-self
-
-
Constructor Summary
Constructors Constructor Description SubtreeFilter(NodeInfo origin)
-
-
-
Constructor Detail
-
SubtreeFilter
public SubtreeFilter(NodeInfo origin)
-
-
Method Detail
-
mapItem
public NodeInfo mapItem(NodeInfo item)
Description copied from interface:ItemMappingFunctionMap one item to another item.- Specified by:
mapItemin interfaceItemMappingFunction<NodeInfo,NodeInfo>- Parameters:
item- The input item to be mapped.- Returns:
- either the output item, or null.
-
-