Debian Codegraph @

net/sf/saxon/functions/StatefulSystemFunction.java

raw symbols SCIP
1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2018 Saxonica Limited.
3 // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4 // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
6 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7
8 package net.sf.saxon.functions;
9
10 public interface StatefulSystemFunction {
11
12 /**
13 * Make a copy of this SystemFunction. This is required only for system functions such as regex
14 * functions that maintain state on behalf of a particular caller.
15 *
16 * @return a copy of the system function able to contain its own copy of the state on behalf of
17 * the caller.
18 */
19
20 SystemFunction copy();
21 }
22