summaryrefslogtreecommitdiff
path: root/support/texplate/source/main/java/org/islandoftex/texplate/model/handlers/Handler.java
blob: 721224a97811796d914139bb52e2d4234a7ffb19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: BSD-3-Clause
package org.islandoftex.texplate.model.handlers;

/**
 * Interface for handlers.
 *
 * @version 1.0
 * @since 1.0
 */
public interface Handler {

    /**
     * Apply the handler in the string.
     *
     * @param string The string.
     * @return The resulting object.
     */
    Object apply(String string);

}