public static class Atomizer.AtomizingFunction extends Object implements MappingFunction
Modifier and Type | Method and Description |
---|---|
static SequenceIterator |
getAtomizingIterator(SequenceIterator base) |
static Atomizer.AtomizingFunction |
getInstance()
Get the singleton instance
|
Object |
map(Item item,
XPathContext context)
Map one item to a sequence.
|
public static Atomizer.AtomizingFunction getInstance()
public static SequenceIterator getAtomizingIterator(SequenceIterator base)
public Object map(Item item, XPathContext context) throws XPathException
MappingFunction
map
in interface MappingFunction
item
- The item to be mapped.
If context is supplied, this must be the same as context.currentItem().context
- The processing context. Some mapping functions use this because they require
context information. Some mapping functions modify the context by maintaining the context item
and position. In other cases, the context may be null.XPathException