public SequenceIterator getAnother() { // System.err.println(this + " getAnother() "); AxisIterator newBase = (AxisIterator)base.getAnother(); return new AxisAtomizingIterator(newBase); }
public SequenceIterator getAnother() { // System.err.println(this + " getAnother() "); AxisIterator newBase = (AxisIterator)base.getAnother(); AxisAtomizingIterator m = new AxisAtomizingIterator(newBase); return m; }
/** * Get an iterator that returns the result of atomizing the sequence delivered by the supplied * iterator * @param base the supplied iterator, the input to atomization * @return an iterator that returns atomic values, the result of the atomization */ public static SequenceIterator getAtomizingIterator(SequenceIterator base) { if (base instanceof AxisIterator) { return new AxisAtomizingIterator((AxisIterator)base); } return new MappingIterator(base, AtomizingFunction.getInstance()); }
/** * Get an iterator that returns the result of atomizing the sequence delivered by the supplied * iterator * @param base the supplied iterator, the input to atomization * @return an iterator that returns atomic values, the result of the atomization */ public static SequenceIterator getAtomizingIterator(SequenceIterator base) { if (base instanceof AxisIterator) { return new AxisAtomizingIterator((AxisIterator)base); } return new MappingIterator(base, AtomizingFunction.getInstance()); }
/** * Get an iterator that returns the result of atomizing the sequence delivered by the supplied * iterator * @param base the supplied iterator, the input to atomization * @return an iterator that returns atomic values, the result of the atomization */ public static SequenceIterator getAtomizingIterator(SequenceIterator base) { if (base instanceof AxisIterator) { return new AxisAtomizingIterator((AxisIterator)base); } return new MappingIterator(base, AtomizingFunction.getInstance()); }
return new AxisAtomizingIterator((AtomizedValueIterator)base);
return new AxisAtomizingIterator((AtomizedValueIterator)base);