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