net.sf.saxon.expr
Interface ItemMappingFunction<F extends Item,T extends Item>
- All Known Implementing Classes:
- AtomicSequenceConverter.AtomicSequenceMappingFunction, AtomicSequenceConverter.ToStringMappingFunction, AtomicSequenceMappingFunction, CompiledItemMappingFunction, EmptyTextNodeRemover, ForExpression.MappingAction, ForItemMappingAction, ItemTypeCheckingFunction, JavaExtensionFunctionCall.ConfigurationCheckingFunction, KeyFn.SubtreeFilter
public interface ItemMappingFunction<F extends Item,T extends Item>
ItemMappingFunction is an interface that must be satisfied by an object passed to a
ItemMappingIterator. It represents an object which, given an Item, can return either
another Item, or null.
The interface is generic, paramterized by F (from) the input item type, and T (to),
the output item type
Method Summary |
T |
mapItem(F item)
Map one item to another item. |
mapItem
T mapItem(F item)
throws XPathException
- Map one item to another item.
- Parameters:
item
- The input item to be mapped.
- Returns:
- either the output item, or null.
- Throws:
XPathException
- if a dynamic error occurs
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.