net.sf.saxon.expr.StatefulMappingFunction Maven / Gradle / Ivy
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2015 Saxonica Limited.
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
// If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
// This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
package net.sf.saxon.expr;
import net.sf.saxon.om.Item;
/**
* MappingFunction is an interface that must be satisfied by an object passed to a
* MappingIterator. StatefulMappingFunction is a sub-interface representing a mapping
* function that maintains state information, and which must therefore be cloned
* when the mapping iterator is cloned.
*/
public interface StatefulMappingFunction {
/**
* Return a clone of this MappingFunction, with the state reset to its state at the beginning
* of the underlying iteration
*
* @return a clone of this MappingFunction
*/
public StatefulMappingFunction getAnother();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy