Package net.sf.saxon.expr
Class Atomizer.AtomizingFunction
- java.lang.Object
-
- net.sf.saxon.expr.Atomizer.AtomizingFunction
-
- All Implemented Interfaces:
MappingFunction
- Enclosing class:
- Atomizer
public static class Atomizer.AtomizingFunction extends java.lang.Object implements MappingFunction
Implement the mapping function. This is stateless, so there is a singleton instance.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SequenceIterator
getAtomizingIterator(SequenceIterator base)
static Atomizer.AtomizingFunction
getInstance()
Get the singleton instancejava.lang.Object
map(Item item)
Map one item to a sequence.
-
-
-
Method Detail
-
getInstance
public static Atomizer.AtomizingFunction getInstance()
Get the singleton instance- Returns:
- the singleton instance of this mapping function
-
getAtomizingIterator
public static SequenceIterator getAtomizingIterator(SequenceIterator base)
-
map
public java.lang.Object map(Item item) throws XPathException
Description copied from interface:MappingFunction
Map one item to a sequence.- Specified by:
map
in interfaceMappingFunction
- Parameters:
item
- The item to be mapped.- Returns:
- one of the following: (a) a SequenceIterator over the sequence of items that the supplied input item maps to, or (b) an Item if it maps to a single item, or (c) null if it maps to an empty sequence.
- Throws:
XPathException
-
-